ByteBuffer KeyBytes(T obj) { var keyWriter = new ByteBufferWriter(); WriteRelationPKPrefix(keyWriter); _relationInfo.PrimaryKeysSaver(_transaction, keyWriter, obj, this); //this for relation interface which is same with manipulator return(keyWriter.Data); }
ReadOnlySpan <byte> KeyBytes(T obj, ref SpanWriter writer) { WriteRelationPKPrefix(ref writer); _relationInfo.PrimaryKeysSaver(_transaction, ref writer, obj); return(writer.GetPersistentSpanAndReset()); }