System\Data\Odbc\OdbcDataReader.cs (27)
674_dataCache[i] = Buffer.ReadByte(0);
694_dataCache[i] = Buffer.ReadChar(0);
714_dataCache[i] = Buffer.ReadInt16(0);
734_dataCache[i] = Buffer.ReadInt32(0);
761string value = (string)Buffer.MarshalToManaged(0, ODBC32.SQL_C.WCHAR, ODBC32.SQL_NTS);
782_dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.BIT, -1);
802_dataCache[i] = Buffer.ReadSingle(0);
823_dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_DATE, -1);
844_dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_TIMESTAMP, -1);
875s = (string)Buffer.MarshalToManaged(0, ODBC32.SQL_C.WCHAR, ODBC32.SQL_NTS);
902_dataCache[i] = Buffer.ReadDouble(0);
923_dataCache[i] = Buffer.ReadGuid(0);
952CNativeBuffer buffer = Buffer;
1051_dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_TIME, -1);
1352CNativeBuffer internalNativeBuffer = this.Buffer;
1465int cbBufferLen = Buffer.Length - 4;
1471CNativeBuffer buffer = Buffer;
1476Buffer.ReadBytes(0, rgBytes, cbOffset, Math.Min(cbActual, cbBufferLen));
1546retcode = stmt.ColumnAttribute(iColumn + 1, (short)v3FieldId, Buffer, out _, out numericAttribute);
1550retcode = stmt.ColumnAttribute(iColumn + 1, (short)v2FieldId, Buffer, out _, out numericAttribute);
1587CNativeBuffer buffer = Buffer;
1650CNativeBuffer buffer = Buffer;
1701return GetData(i, sqlctype, Buffer.Length - 4, out _);
1733Debug.Assert(cb <= Buffer.Length - 2, "GetData needs to Reallocate. Perf bug");
1736CNativeBuffer buffer = Buffer;
2322CNativeBuffer buffer = Buffer;
2503CNativeBuffer buffer = Buffer;