Click or drag to resize

ISessionReadTransactionT Method (FuncITransaction, T)

Execute given unit of work in a Read transaction.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver.Simple (in Neo4j.Driver.Simple.dll) Version: 4.1.0
Syntax
T ReadTransaction<T>(
	Func<ITransaction, T> work
)

Parameters

work
Type: SystemFuncITransaction, T
The FuncTResult to be applied to a new read transaction.

Type Parameters

T
The return type of the given unit of work.

Return Value

Type: T
A result as returned by the given unit of work.
See Also