C# Class Neo4jClient.Transactions.TransactionPromotableSinglePhaseNotification

This class manages the System.Transactions protocol in order to support TransactionScope bindings
Inheritance: IPromotableSinglePhaseNotification
Mostrar archivo Open project: albumprinter/Neo4jClient Class Usage Examples

Public Methods

Method Description
EnlistIfNecessary ( ) : void
Initialize ( ) : void
Promote ( ) : byte[]
Rollback ( SinglePhaseEnlistment singlePhaseEnlistment ) : void
SinglePhaseCommit ( SinglePhaseEnlistment singlePhaseEnlistment ) : void
TransactionPromotableSinglePhaseNotification ( ITransactionalGraphClient client ) : System

Private Methods

Method Description
Enlist ( Transaction transaction ) : void
GetResourceManager ( ) : ITransactionResourceManager

Method Details

EnlistIfNecessary() public method

public EnlistIfNecessary ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

Promote() public method

public Promote ( ) : byte[]
return byte[]

Rollback() public method

public Rollback ( SinglePhaseEnlistment singlePhaseEnlistment ) : void
singlePhaseEnlistment System.Transactions.SinglePhaseEnlistment
return void

SinglePhaseCommit() public method

public SinglePhaseCommit ( SinglePhaseEnlistment singlePhaseEnlistment ) : void
singlePhaseEnlistment System.Transactions.SinglePhaseEnlistment
return void

TransactionPromotableSinglePhaseNotification() public method

public TransactionPromotableSinglePhaseNotification ( ITransactionalGraphClient client ) : System
client ITransactionalGraphClient
return System