Method | Description | |
---|---|---|
Begin ( ) : void |
Begin a transaction. This object should not currently be in a transaction.
|
|
Commit ( CommitTransactionGrbit grbit ) : void |
Commit a transaction. This object should be in a transaction.
|
|
Rollback ( ) : void |
Rollback a transaction. This object should be in a transaction.
|
|
Transaction ( JET_SESID sesid ) : System |
Initializes a new instance of the Transaction class. This automatically begins a transaction. The transaction will be rolled back if not explicitly committed.
|
Method | Description | |
---|---|---|
ReleaseResource ( ) : void |
Called when the transaction is being disposed while active. This should rollback the transaction.
|
public Commit ( CommitTransactionGrbit grbit ) : void | ||
grbit | CommitTransactionGrbit | JetCommitTransaction options. |
return | void |
public Transaction ( JET_SESID sesid ) : System | ||
sesid | JET_SESID | The session to start the transaction for. |
return | System |