2 writes to _connection
System.Data.Odbc (2)
System\Data\Odbc\OdbcCommand.cs (2)
120_connection = null; 251_connection = value;
15 references to _connection
System.Data.Odbc (15)
System\Data\Odbc\OdbcCommand.cs (15)
117if (null != _connection) 119_connection.RemoveWeakReference(this); 242return _connection; 246if (value != _connection) 405_cmdWrapper = new CMDWrapper(_connection!); 407Debug.Assert(null != _connection, "GetStatementHandle without connection?"); 408_connection.AddWeakReference(this, OdbcReferenceCollection.CommandTag); 499_connection?.RemoveWeakReference(this); 666_connection!.HandleError(stmt, retcode); 722_connection!.HandleError(stmt, retcode); 796_connection!.HandleError(stmt, retcode); 878if (0 != (ConnectionState.Fetching & _connection!.InternalState)) 898_connection.HandleError(stmt, retcode); 949if (null == _connection) 953_transaction = _connection.SetStateExecuting(method, Transaction);