/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual void Delete(IDeleteContext context) { int payLoadOffset = context.ReadInt(); if (context.IsLegacyHandlerVersion()) { context.DefragmentRecommended(); return; } if (payLoadOffset <= 0) { return; } int linkOffset = context.Offset(); context.Seek(payLoadOffset); int classMetadataID = context.ReadInt(); ITypeHandler4 typeHandler = Container().ClassMetadataForID(classMetadataID).TypeHandler (); if (typeHandler != null) { if (!IsPlainObject(typeHandler)) { context.Delete(typeHandler); } } context.Seek(linkOffset); }
public void Delete(IDeleteContext context) { context.Seek(context.Offset() + GuidSize); }
void ITypeHandler4.Delete(IDeleteContext context) { context.Seek(context.Offset() + LinkLength()); }
public virtual void Delete(IDeleteContext context) { context.Seek(context.Offset() + LinkLength()); }
public void Delete(IDeleteContext context) { var offset = context.Offset() + Const4.IdLength + Const4.LongLength; context.Seek(offset); }
public void Delete(IDeleteContext context) { int offset = context.Offset() + Const4.IdLength + Const4.LongLength; context.Seek(offset); }