Example #1
0
 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;
 }
Example #2
0
 public void SetTransactionIsolation(IsolationLevelEnum transactionIsolation)
 {
     this.transactionIsolation = transactionIsolation;
 }
Example #3
0
 LevelEnum(IsolationLevelEnum operationId)
 {
     OperationId = (int)operationId;
 }