C# Class SenseNet.ContentRepository.Storage.TransactionScope

Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Свойство Type Description
OnBeginTransaction void
OnCommitTransaction void
OnRollbackTransaction void
Participate void
TransactionScope System

Méthodes publiques

Méthode 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

Méthode 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 méthode

Begins the transaction.
public static Begin ( ) : void
Résultat void

Begin() public static méthode

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

Commit() public static méthode

Commits the transaction.
public static Commit ( ) : void
Résultat void

Rollback() public static méthode

Rollbacks the current transaction.
public static Rollback ( ) : void
Résultat void