C# Class Neo4jClient.Transactions.TransactionManager

Handles all the queries related to transactions that could be needed in a ITransactionalGraphClient
Inheritance: ITransactionManager
Mostrar archivo Open project: albumprinter/Neo4jClient Class Usage Examples

Private Properties

Property Type Description
BeginJoinTransaction ITransaction
BeginNewTransaction ITransaction
BeginSupressTransaction ITransaction
GenerateTransaction TransactionContext
GenerateTransaction TransactionContext
GetContext TransactionContext
GetOrCreateDtcTransactionContext TransactionContext
PushScopeTransaction void

Public Methods

Method Description
BeginTransaction ( TransactionScopeOption scopeOption ) : ITransaction

Implements the internal part for ITransactionalGraphClient.BeginTransaction

Dispose ( ) : void
EndTransaction ( ) : void
EnqueueCypherRequest ( string commandDescription, IGraphClient graphClient, CypherQuery query ) : Task
RegisterToTransactionIfNeeded ( ) : void

Registers to ambient System.Transactions.TransactionContext if needed

TransactionManager ( ITransactionalGraphClient client ) : System

Private Methods

Method Description
BeginJoinTransaction ( ) : ITransaction
BeginNewTransaction ( ) : ITransaction
BeginSupressTransaction ( ) : ITransaction
GenerateTransaction ( ) : TransactionContext
GenerateTransaction ( TransactionContext reference ) : TransactionContext
GetContext ( NameValueCollection customHeaders = null ) : TransactionContext
GetOrCreateDtcTransactionContext ( NameValueCollection customHeaders = null ) : TransactionContext
PushScopeTransaction ( TransactionScopeProxy transaction ) : void

Method Details

BeginTransaction() public method

Implements the internal part for ITransactionalGraphClient.BeginTransaction
public BeginTransaction ( TransactionScopeOption scopeOption ) : ITransaction
scopeOption TransactionScopeOption How should the transaction scope be created. /// /// for more information.
return ITransaction

Dispose() public method

public Dispose ( ) : void
return void

EndTransaction() public method

public EndTransaction ( ) : void
return void

EnqueueCypherRequest() public method

public EnqueueCypherRequest ( string commandDescription, IGraphClient graphClient, CypherQuery query ) : Task
commandDescription string
graphClient IGraphClient
query Neo4jClient.Cypher.CypherQuery
return Task

RegisterToTransactionIfNeeded() public method

Registers to ambient System.Transactions.TransactionContext if needed
public RegisterToTransactionIfNeeded ( ) : void
return void

TransactionManager() public method

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