Свойство | Тип | Описание | |
---|---|---|---|
connString | string | ||
host | IHostV30 |
Метод | Описание | |
---|---|---|
Init ( IHostV30 host, string config ) : void |
Initializes the Storage Provider.
|
|
Shutdown ( ) : void |
Method invoked on shutdown. This method might not be invoked in some cases. |
Метод | Описание | |
---|---|---|
CreateOrUpdateDatabaseIfNecessary ( ) : void |
Creates or updates the database schema if necessary.
|
|
GetCommandBuilder ( ) : ICommandBuilder |
Gets a new command builder object.
|
|
LogException ( |
Logs an exception.
|
|
TryLoadSettingsStorageProviderConfiguration ( ) : string |
Tries to load the configuration of the corresponding settings storage provider.
|
|
TryLoadV2Configuration ( ) : string |
Tries to load the configuration from a corresponding v2 provider.
|
|
ValidateConnectionString ( string connString ) : void |
Validates a connection string. If the connection string is invalid, the method throws T:InvalidConfigurationException. |
protected abstract CreateOrUpdateDatabaseIfNecessary ( ) : void | ||
Результат | void |
protected abstract GetCommandBuilder ( ) : ICommandBuilder | ||
Результат | ICommandBuilder |
public Init ( IHostV30 host, string config ) : void | ||
host | IHostV30 | The Host of the Component. |
config | string | The Configuration data, if any. |
Результат | void |
protected LogException ( |
||
ex | The exception. | |
Результат | void |
protected abstract TryLoadSettingsStorageProviderConfiguration ( ) : string | ||
Результат | string |
protected abstract TryLoadV2Configuration ( ) : string | ||
Результат | string |
protected abstract ValidateConnectionString ( string connString ) : void | ||
connString | string | The connection string to validate. |
Результат | void |