Click or drag to resize

IAsyncTransaction Interface

Represents a transaction in the Neo4j database.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.4
Syntax
public interface IAsyncTransaction : IAsyncQueryRunner, 
	IAsyncDisposable, IDisposable

The IAsyncTransaction type exposes the following members.

Properties
  NameDescription
Public propertyTransactionConfig
Gets the transaction configuration back.
Top
Methods
  NameDescription
Public methodCommitAsync
Asynchronously commit this transaction.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodRollbackAsync
Asynchronously roll back this transaction.
Public methodRunAsync(String)
Asynchronously run a query and return a task of 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 IAsyncQueryRunner.)
Public methodRunAsync(Query)
Asynchronously execute a query and return a task of result stream.
(Inherited from IAsyncQueryRunner.)
Public methodRunAsync(String, IDictionaryString, Object)
Asynchronously run a query and return a task of 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 IAsyncQueryRunner.)
Public methodRunAsync(String, Object)
Asynchronously execute a query and return a task of result stream.
(Inherited from IAsyncQueryRunner.)
Top
See Also