C# Class SenseNet.ContentRepository.Storage.TransactionScope

Show file Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
OnBeginTransaction void
OnCommitTransaction void
OnRollbackTransaction void
Participate void
TransactionScope System

Public Methods

Method Description
Begin ( ) : void

Begins the transaction.

Begin ( IsolationLevel isolationLevel ) : void

Begins the transaction with the specified isolation level.

Commit ( ) : void

Commits the transaction.

Rollback ( ) : void

Rollbacks the current transaction.

Private Methods

Method Description
OnBeginTransaction ( object sender, EventArgs e ) : void
OnCommitTransaction ( object sender, EventArgs e ) : void
OnRollbackTransaction ( object sender, EventArgs e ) : void
Participate ( ITransactionParticipant participant ) : void
TransactionScope ( ) : System

Method Details

Begin() public static method

Begins the transaction.
public static Begin ( ) : void
return void

Begin() public static method

Begins the transaction with the specified isolation level.
public static Begin ( IsolationLevel isolationLevel ) : void
isolationLevel IsolationLevel The isolation level.
return void

Commit() public static method

Commits the transaction.
public static Commit ( ) : void
return void

Rollback() public static method

Rollbacks the current transaction.
public static Rollback ( ) : void
return void