75 references to ODBC
System.Data.Odbc (75)
System\Data\Odbc\Odbc32.cs (5)
54
return
ODBC
.NotSupportedEnumerationValue(typeof(CommandType), (int)value);
76
return
ODBC
.NotSupportedEnumerationValue(typeof(IsolationLevel), (int)value);
850
_ => throw
ODBC
.UnknownOdbcType(odbcType),
969
throw
ODBC
.UnknownSQLType(sqltype);
971
throw
ODBC
.UnknownSQLType(sqltype);
System\Data\Odbc\OdbcCommand.cs (1)
232
throw
ODBC
.NotSupportedCommandType(value);
System\Data\Odbc\OdbcConnection.cs (4)
76
throw
ODBC
.NegativeArgument();
78
throw
ODBC
.CantSetPropertyOnOpenConnection();
789
throw
ODBC
.ConnectionClosed();
918
throw
ODBC
.NotSupportedIsolationLevel(isolevel);
System\Data\Odbc\OdbcConnectionHandle.cs (5)
73
ODBC
.TraceODBC(3, "SQLSetConnectAttrW", retcode);
108
throw
ODBC
.NotSupportedIsolationLevel(isolevel);
205
ODBC
.TraceODBC(3, "SQLDriverConnectW", retcode);
234
ODBC
.TraceODBC(3, "SQLGetFunctions", retcode);
253
ODBC
.TraceODBC(3, "SQLSetConnectAttrW", retcode);
System\Data\Odbc\OdbcConnectionOpen.cs (1)
25
throw
ODBC
.OpenConnectionNoOwner();
System\Data\Odbc\OdbcEnvironmentHandle.cs (1)
42
throw
ODBC
.CantEnableConnectionpooling(retcode);
System\Data\Odbc\OdbcHandle.cs (7)
74
throw
ODBC
.CantAllocateEnvironmentHandle(retcode);
113
throw
ODBC
.FailedToGetDescriptorHandle(retcode);
188
ODBC
.TraceODBC(3, "SQLGetDiagFieldW", retcode);
207
ODBC
.TraceODBC(3, "SQLGetDiagRecW", retcode);
231
ODBC
.TraceODBC(3, "SQLGetDescFieldW", retcode);
238
ODBC
.TraceODBC(3, "SQLSetDescFieldW", retcode);
245
ODBC
.TraceODBC(3, "SQLSetDescFieldW", retcode);
System\Data\Odbc\OdbcMetaDataFactory.cs (1)
839
throw
ODBC
.GetSchemaRestrictionRequired();
System\Data\Odbc\OdbcStatementHandle.cs (47)
63
ODBC
.TraceODBC(3, "SQLBindCol", retcode);
70
ODBC
.TraceODBC(3, "SQLBindCol", retcode);
86
ODBC
.TraceODBC(3, "SQLBindParameter", retcode);
95
ODBC
.TraceODBC(3, "SQLCancel", retcode);
102
ODBC
.TraceODBC(3, "SQLCloseCursor", retcode);
111
ODBC
.TraceODBC(3, "SQLColAttributeW", retcode);
122
ODBC
.ShortStringLength(tableCatalog),
124
ODBC
.ShortStringLength(tableSchema),
126
ODBC
.ShortStringLength(tableName),
128
ODBC
.ShortStringLength(columnName));
130
ODBC
.TraceODBC(3, "SQLColumnsW", retcode);
137
ODBC
.TraceODBC(3, "SQLExecute", retcode);
144
ODBC
.TraceODBC(3, "SQLExecDirectW", retcode);
151
ODBC
.TraceODBC(3, "SQLFetch", retcode);
158
ODBC
.TraceODBC(3, "SQLFreeStmt", retcode);
170
ODBC
.TraceODBC(3, "SQLGetData", retcode);
177
ODBC
.TraceODBC(3, "SQLGetStmtAttrW", retcode);
184
ODBC
.TraceODBC(3, "SQLGetTypeInfo", retcode);
191
ODBC
.TraceODBC(3, "SQLMoreResults", retcode);
198
ODBC
.TraceODBC(3, "SQLNumResultCols", retcode);
205
ODBC
.TraceODBC(3, "SQLPrepareW", retcode);
212
catalogName,
ODBC
.ShortStringLength(catalogName), // CatalogName
213
schemaName,
ODBC
.ShortStringLength(schemaName), // SchemaName
214
tableName,
ODBC
.ShortStringLength(tableName) // TableName
216
ODBC
.TraceODBC(3, "SQLPrimaryKeysW", retcode);
226
ODBC
.ShortStringLength(procedureCatalog),
228
ODBC
.ShortStringLength(procedureSchema),
230
ODBC
.ShortStringLength(procedureName));
232
ODBC
.TraceODBC(3, "SQLProceduresW", retcode);
243
ODBC
.ShortStringLength(procedureCatalog),
245
ODBC
.ShortStringLength(procedureSchema),
247
ODBC
.ShortStringLength(procedureName),
249
ODBC
.ShortStringLength(columnName));
251
ODBC
.TraceODBC(3, "SQLProcedureColumnsW", retcode);
260
ODBC
.TraceODBC(3, "SQLRowCount", retcode);
267
ODBC
.TraceODBC(3, "SQLSetStmtAttrW", retcode);
275
quotedTable,
ODBC
.ShortStringLength(quotedTable),
277
ODBC
.TraceODBC(3, "SQLSpecialColumnsW", retcode);
297
ODBC
.ShortStringLength(tableCatalog),
299
ODBC
.ShortStringLength(tableSchema),
301
ODBC
.ShortStringLength(tableName),
310
ODBC
.TraceODBC(3, "SQLStatisticsW", retcode);
326
ODBC
.ShortStringLength(tableCatalog),
328
ODBC
.ShortStringLength(tableSchema),
330
ODBC
.ShortStringLength(tableName),
332
ODBC
.ShortStringLength(tableType));
334
ODBC
.TraceODBC(3, "SQLTablesW", retcode);
System\Data\Odbc\OdbcTransaction.cs (3)
61
_ => throw
ODBC
.NoMappingForSqlTransactionLevel(sql_iso),
82
throw
ODBC
.NotInTransaction();
155
throw
ODBC
.NotInTransaction();