C# Class Neo4jClient.Transactions.TransactionContext

Encapsulates a transaction object with its transaction scheduler.
All requests to the same transaction have to made sequentially. The purpose of this class is to ensure that such calls are made in that fashion.
Inheritance: INeo4jTransaction
Show file Open project: albumprinter/Neo4jClient Class Usage Examples

Public Methods

Method Description
Commit ( ) : void
Dispose ( ) : void
EnqueueTask ( string commandDescription, IGraphClient client, IExecutionPolicy policy, CypherQuery query ) : Task
KeepAlive ( ) : void
Rollback ( ) : void
TransactionContext ( INeo4jTransaction transaction ) : System

Method Details

Commit() public method

public Commit ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EnqueueTask() public method

public EnqueueTask ( string commandDescription, IGraphClient client, IExecutionPolicy policy, CypherQuery query ) : Task
commandDescription string
client IGraphClient
policy IExecutionPolicy
query Neo4jClient.Cypher.CypherQuery
return Task

KeepAlive() public method

public KeepAlive ( ) : void
return void

Rollback() public method

public Rollback ( ) : void
return void

TransactionContext() public method

public TransactionContext ( INeo4jTransaction transaction ) : System
transaction INeo4jTransaction
return System