UInt64 DoneRowCount;               // read 4 bytes if TDS > 7.1, otherwise, read 2 bytes

        public void Read(TDSReader r)
        {
            if (r.TDSVersion == (UInt32)TDSVersions.Unknown)
            {
                throw new UnknownTDSVersionException("Done token needs to know the TDS version.");
            }
            Status = r.ReadUInt16();
            CurCmd = r.ReadUInt16();
            byte TDSVer = (byte)(r.TDSVersion & 0x000000FF);

            DoneRowCount = (TDSVer < 0x72) ? r.ReadUInt32() : r.ReadUInt64();
            r.TokenDone();
        }
 public void Read(TDSReader r)
 {
     TransactionDescriptor   = r.ReadUInt64();
     OutstandingRequestCount = r.ReadUInt32();
 }