2 instantiations of CNativeBuffer
System.Data.Odbc (2)
System\Data\Odbc\OdbcCommand.cs (2)
414
_cmdWrapper._dataReaderBuf ??= new
CNativeBuffer
(4096);
691
parameterBuffer = new
CNativeBuffer
(parameterBufferSize);
25 references to CNativeBuffer
System.Data.Odbc (25)
src\libraries\Common\src\Interop\Interop.Odbc.cs (3)
91
/*SQLPOINTER*/
CNativeBuffer
CharacterAttribute,
181
/*SQLPOINTER*/
CNativeBuffer
TargetValue,
190
/*SQLPOINTER*/
CNativeBuffer
ValuePointer,
System\Data\Odbc\OdbcCommand.cs (4)
677
CNativeBuffer
? parameterBuffer = _cmdWrapper._nativeParameterBuffer;
970
internal
CNativeBuffer
? _nativeParameterBuffer; // Native memory for internal memory management
973
internal
CNativeBuffer
? _dataReaderBuf; // Reusable DataReader buffer
1051
CNativeBuffer
? buffer = _nativeParameterBuffer;
System\Data\Odbc\OdbcDataReader.cs (10)
68
private
CNativeBuffer
Buffer
72
CNativeBuffer
? value = _cmdWrapper!._dataReaderBuf;
952
CNativeBuffer
buffer = Buffer;
1352
CNativeBuffer
internalNativeBuffer = this.Buffer;
1471
CNativeBuffer
buffer = Buffer;
1587
CNativeBuffer
buffer = Buffer;
1650
CNativeBuffer
buffer = Buffer;
1736
CNativeBuffer
buffer = Buffer;
2322
CNativeBuffer
buffer = Buffer;
2503
CNativeBuffer
buffer = Buffer;
System\Data\Odbc\OdbcHandle.cs (1)
228
internal ODBC32.SQLRETURN GetDescriptionField(int i, ODBC32.SQL_DESC attribute,
CNativeBuffer
buffer, out int numericAttribute)
System\Data\Odbc\OdbcParameter.cs (3)
790
internal void Bind(OdbcStatementHandle hstmt, OdbcCommand command, short ordinal,
CNativeBuffer
parameterBuffer, bool allowReentrance)
945
internal void GetOutputValue(
CNativeBuffer
parameterBuffer)
1048
internal void SetInputValue(object? value, ODBC32.SQL_C sql_c_type, int cbsize, int sizeorprecision, int offset,
CNativeBuffer
parameterBuffer)
System\Data\Odbc\OdbcParameterCollection.cs (2)
103
internal void Bind(OdbcCommand command, CMDWrapper cmdWrapper,
CNativeBuffer
parameterBuffer)
165
CNativeBuffer
parameterBuffer = cmdWrapper._nativeParameterBuffer!;
System\Data\Odbc\OdbcStatementHandle.cs (2)
106
internal ODBC32.SQLRETURN ColumnAttribute(int columnNumber, short fieldIdentifier,
CNativeBuffer
characterAttribute, out short stringLength, out SQLLEN numericAttribute)
162
internal ODBC32.SQLRETURN GetData(int index, ODBC32.SQL_C sqlctype,
CNativeBuffer
buffer, int cb, out IntPtr cbActual)