ITransaction Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The ITransaction type exposes the following members.
Name | Description | |
---|---|---|
ConnectionString |
Gets the connection string used for the connection with the database. Only settable with the constructor.
| |
ConnectionToUse |
The connection object to use with this transaction.
| |
EntitiesInTransaction |
List of GUID's of the entities currently participating in this transaction. This collection is
used to keep track of which entities already have been added during a recursive save.
| |
IsTransactionInProgress |
Gets IsTransactionInProgress. True when there is a transaction in progress.
(Inherited from ITransactionController.) | |
Name |
Gets the name of the transaction. Only settable with the constructor.
| |
PhysicalTransaction |
The physical transaction object used over ConnectionToUse.
| |
TransactionIsolationLevel |
Gets the isolation level the transaction should use. Only settable with the constructor.
|
Name | Description | |
---|---|---|
Add |
Adds the passed in object as a participant of this transaction.
| |
AddAuditor |
Adds the auditor passed in to the set of auditors to get audit entities from at commit.
| |
Commit |
Commits the controlled ado.net transaction
(Inherited from ITransactionController.) | |
Dispose |
Disposes the instance
| |
Remove |
Removes the passed in object from the transaction.
| |
Rollback |
Rolls back the controlled ado.net transaction
(Inherited from ITransactionController.) | |
Rollback(String) |
Rolls back the transaction in action to the savepoint with the name savepointName. No internal objects are being reset when this method is called,
so call this Rollback overload only to roll back to a savepoint. To roll back a complete transaction, call Rollback() without specifying a savepoint
name. Create a savepoint by calling Save(savePointName)
| |
Save |
Creates a savepoint with the name savePointName in the current transaction. You can roll back to this savepoint using
Rollback(String).
|
Name | Description | |
---|---|---|
TransactionCommitted |
Raised when Commit was successful.
(Inherited from ITransactionController.) | |
TransactionRolledback |
Raised when Rollback was successful.
(Inherited from ITransactionController.) |