public DrdaResultSet( DrdaStreamReader reader) { Locator = reader.ReadUInt32(); CursorName = reader.ReadVcmVcs(); Rows = reader.ReadUInt32(); }
public CommAreaGroupDescriptor( DrdaStreamReader reader) { if (reader.ReadUInt8() == 0xFF) { return; } SqlCode = reader.ReadUInt32(); SqlState = reader.ReadString(5); var sqlErrProc = reader.ReadString(8); if (reader.ReadUInt8() != 0xFF) { RowsFetched = reader.ReadUInt64(); RowsUpdated = reader.ReadUInt32(); var sqlErrs = reader.ReadBytes(12); // 3 * sizeof(UInt32) var sqlWarn = reader.ReadBytes(11); // 11 * sizeof(Byte) var rdbName = reader.ReadUInt16(); SqlMessage = reader.ReadVcmVcs(); } if (reader.ReadUInt8() != 0xFF) { // WORKWORK } }
public DrdaColumn( DrdaStreamReader reader) { Precision = reader.ReadUInt16(); Scale = reader.ReadUInt16(); Length = reader.ReadUInt64(); Db2Type = (Db2Type)reader.ReadUInt16(); CcsId = reader.ReadUInt16(); ArrayExt = reader.ReadUInt8(); Unnamed = reader.ReadUInt16(); Name = reader.ReadVcmVcs(); Label = reader.ReadVcmVcs(); Comment = reader.ReadVcmVcs(); var hiByte = reader.ReadUInt8(); if (hiByte != 0xFF) { TypeName = reader.ReadVcmVcs(hiByte); ClassName = reader.ReadVcmVcs(); } // ReSharper disable once RedundantAssignment reader.ReadUInt8(); KeyMem = reader.ReadUInt16(); Updateable = reader.ReadUInt16(); Generated = reader.ReadUInt16(); ParameterMode = reader.ReadUInt16(); RdbName = reader.ReadVarString(); CoreName = reader.ReadVcmVcs(); BaseName = reader.ReadVcmVcs(); Scheme = reader.ReadVcmVcs(); DxName = reader.ReadVcmVcs(); }