4 writes to Connection
System.Data.Odbc (4)
System\Data\Odbc\OdbcCommand.cs (4)
59
Connection
= connection;
65
Connection
= connection;
268
Connection
= (OdbcConnection?)value;
472
clone.
Connection
= this.Connection;
25 references to Connection
System.Data.Odbc (25)
System\Data\Odbc\OdbcCommand.cs (8)
264
return
Connection
;
472
clone.Connection = this.
Connection
;
621
if (!
Connection
!.ProviderInfo.NoQueryTimeout)
632
if (
Connection
.IsV3Driver)
634
if (!
Connection
.ProviderInfo.NoSqlSoptSSNoBrowseTable && !
Connection
.ProviderInfo.NoSqlSoptSSHiddenColumns)
925
Connection
!.FlagUnsupportedStmtAttr(stmtAttribute);
937
OdbcConnection? connection =
Connection
;
System\Data\Odbc\OdbcCommandBuilder.cs (3)
126
OdbcConnection? connection = command.
Connection
;
268
connection = DataAdapter?.SelectCommand?.
Connection
;
323
connection = DataAdapter?.SelectCommand?.
Connection
;
System\Data\Odbc\OdbcParameter.cs (14)
622
Debug.Assert(command.
Connection
!= null);
674
!command.
Connection
.IsV3Driver // for non V3 driver we always do the conversion
675
|| !command.
Connection
.TestTypeSupport(ODBC32.SQL_TYPE.NUMERIC) // otherwise we convert if the driver does not support numeric
676
|| command.
Connection
.TestRestrictedSqlBindType(_bindtype._sql_type)// or the type is not supported
691
if (!command.
Connection
.IsV3Driver)
713
if (!command.
Connection
.TestTypeSupport(_bindtype._sql_type))
732
if (!command.
Connection
.IsV3Driver)
792
Debug.Assert(command.
Connection
!= null);
877
command.
Connection
.FlagRestrictedSqlBindType(_bindtype._sql_type);
884
command.
Connection
.HandleError(hstmt, retcode);
906
command.
Connection
.HandleError(hstmt, retcode);
918
command.
Connection
.HandleError(hstmt, retcode);
930
command.
Connection
.HandleError(hstmt, retcode);
940
command.
Connection
.HandleError(hstmt, retcode);