MarkLogic XCC/.Net Library

TransactionMode Enumeration

The transaction mode for the session, which governs how transactions are created, and whether they are automatically committed.

[Visual Basic]
Public Enum TransactionMode
[C#]
public enum TransactionMode

Members

Member Name Description
Auto Creates a new transaction for every request, and commits (or rolls back) the transaction at the end of that request.
Query Creates a read-only query transaction to group requests. The transaction must be committed or rolled back explicitly.
Update Creates an updating transaction to group requests. The transaction must be committed or rolled back explicitly.

Requirements

Namespace: Marklogic.Xcc

Assembly: MarklogicXcc (in MarklogicXcc.dll)

See Also

Marklogic.Xcc Namespace