fx\src\data\System\Data\Odbc\OdbcDataReader.cs (27)
595this.dataCache[i] = Buffer.ReadByte(0);
610this.dataCache[i] = Buffer.ReadChar(0);
625this.dataCache[i] = Buffer.ReadInt16(0);
640this.dataCache[i] = Buffer.ReadInt32(0);
662string value = (string)Buffer.MarshalToManaged(0, ODBC32.SQL_C.WCHAR, ODBC32.SQL_NTS);
678this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.BIT, -1);
693this.dataCache[i] = Buffer.ReadSingle(0);
709this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_DATE, -1);
725this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_TIMESTAMP, -1);
750s = (string)Buffer.MarshalToManaged(0, ODBC32.SQL_C.WCHAR, ODBC32.SQL_NTS);
771this.dataCache[i] = Buffer.ReadDouble(0);
787this.dataCache[i] = Buffer.ReadGuid(0);
812CNativeBuffer buffer = Buffer;
899this.dataCache[i] = Buffer.MarshalToManaged(0, ODBC32.SQL_C.TYPE_TIME, -1);
1175CNativeBuffer internalNativeBuffer = this.Buffer;
1283int cbBufferLen = Buffer.Length - 4;
1288CNativeBuffer buffer = Buffer;
1292Buffer.ReadBytes(0, rgBytes, cbOffset, Math.Min(cbActual, cbBufferLen));
1356retcode = stmt.ColumnAttribute(iColumn+1, (short)v3FieldId, Buffer, out cchNameLength, out numericAttribute);
1359retcode = stmt.ColumnAttribute(iColumn+1, (short)v2FieldId, Buffer, out cchNameLength, out numericAttribute);
1392CNativeBuffer buffer = Buffer;
1445CNativeBuffer buffer = Buffer;
1490return GetData(i, sqlctype, Buffer.Length - 4, out dummy);
1520Debug.Assert(cb <= Buffer.Length-2, "GetData needs to Reallocate. Perf bug");
1523CNativeBuffer buffer = Buffer;
2046CNativeBuffer buffer = Buffer;
2212CNativeBuffer buffer = Buffer;