示例#1
0
        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();
        }
示例#2
0
 internal GraphAdvanced(GraphStorage parent)
 {
     _parent = parent;
 }
 internal TraversalBuilder(GraphStorage store)
 {
     _tx = new Lazy <Transaction>(store.ReadTransaction, false);
 }