Skip to content

TransactionInfo.TransactionInfo(Guid, DateTime, DateTime, bool)

TransactionInfo(Guid, DateTime, DateTime, bool)

View source
public TransactionInfo(Guid id, DateTime timeStamp, DateTime priority, bool readOnly = false)
Initializes transaction information with its identity and scheduling timestamps.

Parameters

idGuid
The unique transaction identifier.
timeStampDateTime
The initial causal timestamp used to determine the commit timestamp.
priorityDateTime
The timestamp used to order the transaction when acquiring participant locks.
readOnlybool
Whether the transaction is declared read-only.