public TreeSystemTransaction(ITreeSystem treeStore, long versionId, NodeId rootNodeId, bool readOnly)
 {
     this.treeStore = treeStore;
     this.rootNodeId = rootNodeId;
     this.versionId = versionId;
     updateVersion = 0;
     nodeDeletes = null;
     nodeInserts = null;
     this.readOnly = readOnly;
     disposed = false;
 }
Example #2
0
 internal Transaction(ITreeSystem storeSystem, long versionId, DataAddress rootNode)
     : base(storeSystem, versionId, rootNode.Value, false)
 {
 }
Example #3
0
 public Transaction(ITreeSystem tree_system, long version_id)
     : base(tree_system, version_id, -1, false)
 {
     SetToEmpty();
 }
Example #4
0
 public NetworkTreeSystemTransaction(ITreeSystem treeStore, long versionId, DataAddress rootNodeId)
     : base(treeStore, versionId, rootNodeId.Value, false)
 {
 }
Example #5
0
 public NetworkTreeSystemTransaction(ITreeSystem treeStore, long versionId)
     : this(treeStore, versionId, null)
 {
     SetToEmpty();
 }