90 references to Interop
System.Data.Odbc (90)
src\libraries\Common\src\Interop\Interop.Odbc.cs (44)
23
[LibraryImport(
Interop
.Libraries.Odbc32)]
29
[LibraryImport(
Interop
.Libraries.Odbc32)]
35
[LibraryImport(
Interop
.Libraries.Odbc32)]
48
[LibraryImport(
Interop
.Libraries.Odbc32)]
57
[LibraryImport(
Interop
.Libraries.Odbc32)]
78
[LibraryImport(
Interop
.Libraries.Odbc32)]
82
[LibraryImport(
Interop
.Libraries.Odbc32)]
86
[LibraryImport(
Interop
.Libraries.Odbc32)]
111
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
123
[LibraryImport(
Interop
.Libraries.Odbc32)]
127
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
138
[LibraryImport(
Interop
.Libraries.Odbc32)]
144
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
150
[LibraryImport(
Interop
.Libraries.Odbc32)]
154
[LibraryImport(
Interop
.Libraries.Odbc32)]
158
[LibraryImport(
Interop
.Libraries.Odbc32)]
163
[LibraryImport(
Interop
.Libraries.Odbc32)]
168
[LibraryImport(
Interop
.Libraries.Odbc32)]
176
[LibraryImport(
Interop
.Libraries.Odbc32)]
185
[LibraryImport(
Interop
.Libraries.Odbc32)]
194
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
205
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
215
[LibraryImport(
Interop
.Libraries.Odbc32)]
221
[LibraryImport(
Interop
.Libraries.Odbc32)]
229
[LibraryImport(
Interop
.Libraries.Odbc32)]
237
[LibraryImport(
Interop
.Libraries.Odbc32)]
245
[LibraryImport(
Interop
.Libraries.Odbc32)]
250
[LibraryImport(
Interop
.Libraries.Odbc32)]
254
[LibraryImport(
Interop
.Libraries.Odbc32)]
259
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
265
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
275
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
287
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
297
[LibraryImport(
Interop
.Libraries.Odbc32)]
302
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
309
[LibraryImport(
Interop
.Libraries.Odbc32)]
316
[LibraryImport(
Interop
.Libraries.Odbc32)]
323
[LibraryImport(
Interop
.Libraries.Odbc32)]
335
[LibraryImport(
Interop
.Libraries.Odbc32)]
343
[LibraryImport(
Interop
.Libraries.Odbc32)]
351
[LibraryImport(
Interop
.Libraries.Odbc32)]
358
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
371
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
383
[LibraryImport(
Interop
.Libraries.Odbc32, StringMarshalling = StringMarshalling.Utf16)]
System\Data\Odbc\OdbcConnectionHandle.cs (11)
64
retcode =
Interop
.Odbc.SQLSetConnectAttrW(this, ODBC32.SQL_ATTR.AUTOCOMMIT, ODBC32.SQL_AUTOCOMMIT_OFF, (int)ODBC32.SQL_IS.UINTEGER);
169
retcode =
Interop
.Odbc.SQLEndTran(HandleType, handle, transactionOperation);
178
retcode =
Interop
.Odbc.SQLSetConnectAttrW(handle, ODBC32.SQL_ATTR.AUTOCOMMIT, ODBC32.SQL_AUTOCOMMIT_ON, (int)ODBC32.SQL_IS.UINTEGER);
196
retcode =
Interop
.Odbc.SQLDriverConnectW(this, ADP.PtrZero, connectionString, ODBC32.SQL_NTS, ADP.PtrZero, 0, out _, (short)ODBC32.SQL_DRIVER.NOPROMPT);
218
Interop
.Odbc.SQLDisconnect(handle);
227
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetConnectAttrW(this, attribute, buffer, buffer.Length, out cbActual);
233
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetFunctions(this, fFunction, out fExists);
240
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetInfoW(this, info, buffer, checked((short)buffer.Length), out cbActual);
246
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetInfoW(this, info, buffer, checked((short)buffer.Length), ADP.PtrZero);
252
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLSetConnectAttrW(this, attribute, value, length);
259
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLSetConnectAttrW(this, attribute, buffer, length);
System\Data\Odbc\OdbcEnvironmentHandle.cs (2)
17
Interop
.Odbc.SQLSetEnvAttr(
29
retcode =
Interop
.Odbc.SQLSetEnvAttr(
System\Data\Odbc\OdbcHandle.cs (8)
31
retcode =
Interop
.Odbc.SQLAllocHandle(handleType, IntPtr.Zero, out base.handle);
39
retcode =
Interop
.Odbc.SQLAllocHandle(handleType, parentHandle, out base.handle);
151
Interop
.Odbc.SQLFreeHandle(handleType, handle);
180
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetDiagFieldW(
206
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetDiagRecW(HandleType, this, record, buffer, out nativeError, message, checked((short)message.Length), out cchActual);
230
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetDescFieldW(this, checked((short)i), attribute, buffer, buffer.ShortLength, out numericAttribute);
237
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLSetDescFieldW(this, ordinal, type, value, 0);
244
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLSetDescFieldW(this, ordinal, type, value, 0);
System\Data\Odbc\OdbcStatementHandle.cs (25)
62
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLBindCol(this, checked((ushort)columnNumber), targetType, buffer, length, srLen_or_Ind);
69
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLBindCol(this, checked((ushort)columnNumber), targetType, ADP.PtrZero, ADP.PtrZero, srLen_or_Ind);
76
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLBindParameter(this,
94
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLCancel(this);
101
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLCloseCursor(this);
109
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLColAttributeW(this, checked((short)columnNumber), fieldIdentifier, characterAttribute, characterAttribute.ShortLength, out stringLength, out result);
120
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLColumnsW(this,
136
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLExecute(this);
143
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLExecDirectW(this, commandText, ODBC32.SQL_NTS);
150
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLFetch(this);
157
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLFreeStmt(this, stmt);
164
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetData(this,
176
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetStmtAttrW(this, attribute, out value, ADP.PtrSize, out stringLength);
183
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLGetTypeInfo(this, fSqlType);
190
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLMoreResults(this);
197
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLNumResultCols(this, out columnsAffected);
204
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLPrepareW(this, commandText, ODBC32.SQL_NTS);
211
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLPrimaryKeysW(this,
224
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLProceduresW(this,
241
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLProcedureColumnsW(this,
258
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLRowCount(this, out result);
266
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLSetStmtAttrW(this, (int)attribute, value, (int)stringLength);
273
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLSpecialColumnsW(this,
295
retcode =
Interop
.Odbc.SQLStatisticsW(this,
324
ODBC32.SQLRETURN retcode =
Interop
.Odbc.SQLTablesW(this,