4 writes to Connection
System.Data.Odbc (4)
System\Data\Odbc\OdbcCommand.cs (4)
59Connection = connection; 65Connection = connection; 268Connection = (OdbcConnection?)value; 472clone.Connection = this.Connection;
25 references to Connection
System.Data.Odbc (25)
System\Data\Odbc\OdbcCommand.cs (8)
264return Connection; 472clone.Connection = this.Connection; 621if (!Connection!.ProviderInfo.NoQueryTimeout) 632if (Connection.IsV3Driver) 634if (!Connection.ProviderInfo.NoSqlSoptSSNoBrowseTable && !Connection.ProviderInfo.NoSqlSoptSSHiddenColumns) 925Connection!.FlagUnsupportedStmtAttr(stmtAttribute); 937OdbcConnection? connection = Connection;
System\Data\Odbc\OdbcCommandBuilder.cs (3)
126OdbcConnection? connection = command.Connection; 268connection = DataAdapter?.SelectCommand?.Connection; 323connection = DataAdapter?.SelectCommand?.Connection;
System\Data\Odbc\OdbcParameter.cs (14)
622Debug.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 691if (!command.Connection.IsV3Driver) 713if (!command.Connection.TestTypeSupport(_bindtype._sql_type)) 732if (!command.Connection.IsV3Driver) 792Debug.Assert(command.Connection != null); 877command.Connection.FlagRestrictedSqlBindType(_bindtype._sql_type); 884command.Connection.HandleError(hstmt, retcode); 906command.Connection.HandleError(hstmt, retcode); 918command.Connection.HandleError(hstmt, retcode); 930command.Connection.HandleError(hstmt, retcode); 940command.Connection.HandleError(hstmt, retcode);