Interface IDBConnectionChecker
- Namespace
- GroupeIsa.Neos.Shared.Persistence
- Assembly
- GroupeIsa.Neos.Shared.dll
Database connection checker.
public interface IDBConnectionChecker
Methods
CanConnect(DatabaseType, string)
Checks whether a connection can be established with the specified database.
bool CanConnect(DatabaseType databaseType, string connectionString)
Parameters
databaseType
DatabaseTypeThe database server type (Only supported : SqlServer, PostgreSQL, Oracle).
connectionString
stringThe connection string to use.
Returns
- bool
A value indicating whether the connection can be established.