internal Transaction(GraphStorage env, Impl.Transaction tx) { _tx = tx; _storage = env; _nextIdKey = Slice.From(env.ByteStringContext, Constants.NextIdKey); var readResult = MetadataTree.Read(_nextIdKey); NextId = (readResult == null) ? 0 : readResult.Reader.ReadBigEndianInt64(); }
internal GraphAdvanced(GraphStorage parent) { _parent = parent; }
internal TraversalBuilder(GraphStorage store) { _tx = new Lazy <Transaction>(store.ReadTransaction, false); }