Property | Type | Description | |
---|---|---|---|
CreateConnection | |||
CreateConnectionAsync | Task |
||
IRootDataSource | |||
IRootDataSource | IOpenDataSource | ||
IRootDataSource | ITransactionalDataSource | ||
IRootDataSource | Task |
||
IRootDataSource | Task |
||
PostgreSqlDataSource | Npgsql | ||
WithSettings |
Method | Description | |
---|---|---|
BeginTransaction ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : PostgreSqlTransactionalDataSource |
Begins the transaction.
|
|
BeginTransactionAsync ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : Task |
Begins the transaction.
|
|
CreateFromConfig ( string connectionName ) : |
Creates a new connection using the connection string in the app.config file.
|
|
PostgreSqlDataSource ( |
Initializes a new instance of the PostgreSqlDataSource class.
|
|
PostgreSqlDataSource ( string name, |
Initializes a new instance of the PostgreSqlDataSource class.
|
|
PostgreSqlDataSource ( string connectionString, PostgreSqlDataSourceSettings settings = null ) : Npgsql |
Initializes a new instance of the PostgreSqlDataSource class.
|
|
PostgreSqlDataSource ( string name, string connectionString, PostgreSqlDataSourceSettings settings = null ) : Npgsql |
Initializes a new instance of the PostgreSqlDataSource 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.
|
|
WithUser ( object userValue ) : |
Creates a new data source with the indicated user. This is used in conjunction with audit rules. |
Method | Description | |
---|---|---|
Execute ( NpgsqlParameter>.CommandExecutionToken |
Executes the specified operation.
|
|
Execute ( NpgsqlTransaction>.OperationExecutionToken |
Executes the specified operation.
|
|
ExecuteAsync ( NpgsqlParameter>.CommandExecutionToken |
execute as an asynchronous operation.
|
|
ExecuteAsync ( NpgsqlTransaction>.OperationExecutionToken |
execute as an asynchronous operation.
|
Method | Description | |
---|---|---|
CreateConnection ( ) : |
||
CreateConnectionAsync ( |
||
IRootDataSource ( ) : |
||
IRootDataSource ( |
||
IRootDataSource ( ) : ITransactionalDataSource | ||
IRootDataSource ( ) : Task |
||
IRootDataSource ( ) : Task |
||
PostgreSqlDataSource ( string name, |
||
WithSettings ( PostgreSqlDataSourceSettings settings ) : |
public BeginTransaction ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : PostgreSqlTransactionalDataSource | ||
isolationLevel | IsolationLevel | The isolation level. |
forwardEvents | bool | if set to |
return | PostgreSqlTransactionalDataSource |
public BeginTransactionAsync ( IsolationLevel isolationLevel = null, bool forwardEvents = true ) : Task |
||
isolationLevel | IsolationLevel | The isolation level. |
forwardEvents | bool | if set to |
return | Task |
public static CreateFromConfig ( string connectionName ) : |
||
connectionName | string | |
return |
protected Execute ( NpgsqlParameter>.CommandExecutionToken |
||
executionToken | NpgsqlParameter>.CommandExecutionToken | The execution token. |
implementation | CommandImplementation |
The implementation that handles processing the result of the command. |
state | object | User supplied state. |
return | int? |
protected Execute ( NpgsqlTransaction>.OperationExecutionToken |
||
executionToken | NpgsqlTransaction>.OperationExecutionToken | The execution token. |
implementation | NpgsqlTransaction>.OperationImplementation | The implementation. |
state | object | The state. |
return | int? |
protected ExecuteAsync ( NpgsqlParameter>.CommandExecutionToken |
||
executionToken | NpgsqlParameter>.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 ( NpgsqlTransaction>.OperationExecutionToken |
||
executionToken | NpgsqlTransaction>.OperationExecutionToken | The execution token. |
implementation | NpgsqlTransaction>.OperationImplementationAsync | The implementation. |
cancellationToken | The cancellation token. | |
state | object | The state. |
return | Task |
public PostgreSqlDataSource ( |
||
connectionBuilder | The connection builder. | |
settings | PostgreSqlDataSourceSettings | The settings. |
return | Npgsql |
public PostgreSqlDataSource ( string name, |
||
name | string | The name. |
connectionBuilder | The connection builder. | |
settings | PostgreSqlDataSourceSettings | The settings. |
return | Npgsql |
public PostgreSqlDataSource ( string connectionString, PostgreSqlDataSourceSettings settings = null ) : Npgsql | ||
connectionString | string | The connection string. |
settings | PostgreSqlDataSourceSettings | The settings. |
return | Npgsql |
public PostgreSqlDataSource ( string name, string connectionString, PostgreSqlDataSourceSettings settings = null ) : Npgsql | ||
name | string | The name. |
connectionString | string | The connection string. |
settings | PostgreSqlDataSourceSettings | The settings. |
return | Npgsql |
public WithCache ( ICacheAdapter cache ) : |
||
cache | ICacheAdapter | The cache. |
return |
public WithRules ( IEnumerable |
||
additionalRules | IEnumerable |
The additional rules. |
return |
public WithUser ( object userValue ) : |
||
userValue | object | The user value. |
return |