public virtual object Read(IReadContext context) { ArrayInfo info = NewArrayInfo(); object array = ReadCreate(context.Transaction(), context, info); ReadElements(context, info, array); return(array); }
public virtual void Read(IReadContext context) { var id = context.ReadInt(); if (_bTree != null) { AssertCurrentBTreeId(id); return; } _transaction = context.Transaction(); _bTree = BTreeManager().ProduceBTree(id); }
private object ReadPlainObject(IReadContext context) { int id = context.ReadInt(); Transaction transaction = context.Transaction(); object obj = transaction.ObjectForIdFromCache(id); if (obj != null) { return obj; } obj = new object(); AddReference(context, obj, id); return obj; }
private object ReadPlainObject(IReadContext context) { var id = context.ReadInt(); var transaction = context.Transaction(); var obj = transaction.ObjectForIdFromCache(id); if (obj != null) { return(obj); } obj = new object(); AddReference(context, obj, id); return(obj); }
public virtual object Read(IReadContext context) { ArrayInfo info = NewArrayInfo(); object array = ReadCreate(context.Transaction(), context, info); ReadElements(context, info, array); return array; }