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