C# Класс Neo4jClient.Transactions.Neo4jTransaction

Implements the Neo4j HTTP transaction for multiple HTTP requests
Наследование: INeo4jTransaction
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Cancel void
CheckForOpenTransaction void
DoCommit void
DoCommit void
DoKeepAlive System.Uri
DoKeepAlive void
DoRollback void
DoRollback void
ForceKeepAlive void
FromIdAndClient Neo4jTransaction

Открытые методы

Метод Описание
Commit ( ) : void

Commits our current transaction and closes the transaction.

Dispose ( ) : void
KeepAlive ( ) : void

Emits an empty request to keep alive our current transaction.

Neo4jTransaction ( ITransactionalGraphClient graphClient ) : System
Rollback ( ) : void

Rolls back our current transaction and closes the transaction.

Защищенные методы

Метод Описание
CleanupAfterClosedTransaction ( ) : void

Приватные методы

Метод Описание
Cancel ( ) : void

Cancels a transaction without closing it in the server

CheckForOpenTransaction ( ) : void
DoCommit ( ITransactionExecutionEnvironment transactionExecutionEnvironment, NameValueCollection customHeaders = null ) : void

Commits a transaction given the ID

DoCommit ( Uri commitUri, ExecutionConfiguration executionConfiguration, ISerializer serializer, NameValueCollection customHeaders = null ) : void
DoKeepAlive ( Uri keepAliveUri, ExecutionConfiguration executionConfiguration, ISerializer serializer, NameValueCollection customHeaders = null, bool newTransaction = false ) : Uri
DoKeepAlive ( ITransactionExecutionEnvironment transactionExecutionEnvironment ) : void

Keeps alive a transaction given the ID

DoRollback ( ITransactionExecutionEnvironment transactionExecutionEnvironment, NameValueCollection customHeaders = null ) : void

Rolls back a transaction given the ID

DoRollback ( Uri rollbackUri, ExecutionConfiguration executionConfiguration, NameValueCollection customHeaders ) : void
ForceKeepAlive ( ) : void

Forces a keep alive, setting the endpoint if necessary

FromIdAndClient ( int transactionId, ITransactionalGraphClient client ) : Neo4jTransaction

Описание методов

CleanupAfterClosedTransaction() защищенный Метод

protected CleanupAfterClosedTransaction ( ) : void
Результат void

Commit() публичный Метод

Commits our current transaction and closes the transaction.
public Commit ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

KeepAlive() публичный Метод

Emits an empty request to keep alive our current transaction.
public KeepAlive ( ) : void
Результат void

Neo4jTransaction() публичный Метод

public Neo4jTransaction ( ITransactionalGraphClient graphClient ) : System
graphClient ITransactionalGraphClient
Результат System

Rollback() публичный Метод

Rolls back our current transaction and closes the transaction.
public Rollback ( ) : void
Результат void