Flexberry ORM 8.0.0-beta01
|
Обёртка над IDbConnection и IDbTransaction. Подробнее...
Открытые члены | |
DbTransactionWrapper (SQLDataService dataService) | |
Initializes instance of DbTransactionWrapper. Подробнее... | |
DbTransactionWrapper (IDbConnection connection, IDbTransaction transaction=null) | |
Initializes a new instance of the DbTransactionWrapper class by IDbConnection and IDbTransaction. Подробнее... | |
virtual IDbCommand | CreateCommand (string sql=null) |
Creates and returns a Command object associated with the connection. Подробнее... | |
virtual void | CommitTransaction () |
Commits the database transaction. FYI: does nothing if the transaction has not begun. Подробнее... | |
virtual void | RollbackTransaction () |
Rolls back a transaction from a pending state. FYI: does nothing if the transaction has not begun. Подробнее... | |
virtual void | Dispose () |
Свойства | |
IDbConnection | Connection [get] |
An object representing an open connection to a data source. Подробнее... | |
IDbTransaction | Transaction [get] |
An object representing the transaction. Подробнее... | |
Обёртка над IDbConnection и IDbTransaction.
|
inline |
Initializes instance of DbTransactionWrapper.
dataService | The instance of SQLDataService class. |
|
inline |
Initializes a new instance of the DbTransactionWrapper class by IDbConnection and IDbTransaction.
connection | An object representing an open connection to a data source. |
transaction | An object representing the transaction. |
|
inlinevirtual |
Commits the database transaction. FYI: does nothing if the transaction has not begun.
|
inlinevirtual |
Creates and returns a Command object associated with the connection.
sql | The text command to execute. |
|
inlinevirtual |
Rolls back a transaction from a pending state. FYI: does nothing if the transaction has not begun.
|
get |
An object representing an open connection to a data source.
|
get |
An object representing the transaction.