Appearance
IDatabaseConfig Interface
Definition
Defines a Connection configuration
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Properties
| Name | Description |
|---|---|
ConnectParameters | Additional connection parameters to append to generated connection string |
Credentials | Provides authentication credentials for the database connection |
DatabaseName | The Name of the connected database |
DatabaseType | Specifies the type of database being connected to |
Logging | Logging configuration for a database connection |
Port | Network port for the server |
ProviderOptions | Provider-specific connection policy (for example PostgreSqlConnectionOptions). |
Server | Hostname for the database server |
Methods
| Name | Description |
|---|---|
IDatabaseConfig Copy() | Create a deep copy of the IDbConfig implementation class |
void SetCredentials(ICredentialProvider credentials) | Set the Credentials provider |