Method | Description | |
---|---|---|
BeginTransaction ( System.Data.IsolationLevel isolationLevel = IsolationLevel.ReadCommitted ) : IDisposable |
Begins the transaction. TransactionManager will single TransactionScope, subsequent call to BeginTransaction will return same scope until CommitTransaction or RollbackTransaction is called. |
|
CommitTransaction ( ) : void |
Commits the transaction, saving all changes.
|
|
RollbackTransaction ( ) : void |
Rolls the transaction back, discarding any changes.
|
|
TransactionManager ( [ session ) : System |
Initializes a new instance of the TransactionManager class.
|
Method | Description | |
---|---|---|
ClearTransaction ( ) : void | ||
MapIsolationLevel ( System.Data.IsolationLevel isolationLevel ) : System.Transactions.System.Data.IsolationLevel |
public BeginTransaction ( System.Data.IsolationLevel isolationLevel = IsolationLevel.ReadCommitted ) : IDisposable | ||
isolationLevel | System.Data.IsolationLevel | Transaction isolation level, see |
return | IDisposable |
public TransactionManager ( [ session ) : System | ||
session | [ | The document session. |
return | System |