Property | Type | Description | |
---|---|---|---|
CreateConnection | Microsoft.Data.Sqlite.SqliteConnection | ||
CreateConnectionAsync | Task |
||
Execute | int? | ||
IRootDataSource | |||
IRootDataSource | IOpenDataSource | ||
IRootDataSource | ITransactionalDataSource | ||
IRootDataSource | Task |
||
IRootDataSource | Task |
||
SQLiteDataSource | System |
Method | Description | |
---|---|---|
BeginTransaction ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : SQLiteTransactionalDataSource |
Creates a new transaction. The caller of this method is responsible for closing the transaction. |
|
BeginTransactionAsync ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : Task |
Creates a new transaction. The caller of this method is responsible for closing the transaction. |
|
CreateFromConfig ( string connectionName ) : |
Creates a new connection using the connection string in the app.config file.
|
|
SQLiteDataSource ( Microsoft.Data.Sqlite.SqliteConnectionStringBuilder connectionStringBuilder, |
Initializes a new instance of the SQLiteDataSource class.
|
|
SQLiteDataSource ( string name, Microsoft.Data.Sqlite.SqliteConnectionStringBuilder connectionStringBuilder, |
Initializes a new instance of the SQLiteDataSource class.
|
|
SQLiteDataSource ( string connectionString, |
Initializes a new instance of the SQLiteDataSource class.
|
|
SQLiteDataSource ( string name, string connectionString, |
Initializes a new instance of the SQLiteDataSource class.
|
|
TestConnection ( ) : void |
Tests the connection.
|
|
TestConnectionAsync ( ) : Task |
Tests the connection asynchronously.
|
|
WithCache ( ICacheAdapter cache ) : |
Craetes a new data source with the provided cache.
|
|
WithRules ( ) : |
Creates a new data source with additional audit rules.
|
|
WithRules ( IEnumerable |
Creates a new data source with additional audit rules.
|
|
WithSettings ( |
Creates a new data source with the indicated changes to the settings. The new data source will share the same database metadata cache. |
|
WithUser ( object userValue ) : |
Creates a new data source with the indicated user. This is used in conjunction with audit rules. |
Method | Description | |
---|---|---|
Execute ( SQLiteTransaction>.OperationExecutionToken |
Executes the specified operation.
|
|
ExecuteAsync ( SQLiteParameter>.CommandExecutionToken |
Executes the specified operation asynchronously.
|
|
ExecuteAsync ( SQLiteTransaction>.OperationExecutionToken |
execute as an asynchronous operation.
|
Method | Description | |
---|---|---|
CreateConnection ( ) : Microsoft.Data.Sqlite.SqliteConnection | ||
CreateConnectionAsync ( |
||
Execute ( SQLiteParameter>.CommandExecutionToken |
||
IRootDataSource ( ) : |
||
IRootDataSource ( |
||
IRootDataSource ( ) : ITransactionalDataSource | ||
IRootDataSource ( ) : Task |
||
IRootDataSource ( ) : Task |
||
SQLiteDataSource ( string name, Microsoft.Data.Sqlite.SqliteConnectionStringBuilder connectionStringBuilder, |
public BeginTransaction ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : SQLiteTransactionalDataSource | ||
isolationLevel | IsolationLevel | |
forwardEvents | bool | |
return | SQLiteTransactionalDataSource |
public BeginTransactionAsync ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : Task |
||
isolationLevel | IsolationLevel | |
forwardEvents | bool | |
return | Task |
public static CreateFromConfig ( string connectionName ) : |
||
connectionName | string | |
return |
protected Execute ( SQLiteTransaction>.OperationExecutionToken |
||
executionToken | SQLiteTransaction>.OperationExecutionToken | The execution token. |
implementation | SQLiteTransaction>.OperationImplementation | The implementation. |
state | object | The state. |
return | int? |
protected ExecuteAsync ( SQLiteParameter>.CommandExecutionToken |
||
executionToken | SQLiteParameter>.CommandExecutionToken | |
implementation | CommandImplementationAsync |
|
cancellationToken | ||
state | object | |
return | Task |
protected ExecuteAsync ( SQLiteTransaction>.OperationExecutionToken |
||
executionToken | SQLiteTransaction>.OperationExecutionToken | The execution token. |
implementation | SQLiteTransaction>.OperationImplementationAsync | The implementation. |
cancellationToken | The cancellation token. | |
state | object | The state. |
return | Task |
public SQLiteDataSource ( Microsoft.Data.Sqlite.SqliteConnectionStringBuilder connectionStringBuilder, |
||
connectionStringBuilder | Microsoft.Data.Sqlite.SqliteConnectionStringBuilder | |
settings | Optional settings object. | |
return | System |
public SQLiteDataSource ( string name, Microsoft.Data.Sqlite.SqliteConnectionStringBuilder connectionStringBuilder, |
||
name | string | The name of the data source. |
connectionStringBuilder | Microsoft.Data.Sqlite.SqliteConnectionStringBuilder | The connection string builder. |
settings | Optional settings object. | |
return | System |
public SQLiteDataSource ( string connectionString, |
||
connectionString | string | |
settings | Optional settings object. | |
return | System |
public SQLiteDataSource ( string name, string connectionString, |
||
name | string | The name of the data source. |
connectionString | string | The connection string. |
settings | Optional settings object. | |
return | System |
public WithCache ( ICacheAdapter cache ) : |
||
cache | ICacheAdapter | The cache. |
return |
public WithRules ( IEnumerable |
||
additionalRules | IEnumerable |
The additional rules. |
return |
public WithSettings ( |
||
settings | The new settings to use. | |
return |
public WithUser ( object userValue ) : |
||
userValue | object | The user value. |
return |