285 references to SQLRETURN
System.Data.Odbc (285)
src\libraries\Common\src\Interop\Interop.Odbc.cs (44)
24internal static partial ODBC32.SQLRETURN SQLAllocHandle( 30internal static partial ODBC32.SQLRETURN SQLAllocHandle( 36internal static partial /*SQLRETURN*/ODBC32.SQLRETURN SQLBindCol( 49internal static partial ODBC32.SQLRETURN SQLBindCol( 58internal static partial /*SQLRETURN*/ODBC32.SQLRETURN SQLBindParameter( 79internal static partial ODBC32.SQLRETURN SQLCancel( 83internal static partial ODBC32.SQLRETURN SQLCloseCursor( 87internal static partial ODBC32.SQLRETURN SQLColAttributeW( 112internal static partial ODBC32.SQLRETURN SQLColumnsW( 124internal static partial ODBC32.SQLRETURN SQLDisconnect( 128internal static partial ODBC32.SQLRETURN SQLDriverConnectW( 139internal static partial ODBC32.SQLRETURN SQLEndTran( 145internal static partial ODBC32.SQLRETURN SQLExecDirectW( 151internal static partial ODBC32.SQLRETURN SQLExecute( 155internal static partial ODBC32.SQLRETURN SQLFetch( 159internal static partial ODBC32.SQLRETURN SQLFreeHandle( 164internal static partial ODBC32.SQLRETURN SQLFreeStmt( 169internal static partial ODBC32.SQLRETURN SQLGetConnectAttrW( 177internal static partial ODBC32.SQLRETURN SQLGetData( 186internal static partial ODBC32.SQLRETURN SQLGetDescFieldW( 195internal static partial ODBC32.SQLRETURN SQLGetDiagRecW( 206internal static partial ODBC32.SQLRETURN SQLGetDiagFieldW( 216internal static partial ODBC32.SQLRETURN SQLGetFunctions( 222internal static partial ODBC32.SQLRETURN SQLGetInfoW( 230internal static partial ODBC32.SQLRETURN SQLGetInfoW( 238internal static partial ODBC32.SQLRETURN SQLGetStmtAttrW( 246internal static partial ODBC32.SQLRETURN SQLGetTypeInfo( 251internal static partial ODBC32.SQLRETURN SQLMoreResults( 255internal static partial ODBC32.SQLRETURN SQLNumResultCols( 260internal static partial ODBC32.SQLRETURN SQLPrepareW( 266internal static partial ODBC32.SQLRETURN SQLPrimaryKeysW( 276internal static partial ODBC32.SQLRETURN SQLProcedureColumnsW( 288internal static partial ODBC32.SQLRETURN SQLProceduresW( 298internal static partial ODBC32.SQLRETURN SQLRowCount( 303internal static partial ODBC32.SQLRETURN SQLSetConnectAttrW( 310internal static partial ODBC32.SQLRETURN SQLSetConnectAttrW( 317internal static partial ODBC32.SQLRETURN SQLSetConnectAttrW( // used only for AutoCommitOn 324internal static partial /*SQLRETURN*/ODBC32.SQLRETURN SQLSetDescFieldW( 336internal static partial ODBC32.SQLRETURN SQLSetDescFieldW( 345internal static partial ODBC32.SQLRETURN SQLSetEnvAttr( 352internal static partial ODBC32.SQLRETURN SQLSetStmtAttrW( 359internal static partial ODBC32.SQLRETURN SQLSpecialColumnsW( 372internal static partial ODBC32.SQLRETURN SQLStatisticsW( 384internal static partial ODBC32.SQLRETURN SQLTablesW(
System\Data\Odbc\Odbc32.cs (18)
92internal static Exception CantEnableConnectionpooling(ODBC32.SQLRETURN retcode) 96internal static Exception CantAllocateEnvironmentHandle(ODBC32.SQLRETURN retcode) 100internal static Exception FailedToGetDescriptorHandle(ODBC32.SQLRETURN retcode) 115internal static void TraceODBC(int level, string method, ODBC32.SQLRETURN retcode) 145internal static string RetcodeToString(SQLRETURN retcode) 149case SQLRETURN.SUCCESS: return "SUCCESS"; 150case SQLRETURN.SUCCESS_WITH_INFO: return "SUCCESS_WITH_INFO"; 151case SQLRETURN.ERROR: return "ERROR"; 152case SQLRETURN.INVALID_HANDLE: return "INVALID_HANDLE"; 153case SQLRETURN.NO_DATA: return "NO_DATA"; 156goto case SQLRETURN.ERROR; 713internal static OdbcErrorCollection GetDiagErrors(string? source, OdbcHandle hrHandle, SQLRETURN retcode) 720internal static void GetDiagErrors(OdbcErrorCollection errors, string? source, OdbcHandle hrHandle, SQLRETURN retcode) 722Debug.Assert(retcode != ODBC32.SQLRETURN.INVALID_HANDLE, "retcode must never be ODBC32.RetCode.INVALID_HANDLE"); 723if (SQLRETURN.SUCCESS != retcode) 737if ((SQLRETURN.SUCCESS_WITH_INFO == retcode) && (message.Capacity - 1 < cchActual)) 745moreerrors = (retcode == SQLRETURN.SUCCESS || retcode == SQLRETURN.SUCCESS_WITH_INFO);
System\Data\Odbc\OdbcCommand.cs (18)
448ODBC32.SQLRETURN retcode = stmt.Cancel(); 453case ODBC32.SQLRETURN.SUCCESS: 454case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 598ODBC32.SQLRETURN retcode; 670if (ODBC32.SQLRETURN.SUCCESS != retcode) 714if (retcode == ODBC32.SQLRETURN.SUCCESS || retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO) 721else if (retcode == ODBC32.SQLRETURN.NO_DATA) 800if ((ODBC32.SQLRETURN.SUCCESS != retcode) && (ODBC32.SQLRETURN.NO_DATA != retcode)) 880ODBC32.SQLRETURN retcode; 902if (ODBC32.SQLRETURN.SUCCESS != retcode) 913ODBC32.SQLRETURN retcode = stmt.SetStatementAttribute( 918if (retcode == ODBC32.SQLRETURN.ERROR) 1099ODBC32.SQLRETURN retcode; 1159internal void StatementErrorHandler(ODBC32.SQLRETURN retcode) 1163case ODBC32.SQLRETURN.SUCCESS: 1164case ODBC32.SQLRETURN.SUCCESS_WITH_INFO:
System\Data\Odbc\OdbcCommandBuilder.cs (2)
185ODBC32.SQLRETURN retcode = hstmt.ProcedureColumns(parts[1], parts[2], parts[3], null); 190if (ODBC32.SQLRETURN.SUCCESS != retcode)
System\Data\Odbc\OdbcConnection.cs (28)
389ODBC32.SQLRETURN retcode = connectionHandle.GetConnectionAttribute(attribute, buffer, out cbActual); 397if ((ODBC32.SQLRETURN.SUCCESS == retcode) || (ODBC32.SQLRETURN.SUCCESS_WITH_INFO == retcode)) 401else if (retcode == ODBC32.SQLRETURN.ERROR) 421ODBC32.SQLRETURN retcode = connectionHandle.GetConnectionAttribute(attribute, buffer, out _); 423if ((ODBC32.SQLRETURN.SUCCESS == retcode) || (ODBC32.SQLRETURN.SUCCESS_WITH_INFO == retcode)) 429if (retcode == ODBC32.SQLRETURN.ERROR) 454internal ODBC32.SQLRETURN GetInfoInt16Unhandled(ODBC32.SQL_INFO info, out short resultValue) 457ODBC32.SQLRETURN retcode = ConnectionHandle!.GetInfo1(info, buffer); 462internal ODBC32.SQLRETURN GetInfoInt32Unhandled(ODBC32.SQL_INFO info, out int resultValue) 465ODBC32.SQLRETURN retcode = ConnectionHandle!.GetInfo1(info, buffer); 491ODBC32.SQLRETURN retcode = connectionHandle.GetInfo2(info, buffer, out cbActual); 499if (retcode == ODBC32.SQLRETURN.SUCCESS || retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO) 516internal Exception? HandleErrorNoThrow(OdbcHandle hrHandle, ODBC32.SQLRETURN retcode) 518Debug.Assert(retcode != ODBC32.SQLRETURN.INVALID_HANDLE, "retcode must never be ODBC32.RetCode.INVALID_HANDLE"); 522case ODBC32.SQLRETURN.SUCCESS: 524case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 545internal void HandleError(OdbcHandle hrHandle, ODBC32.SQLRETURN retcode) 550case ODBC32.SQLRETURN.SUCCESS: 551case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 778ODBC32.SQLRETURN retcode; 792if (retcode != ODBC32.SQLRETURN.SUCCESS) 925ODBC32.SQLRETURN retcode = connectionHandle.BeginTransaction(ref isolevel); 926if (retcode == ODBC32.SQLRETURN.ERROR) 952ODBC32.SQLRETURN retcode = connectionHandle.SetConnectionAttribute3(ODBC32.SQL_ATTR.CURRENT_CATALOG, value, checked((int)value.Length * 2)); 954if (retcode != ODBC32.SQLRETURN.SUCCESS)
System\Data\Odbc\OdbcConnectionHandle.cs (34)
34ODBC32.SQLRETURN retcode; 54private ODBC32.SQLRETURN AutoCommitOff() 56ODBC32.SQLRETURN retcode; 67case ODBC32.SQLRETURN.SUCCESS: 68case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 77internal ODBC32.SQLRETURN BeginTransaction(ref IsolationLevel isolevel) 79ODBC32.SQLRETURN retcode = ODBC32.SQLRETURN.SUCCESS; 121if (ODBC32.SQLRETURN.SUCCESS_WITH_INFO == retcode) 129case ODBC32.SQLRETURN.SUCCESS: 130case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 139internal ODBC32.SQLRETURN CompleteTransaction(short transactionOperation) 146ODBC32.SQLRETURN retcode = CompleteTransaction(transactionOperation, base.handle); 158private ODBC32.SQLRETURN CompleteTransaction(short transactionOperation, IntPtr handle) 162ODBC32.SQLRETURN retcode = ODBC32.SQLRETURN.SUCCESS; 170if ((ODBC32.SQLRETURN.SUCCESS == retcode) || (ODBC32.SQLRETURN.SUCCESS_WITH_INFO == retcode)) 187private ODBC32.SQLRETURN Connect(string connectionString) 191ODBC32.SQLRETURN retcode; 199case ODBC32.SQLRETURN.SUCCESS: 200case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 225internal ODBC32.SQLRETURN GetConnectionAttribute(ODBC32.SQL_ATTR attribute, byte[] buffer, out int cbActual) 227ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetConnectAttrW(this, attribute, buffer, buffer.Length, out cbActual); 231internal ODBC32.SQLRETURN GetFunctions(ODBC32.SQL_API fFunction, out short fExists) 233ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetFunctions(this, fFunction, out fExists); 238internal ODBC32.SQLRETURN GetInfo2(ODBC32.SQL_INFO info, byte[] buffer, out short cbActual) 240ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetInfoW(this, info, buffer, checked((short)buffer.Length), out cbActual); 244internal ODBC32.SQLRETURN GetInfo1(ODBC32.SQL_INFO info, byte[] buffer) 246ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetInfoW(this, info, buffer, checked((short)buffer.Length), ADP.PtrZero); 250internal ODBC32.SQLRETURN SetConnectionAttribute2(ODBC32.SQL_ATTR attribute, IntPtr value, int length) 252ODBC32.SQLRETURN retcode = Interop.Odbc.SQLSetConnectAttrW(this, attribute, value, length); 257internal ODBC32.SQLRETURN SetConnectionAttribute3(ODBC32.SQL_ATTR attribute, string buffer, int length) 259ODBC32.SQLRETURN retcode = Interop.Odbc.SQLSetConnectAttrW(this, attribute, buffer, length);
System\Data\Odbc\OdbcDataReader.cs (47)
177ODBC32.SQLRETURN retcode = this.FieldCountNoThrow(out _); 178if (retcode != ODBC32.SQLRETURN.SUCCESS) 210internal ODBC32.SQLRETURN FieldCountNoThrow(out short cColsAffected) 215return ODBC32.SQLRETURN.ERROR; 218ODBC32.SQLRETURN retcode = StatementHandle.NumberOfResultColumns(out cColsAffected); 219if (retcode == ODBC32.SQLRETURN.SUCCESS) 262ODBC32.SQLRETURN retcode = StatementHandle.RowCount(out cRowsAffected); 263if (ODBC32.SQLRETURN.SUCCESS == retcode || ODBC32.SQLRETURN.SUCCESS_WITH_INFO == retcode) 1534ODBC32.SQLRETURN retcode; 1556if (retcode != ODBC32.SQLRETURN.SUCCESS) 1558if (retcode == ODBC32.SQLRETURN.ERROR) 1585ODBC32.SQLRETURN retcode; 1610if ((retcode != ODBC32.SQLRETURN.SUCCESS) || (cchNameLength == 0)) 1612if (retcode == ODBC32.SQLRETURN.ERROR) 1649ODBC32.SQLRETURN retcode; 1661if ((retcode != ODBC32.SQLRETURN.SUCCESS) || (numericAttribute == 0)) 1663if (retcode == ODBC32.SQLRETURN.ERROR) 1737ODBC32.SQLRETURN retcode = StatementHandle.GetData( 1746case ODBC32.SQLRETURN.SUCCESS: 1748case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 1756case ODBC32.SQLRETURN.NO_DATA: 1832ODBC32.SQLRETURN retcode; 1843case ODBC32.SQLRETURN.SUCCESS_WITH_INFO: 1848case ODBC32.SQLRETURN.SUCCESS: 1852case ODBC32.SQLRETURN.NO_DATA: 1890ODBC32.SQLRETURN retcode = FieldCountNoThrow(out cCols); 1891if ((retcode == ODBC32.SQLRETURN.SUCCESS) && (cCols == 0)) 1916ODBC32.SQLRETURN retcode, firstRetCode = ODBC32.SQLRETURN.SUCCESS; 1946hasMoreResults = ((retcode == ODBC32.SQLRETURN.SUCCESS) 1947|| (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)); 1949if (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO) 1953else if (!disposing && (retcode != ODBC32.SQLRETURN.NO_DATA) && (ODBC32.SQLRETURN.SUCCESS != retcode)) 1979|| ((ODBC32.SQLRETURN.NO_DATA != retcode) && allresults && (loop < MaxConsecutiveFailure)) // or process all results until done 1982if (retcode == ODBC32.SQLRETURN.NO_DATA) 2310ODBC32.SQLRETURN retcode; 2340if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 2352while (ODBC32.SQLRETURN.SUCCESS == (retcode = KeyInfoStatementHandle.Fetch())) 2417if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 2429while (ODBC32.SQLRETURN.SUCCESS == (retcode = KeyInfoStatementHandle.Fetch())) 2474ODBC32.SQLRETURN retcode; 2497if (retcode != ODBC32.SQLRETURN.SUCCESS) 2548while (ODBC32.SQLRETURN.SUCCESS == (retcode = KeyInfoStatementHandle.Fetch()))
System\Data\Odbc\OdbcEnvironmentHandle.cs (3)
13ODBC32.SQLRETURN retcode; 37case ODBC32.SQLRETURN.SUCCESS: 38case ODBC32.SQLRETURN.SUCCESS_WITH_INFO:
System\Data\Odbc\OdbcException.cs (1)
16internal static OdbcException CreateException(OdbcErrorCollection errors, ODBC32.SQLRETURN retcode)
System\Data\Odbc\OdbcHandle.cs (18)
22ODBC32.SQLRETURN retcode = ODBC32.SQLRETURN.SUCCESS; 71if ((ADP.PtrZero == base.handle) || (ODBC32.SQLRETURN.SUCCESS != retcode)) 84ODBC32.SQLRETURN retcode; 176internal ODBC32.SQLRETURN GetDiagnosticField(out string sqlState) 180ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetDiagFieldW( 189if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 200internal ODBC32.SQLRETURN GetDiagnosticRecord(short record, out string sqlState, StringBuilder messageBuilder, out int nativeError, out short cchActual) 206ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetDiagRecW(HandleType, this, record, buffer, out nativeError, message, checked((short)message.Length), out cchActual); 209if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 228internal ODBC32.SQLRETURN GetDescriptionField(int i, ODBC32.SQL_DESC attribute, CNativeBuffer buffer, out int numericAttribute) 230ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetDescFieldW(this, checked((short)i), attribute, buffer, buffer.ShortLength, out numericAttribute); 235internal ODBC32.SQLRETURN SetDescriptionField1(short ordinal, ODBC32.SQL_DESC type, IntPtr value) 237ODBC32.SQLRETURN retcode = Interop.Odbc.SQLSetDescFieldW(this, ordinal, type, value, 0); 242internal ODBC32.SQLRETURN SetDescriptionField2(short ordinal, ODBC32.SQL_DESC type, HandleRef value) 244ODBC32.SQLRETURN retcode = Interop.Odbc.SQLSetDescFieldW(this, ordinal, type, value, 0);
System\Data\Odbc\OdbcMetaDataFactory.cs (9)
587ODBC32.SQLRETURN retcode; 628if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 655if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 688if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO)) 755if ((retcode == ODBC32.SQLRETURN.SUCCESS) || (retcode == ODBC32.SQLRETURN.SUCCESS_WITH_INFO))
System\Data\Odbc\OdbcParameter.cs (6)
794ODBC32.SQLRETURN retcode; 873if (ODBC32.SQLRETURN.SUCCESS != retcode) 904if (ODBC32.SQLRETURN.SUCCESS != retcode) 916if (ODBC32.SQLRETURN.SUCCESS != retcode) 928if (ODBC32.SQLRETURN.SUCCESS != retcode) 938if (ODBC32.SQLRETURN.SUCCESS != retcode)
System\Data\Odbc\OdbcStatementHandle.cs (51)
60internal ODBC32.SQLRETURN BindColumn2(int columnNumber, ODBC32.SQL_C targetType, HandleRef buffer, IntPtr length, IntPtr srLen_or_Ind) 62ODBC32.SQLRETURN retcode = Interop.Odbc.SQLBindCol(this, checked((ushort)columnNumber), targetType, buffer, length, srLen_or_Ind); 67internal ODBC32.SQLRETURN BindColumn3(int columnNumber, ODBC32.SQL_C targetType, IntPtr srLen_or_Ind) 69ODBC32.SQLRETURN retcode = Interop.Odbc.SQLBindCol(this, checked((ushort)columnNumber), targetType, ADP.PtrZero, ADP.PtrZero, srLen_or_Ind); 74internal ODBC32.SQLRETURN BindParameter(short ordinal, short parameterDirection, ODBC32.SQL_C sqlctype, ODBC32.SQL_TYPE sqltype, IntPtr cchSize, IntPtr scale, HandleRef buffer, IntPtr bufferLength, HandleRef intbuffer) 76ODBC32.SQLRETURN retcode = Interop.Odbc.SQLBindParameter(this, 90internal ODBC32.SQLRETURN Cancel() 94ODBC32.SQLRETURN retcode = Interop.Odbc.SQLCancel(this); 99internal ODBC32.SQLRETURN CloseCursor() 101ODBC32.SQLRETURN retcode = Interop.Odbc.SQLCloseCursor(this); 106internal ODBC32.SQLRETURN ColumnAttribute(int columnNumber, short fieldIdentifier, CNativeBuffer characterAttribute, out short stringLength, out SQLLEN numericAttribute) 109ODBC32.SQLRETURN retcode = Interop.Odbc.SQLColAttributeW(this, checked((short)columnNumber), fieldIdentifier, characterAttribute, characterAttribute.ShortLength, out stringLength, out result); 115internal ODBC32.SQLRETURN Columns(string tableCatalog, 120ODBC32.SQLRETURN retcode = Interop.Odbc.SQLColumnsW(this, 134internal ODBC32.SQLRETURN Execute() 136ODBC32.SQLRETURN retcode = Interop.Odbc.SQLExecute(this); 141internal ODBC32.SQLRETURN ExecuteDirect(string commandText) 143ODBC32.SQLRETURN retcode = Interop.Odbc.SQLExecDirectW(this, commandText, ODBC32.SQL_NTS); 148internal ODBC32.SQLRETURN Fetch() 150ODBC32.SQLRETURN retcode = Interop.Odbc.SQLFetch(this); 155internal ODBC32.SQLRETURN FreeStatement(ODBC32.STMT stmt) 157ODBC32.SQLRETURN retcode = Interop.Odbc.SQLFreeStmt(this, stmt); 162internal ODBC32.SQLRETURN GetData(int index, ODBC32.SQL_C sqlctype, CNativeBuffer buffer, int cb, out IntPtr cbActual) 164ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetData(this, 174internal ODBC32.SQLRETURN GetStatementAttribute(ODBC32.SQL_ATTR attribute, out IntPtr value, out int stringLength) 176ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetStmtAttrW(this, attribute, out value, ADP.PtrSize, out stringLength); 181internal ODBC32.SQLRETURN GetTypeInfo(short fSqlType) 183ODBC32.SQLRETURN retcode = Interop.Odbc.SQLGetTypeInfo(this, fSqlType); 188internal ODBC32.SQLRETURN MoreResults() 190ODBC32.SQLRETURN retcode = Interop.Odbc.SQLMoreResults(this); 195internal ODBC32.SQLRETURN NumberOfResultColumns(out short columnsAffected) 197ODBC32.SQLRETURN retcode = Interop.Odbc.SQLNumResultCols(this, out columnsAffected); 202internal ODBC32.SQLRETURN Prepare(string commandText) 204ODBC32.SQLRETURN retcode = Interop.Odbc.SQLPrepareW(this, commandText, ODBC32.SQL_NTS); 209internal ODBC32.SQLRETURN PrimaryKeys(string? catalogName, string? schemaName, string tableName) 211ODBC32.SQLRETURN retcode = Interop.Odbc.SQLPrimaryKeysW(this, 220internal ODBC32.SQLRETURN Procedures(string procedureCatalog, 224ODBC32.SQLRETURN retcode = Interop.Odbc.SQLProceduresW(this, 236internal ODBC32.SQLRETURN ProcedureColumns(string? procedureCatalog, 241ODBC32.SQLRETURN retcode = Interop.Odbc.SQLProcedureColumnsW(this, 255internal ODBC32.SQLRETURN RowCount(out SQLLEN rowCount) 258ODBC32.SQLRETURN retcode = Interop.Odbc.SQLRowCount(this, out result); 264internal ODBC32.SQLRETURN SetStatementAttribute(ODBC32.SQL_ATTR attribute, IntPtr value, ODBC32.SQL_IS stringLength) 266ODBC32.SQLRETURN retcode = Interop.Odbc.SQLSetStmtAttrW(this, (int)attribute, value, (int)stringLength); 271internal ODBC32.SQLRETURN SpecialColumns(string quotedTable) 273ODBC32.SQLRETURN retcode = Interop.Odbc.SQLSpecialColumnsW(this, 281internal ODBC32.SQLRETURN Statistics(string? tableCatalog, 287ODBC32.SQLRETURN retcode; 314internal ODBC32.SQLRETURN Statistics(string tableName) 319internal ODBC32.SQLRETURN Tables(string tableCatalog, 324ODBC32.SQLRETURN retcode = Interop.Odbc.SQLTablesW(this,
System\Data\Odbc\OdbcTransaction.cs (6)
85ODBC32.SQLRETURN retcode = _handle.CompleteTransaction(ODBC32.SQL_COMMIT); 86if (retcode == ODBC32.SQLRETURN.ERROR) 109ODBC32.SQLRETURN retcode = handle.CompleteTransaction(ODBC32.SQL_ROLLBACK); 110if (retcode == ODBC32.SQLRETURN.ERROR) 158ODBC32.SQLRETURN retcode = _handle.CompleteTransaction(ODBC32.SQL_ROLLBACK); 159if (retcode == ODBC32.SQLRETURN.ERROR)