Click or drag to resize

ITransaction Methods

The ITransaction type exposes the following members.

Methods
  NameDescription
Public methodCommit
Mark this transaction as successful. You must call this method before calling Dispose to have your transaction committed.
Public methodDispose (Inherited from IDisposable.)
Public methodRollback
Mark this transaction as failed. Calling Dispose will roll back the transaction. Marking a transaction as failed is irreversible and guarantees that subsequent calls to Commit will not change it's status.
Public methodRun(String)
Run a query and return a result stream. This method accepts a String representing a Cypher query which will be compiled into a query object that can be used to efficiently execute this query multiple times.
(Inherited from IQueryRunner.)
Public methodRun(Query)
Execute a query and return a result stream.
(Inherited from IQueryRunner.)
Public methodRun(String, IDictionaryString, Object)
Run a query and return a result stream. This method accepts a String representing a Cypher query which will be compiled into a query object that can be used to efficiently execute this query multiple times. This method optionally accepts a set of parameters which will be injected into the query object query by Neo4j.
(Inherited from IQueryRunner.)
Public methodRun(String, Object)
Execute a query and return a result stream.
(Inherited from IQueryRunner.)
Top
See Also