409 references to SQLRETURN
System.Data.Odbc (409)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (124)
8
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLAllocHandle(global::System.Data.Odbc.ODBC32.SQL_HANDLE HandleType, nint InputHandle, out nint OutputHandle)
13
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal;
22
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(global::System.Data.Odbc.ODBC32.SQL_HANDLE __HandleType_native, nint __InputHandle_native, nint* __OutputHandle_native);
33
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLAllocHandle(global::System.Data.Odbc.ODBC32.SQL_HANDLE HandleType, global::System.Data.Odbc.OdbcHandle InputHandle, out nint OutputHandle)
39
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
62
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(global::System.Data.Odbc.ODBC32.SQL_HANDLE __HandleType_native, nint __InputHandle_native, nint* __OutputHandle_native);
73
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLBindCol(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, ushort ColumnNumber, global::System.Data.Odbc.ODBC32.SQL_C TargetType, global::System.Runtime.InteropServices.HandleRef TargetValue, nint BufferLength, nint StrLen_or_Ind)
79
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
106
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort __ColumnNumber_native, global::System.Data.Odbc.ODBC32.SQL_C __TargetType_native, nint __TargetValue_native, nint __BufferLength_native, nint __StrLen_or_Ind_native);
117
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLBindCol(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, ushort ColumnNumber, global::System.Data.Odbc.ODBC32.SQL_C TargetType, nint TargetValue, nint BufferLength, nint StrLen_or_Ind)
122
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
143
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort __ColumnNumber_native, global::System.Data.Odbc.ODBC32.SQL_C __TargetType_native, nint __TargetValue_native, nint __BufferLength_native, nint __StrLen_or_Ind_native);
154
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLBindParameter(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, ushort ParameterNumber, short ParamDirection, global::System.Data.Odbc.ODBC32.SQL_C SQLCType, short SQLType, nint cbColDef, nint ibScale, global::System.Runtime.InteropServices.HandleRef rgbValue, nint BufferLength, global::System.Runtime.InteropServices.HandleRef StrLen_or_Ind)
161
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
193
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort __ParameterNumber_native, short __ParamDirection_native, global::System.Data.Odbc.ODBC32.SQL_C __SQLCType_native, short __SQLType_native, nint __cbColDef_native, nint __ibScale_native, nint __rgbValue_native, nint __BufferLength_native, nint __StrLen_or_Ind_native);
204
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLCancel(global::System.Data.Odbc.OdbcStatementHandle StatementHandle)
209
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
230
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native);
241
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLCloseCursor(global::System.Data.Odbc.OdbcStatementHandle StatementHandle)
246
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
267
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native);
278
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLColAttributeW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, short ColumnNumber, short FieldIdentifier, global::System.Data.Odbc.CNativeBuffer CharacterAttribute, short BufferLength, out short StringLength, out nint NumericAttribute)
286
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
314
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, short __ColumnNumber_native, short __FieldIdentifier_native, nint __CharacterAttribute_native, short __BufferLength_native, short* __StringLength_native, nint* __NumericAttribute_native);
325
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLColumnsW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string CatalogName, short NameLen1, string SchemaName, short NameLen2, string TableName, short NameLen3, string ColumnName, short NameLen4)
330
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
356
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, ushort* __TableName_native, short __NameLen3_native, ushort* __ColumnName_native, short __NameLen4_native);
366
internal static extern partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLDisconnect(nint ConnectionHandle);
375
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLDriverConnectW(global::System.Data.Odbc.OdbcConnectionHandle hdbc, nint hwnd, string connectionstring, short cbConnectionstring, nint connectionstringout, short cbConnectionstringoutMax, out short cbConnectionstringout, short fDriverCompletion)
381
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
405
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __hdbc_native, nint __hwnd_native, ushort* __connectionstring_native, short __cbConnectionstring_native, nint __connectionstringout_native, short __cbConnectionstringoutMax_native, short* __cbConnectionstringout_native, short __fDriverCompletion_native);
415
internal static extern partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLEndTran(global::System.Data.Odbc.ODBC32.SQL_HANDLE HandleType, nint Handle, short CompletionType);
424
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLExecDirectW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string StatementText, int TextLength)
429
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
452
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __StatementText_native, int __TextLength_native);
463
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLExecute(global::System.Data.Odbc.OdbcStatementHandle StatementHandle)
468
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
489
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native);
500
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLFetch(global::System.Data.Odbc.OdbcStatementHandle StatementHandle)
505
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
526
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native);
536
internal static extern partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLFreeHandle(global::System.Data.Odbc.ODBC32.SQL_HANDLE HandleType, nint StatementHandle);
545
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLFreeStmt(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, global::System.Data.Odbc.ODBC32.STMT Option)
550
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
571
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, global::System.Data.Odbc.ODBC32.STMT __Option_native);
582
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetConnectAttrW(global::System.Data.Odbc.OdbcConnectionHandle ConnectionHandle, global::System.Data.Odbc.ODBC32.SQL_ATTR Attribute, byte[] Value, int BufferLength, out int StringLength)
588
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
612
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __ConnectionHandle_native, global::System.Data.Odbc.ODBC32.SQL_ATTR __Attribute_native, byte* __Value_native, int __BufferLength_native, int* __StringLength_native);
623
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetData(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, ushort ColumnNumber, global::System.Data.Odbc.ODBC32.SQL_C TargetType, global::System.Data.Odbc.CNativeBuffer TargetValue, nint BufferLength, out nint StrLen_or_Ind)
630
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
657
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort __ColumnNumber_native, global::System.Data.Odbc.ODBC32.SQL_C __TargetType_native, nint __TargetValue_native, nint __BufferLength_native, nint* __StrLen_or_Ind_native);
668
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetDescFieldW(global::System.Data.Odbc.OdbcDescriptorHandle StatementHandle, short RecNumber, global::System.Data.Odbc.ODBC32.SQL_DESC FieldIdentifier, global::System.Data.Odbc.CNativeBuffer ValuePointer, int BufferLength, out int StringLength)
675
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
702
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, short __RecNumber_native, global::System.Data.Odbc.ODBC32.SQL_DESC __FieldIdentifier_native, nint __ValuePointer_native, int __BufferLength_native, int* __StringLength_native);
713
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetDiagRecW(global::System.Data.Odbc.ODBC32.SQL_HANDLE HandleType, global::System.Data.Odbc.OdbcHandle Handle, short RecNumber, char[] rchState, out int NativeError, char[] MessageText, short BufferLength, out short TextLength)
720
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
746
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(global::System.Data.Odbc.ODBC32.SQL_HANDLE __HandleType_native, nint __Handle_native, short __RecNumber_native, char* __rchState_native, int* __NativeError_native, char* __MessageText_native, short __BufferLength_native, short* __TextLength_native);
757
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetDiagFieldW(global::System.Data.Odbc.ODBC32.SQL_HANDLE HandleType, global::System.Data.Odbc.OdbcHandle Handle, short RecNumber, short DiagIdentifier, char[] rchState, short BufferLength, out short StringLength)
763
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
787
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(global::System.Data.Odbc.ODBC32.SQL_HANDLE __HandleType_native, nint __Handle_native, short __RecNumber_native, short __DiagIdentifier_native, char* __rchState_native, short __BufferLength_native, short* __StringLength_native);
798
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetFunctions(global::System.Data.Odbc.OdbcConnectionHandle hdbc, global::System.Data.Odbc.ODBC32.SQL_API fFunction, out short pfExists)
804
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
827
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __hdbc_native, global::System.Data.Odbc.ODBC32.SQL_API __fFunction_native, short* __pfExists_native);
838
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetInfoW(global::System.Data.Odbc.OdbcConnectionHandle hdbc, global::System.Data.Odbc.ODBC32.SQL_INFO fInfoType, byte[] rgbInfoValue, short cbInfoValueMax, out short pcbInfoValue)
844
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
868
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __hdbc_native, global::System.Data.Odbc.ODBC32.SQL_INFO __fInfoType_native, byte* __rgbInfoValue_native, short __cbInfoValueMax_native, short* __pcbInfoValue_native);
879
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetInfoW(global::System.Data.Odbc.OdbcConnectionHandle hdbc, global::System.Data.Odbc.ODBC32.SQL_INFO fInfoType, byte[] rgbInfoValue, short cbInfoValueMax, nint pcbInfoValue)
884
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
907
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __hdbc_native, global::System.Data.Odbc.ODBC32.SQL_INFO __fInfoType_native, byte* __rgbInfoValue_native, short __cbInfoValueMax_native, nint __pcbInfoValue_native);
918
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetStmtAttrW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, global::System.Data.Odbc.ODBC32.SQL_ATTR Attribute, out nint Value, int BufferLength, out int StringLength)
925
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
949
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, global::System.Data.Odbc.ODBC32.SQL_ATTR __Attribute_native, nint* __Value_native, int __BufferLength_native, int* __StringLength_native);
960
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLGetTypeInfo(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, short fSqlType)
965
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
986
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, short __fSqlType_native);
997
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLMoreResults(global::System.Data.Odbc.OdbcStatementHandle StatementHandle)
1002
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1023
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native);
1034
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLNumResultCols(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, out short ColumnCount)
1040
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1063
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, short* __ColumnCount_native);
1074
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLPrepareW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string StatementText, int TextLength)
1079
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1102
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __StatementText_native, int __TextLength_native);
1113
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLPrimaryKeysW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string CatalogName, short NameLen1, string SchemaName, short NameLen2, string TableName, short NameLen3)
1118
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1143
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, ushort* __TableName_native, short __NameLen3_native);
1154
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLProcedureColumnsW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string CatalogName, short NameLen1, string SchemaName, short NameLen2, string ProcName, short NameLen3, string ColumnName, short NameLen4)
1159
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1185
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, ushort* __ProcName_native, short __NameLen3_native, ushort* __ColumnName_native, short __NameLen4_native);
1196
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLProceduresW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string CatalogName, short NameLen1, string SchemaName, short NameLen2, string ProcName, short NameLen3)
1201
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1226
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, ushort* __ProcName_native, short __NameLen3_native);
1237
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLRowCount(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, out nint RowCount)
1243
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1266
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, nint* __RowCount_native);
1277
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetConnectAttrW(global::System.Data.Odbc.OdbcConnectionHandle ConnectionHandle, global::System.Data.Odbc.ODBC32.SQL_ATTR Attribute, string Value, int StringLength)
1282
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1305
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __ConnectionHandle_native, global::System.Data.Odbc.ODBC32.SQL_ATTR __Attribute_native, ushort* __Value_native, int __StringLength_native);
1316
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetConnectAttrW(global::System.Data.Odbc.OdbcConnectionHandle ConnectionHandle, global::System.Data.Odbc.ODBC32.SQL_ATTR Attribute, nint Value, int StringLength)
1321
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1342
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __ConnectionHandle_native, global::System.Data.Odbc.ODBC32.SQL_ATTR __Attribute_native, nint __Value_native, int __StringLength_native);
1352
internal static extern partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetConnectAttrW(nint ConnectionHandle, global::System.Data.Odbc.ODBC32.SQL_ATTR Attribute, nint Value, int StringLength);
1361
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetDescFieldW(global::System.Data.Odbc.OdbcDescriptorHandle StatementHandle, short ColumnNumber, global::System.Data.Odbc.ODBC32.SQL_DESC FieldIdentifier, global::System.Runtime.InteropServices.HandleRef CharacterAttribute, int BufferLength)
1367
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1394
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, short __ColumnNumber_native, global::System.Data.Odbc.ODBC32.SQL_DESC __FieldIdentifier_native, nint __CharacterAttribute_native, int __BufferLength_native);
1405
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetDescFieldW(global::System.Data.Odbc.OdbcDescriptorHandle StatementHandle, short ColumnNumber, global::System.Data.Odbc.ODBC32.SQL_DESC FieldIdentifier, nint CharacterAttribute, int BufferLength)
1410
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1431
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, short __ColumnNumber_native, global::System.Data.Odbc.ODBC32.SQL_DESC __FieldIdentifier_native, nint __CharacterAttribute_native, int __BufferLength_native);
1442
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetEnvAttr(global::System.Data.Odbc.OdbcEnvironmentHandle EnvironmentHandle, global::System.Data.Odbc.ODBC32.SQL_ATTR Attribute, nint Value, global::System.Data.Odbc.ODBC32.SQL_IS StringLength)
1447
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1468
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __EnvironmentHandle_native, global::System.Data.Odbc.ODBC32.SQL_ATTR __Attribute_native, nint __Value_native, global::System.Data.Odbc.ODBC32.SQL_IS __StringLength_native);
1479
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSetStmtAttrW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, int Attribute, nint Value, int StringLength)
1484
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1505
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, int __Attribute_native, nint __Value_native, int __StringLength_native);
1516
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLSpecialColumnsW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, global::System.Data.Odbc.ODBC32.SQL_SPECIALCOLS IdentifierType, string CatalogName, short NameLen1, string SchemaName, short NameLen2, string TableName, short NameLen3, global::System.Data.Odbc.ODBC32.SQL_SCOPE Scope, global::System.Data.Odbc.ODBC32.SQL_NULLABILITY Nullable)
1521
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1546
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, global::System.Data.Odbc.ODBC32.SQL_SPECIALCOLS __IdentifierType_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, ushort* __TableName_native, short __NameLen3_native, global::System.Data.Odbc.ODBC32.SQL_SCOPE __Scope_native, global::System.Data.Odbc.ODBC32.SQL_NULLABILITY __Nullable_native);
1557
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLStatisticsW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string CatalogName, short NameLen1, string SchemaName, short NameLen2, nint TableName, short NameLen3, short Unique, short Reserved)
1562
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1586
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, nint __TableName_native, short __NameLen3_native, short __Unique_native, short __Reserved_native);
1597
internal static partial global::System.Data.Odbc.ODBC32.
SQLRETURN
SQLTablesW(global::System.Data.Odbc.OdbcStatementHandle StatementHandle, string CatalogName, short NameLen1, string SchemaName, short NameLen2, string TableName, short NameLen3, string TableType, short NameLen4)
1602
global::System.Data.Odbc.ODBC32.
SQLRETURN
__retVal = default;
1628
static extern unsafe global::System.Data.Odbc.ODBC32.
SQLRETURN
__PInvoke(nint __StatementHandle_native, ushort* __CatalogName_native, short __NameLen1_native, ushort* __SchemaName_native, short __NameLen2_native, ushort* __TableName_native, short __NameLen3_native, ushort* __TableType_native, short __NameLen4_native);
src\runtime\src\libraries\Common\src\Interop\Interop.Odbc.cs (44)
24
internal static partial ODBC32.
SQLRETURN
SQLAllocHandle(
30
internal static partial ODBC32.
SQLRETURN
SQLAllocHandle(
36
internal static partial /*SQLRETURN*/ODBC32.
SQLRETURN
SQLBindCol(
49
internal static partial ODBC32.
SQLRETURN
SQLBindCol(
58
internal static partial /*SQLRETURN*/ODBC32.
SQLRETURN
SQLBindParameter(
79
internal static partial ODBC32.
SQLRETURN
SQLCancel(
83
internal static partial ODBC32.
SQLRETURN
SQLCloseCursor(
87
internal static partial ODBC32.
SQLRETURN
SQLColAttributeW(
112
internal static partial ODBC32.
SQLRETURN
SQLColumnsW(
124
internal static partial ODBC32.
SQLRETURN
SQLDisconnect(
128
internal static partial ODBC32.
SQLRETURN
SQLDriverConnectW(
139
internal static partial ODBC32.
SQLRETURN
SQLEndTran(
145
internal static partial ODBC32.
SQLRETURN
SQLExecDirectW(
151
internal static partial ODBC32.
SQLRETURN
SQLExecute(
155
internal static partial ODBC32.
SQLRETURN
SQLFetch(
159
internal static partial ODBC32.
SQLRETURN
SQLFreeHandle(
164
internal static partial ODBC32.
SQLRETURN
SQLFreeStmt(
169
internal static partial ODBC32.
SQLRETURN
SQLGetConnectAttrW(
177
internal static partial ODBC32.
SQLRETURN
SQLGetData(
186
internal static partial ODBC32.
SQLRETURN
SQLGetDescFieldW(
195
internal static partial ODBC32.
SQLRETURN
SQLGetDiagRecW(
206
internal static partial ODBC32.
SQLRETURN
SQLGetDiagFieldW(
216
internal static partial ODBC32.
SQLRETURN
SQLGetFunctions(
222
internal static partial ODBC32.
SQLRETURN
SQLGetInfoW(
230
internal static partial ODBC32.
SQLRETURN
SQLGetInfoW(
238
internal static partial ODBC32.
SQLRETURN
SQLGetStmtAttrW(
246
internal static partial ODBC32.
SQLRETURN
SQLGetTypeInfo(
251
internal static partial ODBC32.
SQLRETURN
SQLMoreResults(
255
internal static partial ODBC32.
SQLRETURN
SQLNumResultCols(
260
internal static partial ODBC32.
SQLRETURN
SQLPrepareW(
266
internal static partial ODBC32.
SQLRETURN
SQLPrimaryKeysW(
276
internal static partial ODBC32.
SQLRETURN
SQLProcedureColumnsW(
288
internal static partial ODBC32.
SQLRETURN
SQLProceduresW(
298
internal static partial ODBC32.
SQLRETURN
SQLRowCount(
303
internal static partial ODBC32.
SQLRETURN
SQLSetConnectAttrW(
310
internal static partial ODBC32.
SQLRETURN
SQLSetConnectAttrW(
317
internal static partial ODBC32.
SQLRETURN
SQLSetConnectAttrW( // used only for AutoCommitOn
324
internal static partial /*SQLRETURN*/ODBC32.
SQLRETURN
SQLSetDescFieldW(
336
internal static partial ODBC32.
SQLRETURN
SQLSetDescFieldW(
345
internal static partial ODBC32.
SQLRETURN
SQLSetEnvAttr(
352
internal static partial ODBC32.
SQLRETURN
SQLSetStmtAttrW(
359
internal static partial ODBC32.
SQLRETURN
SQLSpecialColumnsW(
372
internal static partial ODBC32.
SQLRETURN
SQLStatisticsW(
384
internal static partial ODBC32.
SQLRETURN
SQLTablesW(
System\Data\Odbc\Odbc32.cs (18)
92
internal static Exception CantEnableConnectionpooling(ODBC32.
SQLRETURN
retcode)
96
internal static Exception CantAllocateEnvironmentHandle(ODBC32.
SQLRETURN
retcode)
100
internal static Exception FailedToGetDescriptorHandle(ODBC32.
SQLRETURN
retcode)
115
internal static void TraceODBC(int level, string method, ODBC32.
SQLRETURN
retcode)
145
internal static string RetcodeToString(
SQLRETURN
retcode)
149
case
SQLRETURN
.SUCCESS: return "SUCCESS";
150
case
SQLRETURN
.SUCCESS_WITH_INFO: return "SUCCESS_WITH_INFO";
151
case
SQLRETURN
.ERROR: return "ERROR";
152
case
SQLRETURN
.INVALID_HANDLE: return "INVALID_HANDLE";
153
case
SQLRETURN
.NO_DATA: return "NO_DATA";
156
goto case
SQLRETURN
.ERROR;
713
internal static OdbcErrorCollection GetDiagErrors(string? source, OdbcHandle hrHandle,
SQLRETURN
retcode)
720
internal static void GetDiagErrors(OdbcErrorCollection errors, string? source, OdbcHandle hrHandle,
SQLRETURN
retcode)
722
Debug.Assert(retcode != ODBC32.
SQLRETURN
.INVALID_HANDLE, "retcode must never be ODBC32.RetCode.INVALID_HANDLE");
723
if (
SQLRETURN
.SUCCESS != retcode)
737
if ((
SQLRETURN
.SUCCESS_WITH_INFO == retcode) && (message.Capacity - 1 < cchActual))
745
moreerrors = (retcode ==
SQLRETURN
.SUCCESS || retcode ==
SQLRETURN
.SUCCESS_WITH_INFO);
System\Data\Odbc\OdbcCommand.cs (18)
445
ODBC32.
SQLRETURN
retcode = stmt.Cancel();
450
case ODBC32.
SQLRETURN
.SUCCESS:
451
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
592
ODBC32.
SQLRETURN
retcode;
664
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
708
if (retcode == ODBC32.
SQLRETURN
.SUCCESS || retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO)
715
else if (retcode == ODBC32.
SQLRETURN
.NO_DATA)
794
if ((ODBC32.
SQLRETURN
.SUCCESS != retcode) && (ODBC32.
SQLRETURN
.NO_DATA != retcode))
874
ODBC32.
SQLRETURN
retcode;
896
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
907
ODBC32.
SQLRETURN
retcode = stmt.SetStatementAttribute(
912
if (retcode == ODBC32.
SQLRETURN
.ERROR)
1093
ODBC32.
SQLRETURN
retcode;
1153
internal void StatementErrorHandler(ODBC32.
SQLRETURN
retcode)
1157
case ODBC32.
SQLRETURN
.SUCCESS:
1158
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
System\Data\Odbc\OdbcCommandBuilder.cs (2)
185
ODBC32.
SQLRETURN
retcode = hstmt.ProcedureColumns(parts[1], parts[2], parts[3], null);
190
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
System\Data\Odbc\OdbcConnection.cs (28)
389
ODBC32.
SQLRETURN
retcode = connectionHandle.GetConnectionAttribute(attribute, buffer, out cbActual);
397
if ((ODBC32.
SQLRETURN
.SUCCESS == retcode) || (ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO == retcode))
401
else if (retcode == ODBC32.
SQLRETURN
.ERROR)
421
ODBC32.
SQLRETURN
retcode = connectionHandle.GetConnectionAttribute(attribute, buffer, out _);
423
if ((ODBC32.
SQLRETURN
.SUCCESS == retcode) || (ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO == retcode))
429
if (retcode == ODBC32.
SQLRETURN
.ERROR)
454
internal ODBC32.
SQLRETURN
GetInfoInt16Unhandled(ODBC32.SQL_INFO info, out short resultValue)
457
ODBC32.
SQLRETURN
retcode = ConnectionHandle!.GetInfo1(info, buffer);
462
internal ODBC32.
SQLRETURN
GetInfoInt32Unhandled(ODBC32.SQL_INFO info, out int resultValue)
465
ODBC32.
SQLRETURN
retcode = ConnectionHandle!.GetInfo1(info, buffer);
491
ODBC32.
SQLRETURN
retcode = connectionHandle.GetInfo2(info, buffer, out cbActual);
499
if (retcode == ODBC32.
SQLRETURN
.SUCCESS || retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO)
516
internal Exception? HandleErrorNoThrow(OdbcHandle hrHandle, ODBC32.
SQLRETURN
retcode)
518
Debug.Assert(retcode != ODBC32.
SQLRETURN
.INVALID_HANDLE, "retcode must never be ODBC32.RetCode.INVALID_HANDLE");
522
case ODBC32.
SQLRETURN
.SUCCESS:
524
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
545
internal void HandleError(OdbcHandle hrHandle, ODBC32.
SQLRETURN
retcode)
550
case ODBC32.
SQLRETURN
.SUCCESS:
551
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
778
ODBC32.
SQLRETURN
retcode;
792
if (retcode != ODBC32.
SQLRETURN
.SUCCESS)
925
ODBC32.
SQLRETURN
retcode = connectionHandle.BeginTransaction(ref isolevel);
926
if (retcode == ODBC32.
SQLRETURN
.ERROR)
952
ODBC32.
SQLRETURN
retcode = connectionHandle.SetConnectionAttribute3(ODBC32.SQL_ATTR.CURRENT_CATALOG, value, checked((int)value.Length * 2));
954
if (retcode != ODBC32.
SQLRETURN
.SUCCESS)
System\Data\Odbc\OdbcConnectionHandle.cs (34)
34
ODBC32.
SQLRETURN
retcode;
54
private ODBC32.
SQLRETURN
AutoCommitOff()
56
ODBC32.
SQLRETURN
retcode;
67
case ODBC32.
SQLRETURN
.SUCCESS:
68
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
77
internal ODBC32.
SQLRETURN
BeginTransaction(ref IsolationLevel isolevel)
79
ODBC32.
SQLRETURN
retcode = ODBC32.
SQLRETURN
.SUCCESS;
121
if (ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO == retcode)
129
case ODBC32.
SQLRETURN
.SUCCESS:
130
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
139
internal ODBC32.
SQLRETURN
CompleteTransaction(short transactionOperation)
146
ODBC32.
SQLRETURN
retcode = CompleteTransaction(transactionOperation, base.handle);
158
private ODBC32.
SQLRETURN
CompleteTransaction(short transactionOperation, IntPtr handle)
162
ODBC32.
SQLRETURN
retcode = ODBC32.
SQLRETURN
.SUCCESS;
170
if ((ODBC32.
SQLRETURN
.SUCCESS == retcode) || (ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO == retcode))
187
private ODBC32.
SQLRETURN
Connect(string connectionString)
191
ODBC32.
SQLRETURN
retcode;
199
case ODBC32.
SQLRETURN
.SUCCESS:
200
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
225
internal ODBC32.
SQLRETURN
GetConnectionAttribute(ODBC32.SQL_ATTR attribute, byte[] buffer, out int cbActual)
227
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetConnectAttrW(this, attribute, buffer, buffer.Length, out cbActual);
231
internal ODBC32.
SQLRETURN
GetFunctions(ODBC32.SQL_API fFunction, out short fExists)
233
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetFunctions(this, fFunction, out fExists);
238
internal ODBC32.
SQLRETURN
GetInfo2(ODBC32.SQL_INFO info, byte[] buffer, out short cbActual)
240
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetInfoW(this, info, buffer, checked((short)buffer.Length), out cbActual);
244
internal ODBC32.
SQLRETURN
GetInfo1(ODBC32.SQL_INFO info, byte[] buffer)
246
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetInfoW(this, info, buffer, checked((short)buffer.Length), ADP.PtrZero);
250
internal ODBC32.
SQLRETURN
SetConnectionAttribute2(ODBC32.SQL_ATTR attribute, IntPtr value, int length)
252
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLSetConnectAttrW(this, attribute, value, length);
257
internal ODBC32.
SQLRETURN
SetConnectionAttribute3(ODBC32.SQL_ATTR attribute, string buffer, int length)
259
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLSetConnectAttrW(this, attribute, buffer, length);
System\Data\Odbc\OdbcDataReader.cs (47)
177
ODBC32.
SQLRETURN
retcode = this.FieldCountNoThrow(out _);
178
if (retcode != ODBC32.
SQLRETURN
.SUCCESS)
210
internal ODBC32.
SQLRETURN
FieldCountNoThrow(out short cColsAffected)
215
return ODBC32.
SQLRETURN
.ERROR;
218
ODBC32.
SQLRETURN
retcode = StatementHandle.NumberOfResultColumns(out cColsAffected);
219
if (retcode == ODBC32.
SQLRETURN
.SUCCESS)
262
ODBC32.
SQLRETURN
retcode = StatementHandle.RowCount(out cRowsAffected);
263
if (ODBC32.
SQLRETURN
.SUCCESS == retcode || ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO == retcode)
1534
ODBC32.
SQLRETURN
retcode;
1556
if (retcode != ODBC32.
SQLRETURN
.SUCCESS)
1558
if (retcode == ODBC32.
SQLRETURN
.ERROR)
1585
ODBC32.
SQLRETURN
retcode;
1610
if ((retcode != ODBC32.
SQLRETURN
.SUCCESS) || (cchNameLength == 0))
1612
if (retcode == ODBC32.
SQLRETURN
.ERROR)
1649
ODBC32.
SQLRETURN
retcode;
1661
if ((retcode != ODBC32.
SQLRETURN
.SUCCESS) || (numericAttribute == 0))
1663
if (retcode == ODBC32.
SQLRETURN
.ERROR)
1737
ODBC32.
SQLRETURN
retcode = StatementHandle.GetData(
1746
case ODBC32.
SQLRETURN
.SUCCESS:
1748
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
1756
case ODBC32.
SQLRETURN
.NO_DATA:
1832
ODBC32.
SQLRETURN
retcode;
1843
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
1848
case ODBC32.
SQLRETURN
.SUCCESS:
1852
case ODBC32.
SQLRETURN
.NO_DATA:
1890
ODBC32.
SQLRETURN
retcode = FieldCountNoThrow(out cCols);
1891
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) && (cCols == 0))
1916
ODBC32.
SQLRETURN
retcode, firstRetCode = ODBC32.
SQLRETURN
.SUCCESS;
1946
hasMoreResults = ((retcode == ODBC32.
SQLRETURN
.SUCCESS)
1947
|| (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO));
1949
if (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO)
1953
else 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
1982
if (retcode == ODBC32.
SQLRETURN
.NO_DATA)
2310
ODBC32.
SQLRETURN
retcode;
2340
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
2352
while (ODBC32.
SQLRETURN
.SUCCESS == (retcode = KeyInfoStatementHandle.Fetch()))
2417
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
2429
while (ODBC32.
SQLRETURN
.SUCCESS == (retcode = KeyInfoStatementHandle.Fetch()))
2474
ODBC32.
SQLRETURN
retcode;
2497
if (retcode != ODBC32.
SQLRETURN
.SUCCESS)
2548
while (ODBC32.
SQLRETURN
.SUCCESS == (retcode = KeyInfoStatementHandle.Fetch()))
System\Data\Odbc\OdbcEnvironmentHandle.cs (3)
13
ODBC32.
SQLRETURN
retcode;
37
case ODBC32.
SQLRETURN
.SUCCESS:
38
case ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO:
System\Data\Odbc\OdbcException.cs (1)
16
internal static OdbcException CreateException(OdbcErrorCollection errors, ODBC32.
SQLRETURN
retcode)
System\Data\Odbc\OdbcHandle.cs (18)
22
ODBC32.
SQLRETURN
retcode = ODBC32.
SQLRETURN
.SUCCESS;
71
if ((ADP.PtrZero == base.handle) || (ODBC32.
SQLRETURN
.SUCCESS != retcode))
84
ODBC32.
SQLRETURN
retcode;
176
internal ODBC32.
SQLRETURN
GetDiagnosticField(out string sqlState)
180
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetDiagFieldW(
189
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
200
internal ODBC32.
SQLRETURN
GetDiagnosticRecord(short record, out string sqlState, StringBuilder messageBuilder, out int nativeError, out short cchActual)
206
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetDiagRecW(HandleType, this, record, buffer, out nativeError, message, checked((short)message.Length), out cchActual);
209
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
228
internal ODBC32.
SQLRETURN
GetDescriptionField(int i, ODBC32.SQL_DESC attribute, CNativeBuffer buffer, out int numericAttribute)
230
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetDescFieldW(this, checked((short)i), attribute, buffer, buffer.ShortLength, out numericAttribute);
235
internal ODBC32.
SQLRETURN
SetDescriptionField1(short ordinal, ODBC32.SQL_DESC type, IntPtr value)
237
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLSetDescFieldW(this, ordinal, type, value, 0);
242
internal ODBC32.
SQLRETURN
SetDescriptionField2(short ordinal, ODBC32.SQL_DESC type, HandleRef value)
244
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLSetDescFieldW(this, ordinal, type, value, 0);
System\Data\Odbc\OdbcMetaDataFactory.cs (9)
587
ODBC32.
SQLRETURN
retcode;
628
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
655
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
688
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
755
if ((retcode == ODBC32.
SQLRETURN
.SUCCESS) || (retcode == ODBC32.
SQLRETURN
.SUCCESS_WITH_INFO))
System\Data\Odbc\OdbcParameter.cs (6)
794
ODBC32.
SQLRETURN
retcode;
873
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
904
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
916
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
928
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
938
if (ODBC32.
SQLRETURN
.SUCCESS != retcode)
System\Data\Odbc\OdbcStatementHandle.cs (51)
60
internal ODBC32.
SQLRETURN
BindColumn2(int columnNumber, ODBC32.SQL_C targetType, HandleRef buffer, IntPtr length, IntPtr srLen_or_Ind)
62
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLBindCol(this, checked((ushort)columnNumber), targetType, buffer, length, srLen_or_Ind);
67
internal ODBC32.
SQLRETURN
BindColumn3(int columnNumber, ODBC32.SQL_C targetType, IntPtr srLen_or_Ind)
69
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLBindCol(this, checked((ushort)columnNumber), targetType, ADP.PtrZero, ADP.PtrZero, srLen_or_Ind);
74
internal 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)
76
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLBindParameter(this,
90
internal ODBC32.
SQLRETURN
Cancel()
94
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLCancel(this);
99
internal ODBC32.
SQLRETURN
CloseCursor()
101
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLCloseCursor(this);
106
internal ODBC32.
SQLRETURN
ColumnAttribute(int columnNumber, short fieldIdentifier, CNativeBuffer characterAttribute, out short stringLength, out SQLLEN numericAttribute)
109
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLColAttributeW(this, checked((short)columnNumber), fieldIdentifier, characterAttribute, characterAttribute.ShortLength, out stringLength, out result);
115
internal ODBC32.
SQLRETURN
Columns(string tableCatalog,
120
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLColumnsW(this,
134
internal ODBC32.
SQLRETURN
Execute()
136
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLExecute(this);
141
internal ODBC32.
SQLRETURN
ExecuteDirect(string commandText)
143
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLExecDirectW(this, commandText, ODBC32.SQL_NTS);
148
internal ODBC32.
SQLRETURN
Fetch()
150
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLFetch(this);
155
internal ODBC32.
SQLRETURN
FreeStatement(ODBC32.STMT stmt)
157
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLFreeStmt(this, stmt);
162
internal ODBC32.
SQLRETURN
GetData(int index, ODBC32.SQL_C sqlctype, CNativeBuffer buffer, int cb, out IntPtr cbActual)
164
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetData(this,
174
internal ODBC32.
SQLRETURN
GetStatementAttribute(ODBC32.SQL_ATTR attribute, out IntPtr value, out int stringLength)
176
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetStmtAttrW(this, attribute, out value, ADP.PtrSize, out stringLength);
181
internal ODBC32.
SQLRETURN
GetTypeInfo(short fSqlType)
183
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLGetTypeInfo(this, fSqlType);
188
internal ODBC32.
SQLRETURN
MoreResults()
190
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLMoreResults(this);
195
internal ODBC32.
SQLRETURN
NumberOfResultColumns(out short columnsAffected)
197
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLNumResultCols(this, out columnsAffected);
202
internal ODBC32.
SQLRETURN
Prepare(string commandText)
204
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLPrepareW(this, commandText, ODBC32.SQL_NTS);
209
internal ODBC32.
SQLRETURN
PrimaryKeys(string? catalogName, string? schemaName, string tableName)
211
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLPrimaryKeysW(this,
220
internal ODBC32.
SQLRETURN
Procedures(string procedureCatalog,
224
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLProceduresW(this,
236
internal ODBC32.
SQLRETURN
ProcedureColumns(string? procedureCatalog,
241
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLProcedureColumnsW(this,
255
internal ODBC32.
SQLRETURN
RowCount(out SQLLEN rowCount)
258
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLRowCount(this, out result);
264
internal ODBC32.
SQLRETURN
SetStatementAttribute(ODBC32.SQL_ATTR attribute, IntPtr value, ODBC32.SQL_IS stringLength)
266
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLSetStmtAttrW(this, (int)attribute, value, (int)stringLength);
271
internal ODBC32.
SQLRETURN
SpecialColumns(string quotedTable)
273
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLSpecialColumnsW(this,
281
internal ODBC32.
SQLRETURN
Statistics(string? tableCatalog,
287
ODBC32.
SQLRETURN
retcode;
314
internal ODBC32.
SQLRETURN
Statistics(string tableName)
319
internal ODBC32.
SQLRETURN
Tables(string tableCatalog,
324
ODBC32.
SQLRETURN
retcode = Interop.Odbc.SQLTablesW(this,
System\Data\Odbc\OdbcTransaction.cs (6)
85
ODBC32.
SQLRETURN
retcode = _handle.CompleteTransaction(ODBC32.SQL_COMMIT);
86
if (retcode == ODBC32.
SQLRETURN
.ERROR)
109
ODBC32.
SQLRETURN
retcode = handle.CompleteTransaction(ODBC32.SQL_ROLLBACK);
110
if (retcode == ODBC32.
SQLRETURN
.ERROR)
158
ODBC32.
SQLRETURN
retcode = _handle.CompleteTransaction(ODBC32.SQL_ROLLBACK);
159
if (retcode == ODBC32.
SQLRETURN
.ERROR)