public Transaction(ILogManager logManager, IPageManager pageManager, ulong transactionId, string name, IsolationLevelEnum isolationLevel) { this.transactionId = transactionId; this.logRecords = new List <ILogRecord>(); this.logManager = logManager; this.name = name; this.state = TransactionState.Open; this.pageManager = pageManager; this.isolationLevel = isolationLevel; }
public void SetTransactionIsolation(IsolationLevelEnum transactionIsolation) { this.transactionIsolation = transactionIsolation; }
LevelEnum(IsolationLevelEnum operationId) { OperationId = (int)operationId; }