/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public object ReadIndexEntry(IObjectIdContext context) { IIndexableTypeHandler indexableTypeHandler = (IIndexableTypeHandler)HandlerRegistry .CorrectHandlerVersion(context, GetHandler()); return(indexableTypeHandler.ReadIndexEntry(context)); }
public override object Read(IObjectIdContext context) { var objectId = context.ObjectId(); var version = context.Transaction().SystemTransaction().VersionForId(objectId); return(version); }
public virtual object Read(IObjectIdContext context) { if (!CanReadFromSlot((IAspectVersionContext)context)) { IncrementOffset(context, context); return(null); } return(context.Read(GetHandler())); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual object ReadIndexEntry(IObjectIdContext context) { var payLoadOffSet = context.ReadInt(); var length = context.ReadInt(); if (payLoadOffSet == 0) { return null; } return ((StatefulBuffer) context.Buffer()).ReadPayloadWriter(payLoadOffSet, length ); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual object ReadIndexEntry(IObjectIdContext context) { int payLoadOffSet = context.ReadInt(); int length = context.ReadInt(); if (payLoadOffSet == 0) { return(null); } return(((StatefulBuffer)context.Buffer()).ReadPayloadWriter(payLoadOffSet, length )); }
object IIndexableTypeHandler.ReadIndexEntry(IObjectIdContext context) { return(ReadFrom(context)); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public override object ReadIndexEntry(IObjectIdContext context) { return(context.Transaction().Container().ReadWriterByAddress(context.Transaction( ), context.ReadInt(), context.ReadInt())); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public override object ReadIndexEntry(IObjectIdContext context) { return context.Transaction().Container().ReadWriterByAddress(context.Transaction( ), context.ReadInt(), context.ReadInt()); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public object ReadIndexEntry(IObjectIdContext context) { IIndexableTypeHandler indexableTypeHandler = (IIndexableTypeHandler)HandlerRegistry .CorrectHandlerVersion(context, GetHandler()); return indexableTypeHandler.ReadIndexEntry(context); }
public object ReadIndexEntry(IObjectIdContext context) { return ReadFrom(context); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual object ReadIndexEntry(IObjectIdContext context) { return(Read(context)); }
public object ReadIndexEntry(IObjectIdContext context) { return(ReadFrom(context)); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual object ReadIndexEntry(IObjectIdContext context) { return Read(context); }
public virtual object Read(IObjectIdContext context) { if (!CanReadFromSlot((IAspectVersionContext)context)) { IncrementOffset(context); return null; } return context.Read(GetHandler()); }
public sealed override object Read(IObjectIdContext context) { return(null); }
/// <exception cref="Db4objects.Db4o.CorruptionException"></exception> /// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual object ReadIndexEntry(IObjectIdContext context) { return context.ReadInt(); }
public object ReadIndexEntry(IObjectIdContext context) { return new IndexEntry(context.ReadInt(), context.ReadLong()); }
public override sealed object Read(IObjectIdContext context) { return null; }
object IIndexableTypeHandler.ReadIndexEntry(IObjectIdContext context) { return ReadFrom(context); }
public object ReadIndexEntry(IObjectIdContext context) { return(new IndexEntry(context.ReadInt(), context.ReadLong())); }
public override object Read(IObjectIdContext context) { int objectId = context.ObjectId(); long version = context.Transaction().SystemTransaction().VersionForId(objectId); return version; }