Property | Type | Description | |
---|---|---|---|
BuildConnectionSettingsOverride | string | ||
CreateConnection | System.Data.OleDb.OleDbConnection | ||
CreateConnectionAsync | Task |
||
Execute | int? | ||
GetEffectiveSettings | |||
GetEffectiveSettingsAsync | Task |
||
IRootDataSource | |||
IRootDataSource | IOpenDataSource | ||
IRootDataSource | ITransactionalDataSource | ||
IRootDataSource | Task |
||
IRootDataSource | Task |
||
OleDbSqlServerDataSource | System |
Method | Description | |
---|---|---|
BeginTransaction ( string transactionName = null, IsolationLevel isolationLevel = null, bool forwardEvents = true ) : OleDbSqlServerTransactionalDataSource |
Creates a new transaction the caller of this function is responsible for closing the transaction. |
|
BeginTransactionAsync ( string transactionName = null, IsolationLevel isolationLevel = null, bool forwardEvents = true ) : Task |
Creates a new transaction
|
|
CreateFromConfig ( string connectionName ) : |
Creates a new connection using the connection string settings in the app.config file.
|
|
OleDbSqlServerDataSource ( System.Data.OleDb.OleDbConnectionStringBuilder connectionStringBuilder, |
Initializes a new instance of the OleDbSqlServerDataSource class.
|
|
OleDbSqlServerDataSource ( string name, System.Data.OleDb.OleDbConnectionStringBuilder connectionStringBuilder, |
Initializes a new instance of the SqlServerDataSource class.
|
|
OleDbSqlServerDataSource ( string connectionString, |
Initializes a new instance of the SqlServerDataSource class.
|
|
OleDbSqlServerDataSource ( string name, string connectionString, |
Initializes a new instance of the OleDbSqlServerDataSource 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 ( OleDbTransaction>.OperationExecutionToken |
Executes the specified operation.
|
|
ExecuteAsync ( OleDbParameter>.CommandExecutionToken |
Execute the operation asynchronously.
|
|
ExecuteAsync ( OleDbTransaction>.OperationExecutionToken |
Execute the operation asynchronously.
|
Method | Description | |
---|---|---|
BuildConnectionSettingsOverride ( ) : string | ||
CreateConnection ( ) : System.Data.OleDb.OleDbConnection | ||
CreateConnectionAsync ( |
Creates and opens a SQL connection. The caller of this method is responsible for closing the connection. |
|
Execute ( OleDbParameter>.CommandExecutionToken |
||
GetEffectiveSettings ( ) : |
||
GetEffectiveSettingsAsync ( ) : Task |
||
IRootDataSource ( ) : |
||
IRootDataSource ( |
||
IRootDataSource ( ) : ITransactionalDataSource | ||
IRootDataSource ( ) : Task |
||
IRootDataSource ( ) : Task |
||
OleDbSqlServerDataSource ( string name, System.Data.OleDb.OleDbConnectionStringBuilder connectionStringBuilder, |
public BeginTransaction ( string transactionName = null, IsolationLevel isolationLevel = null, bool forwardEvents = true ) : OleDbSqlServerTransactionalDataSource | ||
transactionName | string | optional name of the transaction. |
isolationLevel | IsolationLevel | the isolation level. if not supplied, will use the database default. |
forwardEvents | bool | if true, logging events are forwarded to the parent connection. |
return | OleDbSqlServerTransactionalDataSource |
public BeginTransactionAsync ( string transactionName = null, IsolationLevel isolationLevel = null, bool forwardEvents = true ) : Task |
||
transactionName | string | Name of the transaction. |
isolationLevel | IsolationLevel | The isolation level. |
forwardEvents | bool | if set to |
return | Task |
public static CreateFromConfig ( string connectionName ) : |
||
connectionName | string | |
return |
protected Execute ( OleDbTransaction>.OperationExecutionToken |
||
executionToken | OleDbTransaction>.OperationExecutionToken | The execution token. |
implementation | OleDbTransaction>.OperationImplementation | The implementation. |
state | object | The state. |
return | int? |
protected ExecuteAsync ( OleDbParameter>.CommandExecutionToken |
||
executionToken | OleDbParameter>.CommandExecutionToken | The execution token. |
implementation | CommandImplementationAsync |
The implementation that handles processing the result of the command. |
cancellationToken | The cancellation token. | |
state | object | User supplied state. |
return | Task |
protected ExecuteAsync ( OleDbTransaction>.OperationExecutionToken |
||
executionToken | OleDbTransaction>.OperationExecutionToken | The execution token. |
implementation | OleDbTransaction>.OperationImplementationAsync | The implementation. |
cancellationToken | The cancellation token. | |
state | object | The state. |
return | Task |
public OleDbSqlServerDataSource ( System.Data.OleDb.OleDbConnectionStringBuilder connectionStringBuilder, |
||
connectionStringBuilder | System.Data.OleDb.OleDbConnectionStringBuilder | The connection string builder. |
settings | Optional settings object. | |
return | System |
public OleDbSqlServerDataSource ( string name, System.Data.OleDb.OleDbConnectionStringBuilder connectionStringBuilder, |
||
name | string | Optional name of the data source. |
connectionStringBuilder | System.Data.OleDb.OleDbConnectionStringBuilder | The connection string builder. |
settings | Optional settings object. | |
return | System |
public OleDbSqlServerDataSource ( string connectionString, |
||
connectionString | string | The connection string. |
settings | Optional settings object. | |
return | System |
public OleDbSqlServerDataSource ( string name, string connectionString, |
||
name | string | 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 ( ) : |
||
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 |