public override long VersionForId(int id) { MsgD msg = Msg.VersionForId.GetWriterForInt(SystemTransaction(), id); _client.Write(msg); return(_client.ExpectedBufferResponse(Msg.VersionForId).ReadLong()); }
public virtual void FetchIDs(int batchSize) { _client.Write(Msg.ObjectsetFetch.GetWriterForInts(_transaction, new int[] { _queryResultID , batchSize, _client.PrefetchDepth() })); ByteArrayBuffer reader = _client.ExpectedBufferResponse(Msg.IdList); LoadFromIdReader(_client.IdIteratorFor(_transaction, reader)); }