internal ResultSetItemEnumerator(AbstractADODataModel host, IDbCommand cmd) { this._cmd = cmd; this._host = host; if (log.IsDebugEnabled) { log.Debug("Executing SQL query: " + cmd.CommandText); } }
public ResultSetUserEnumerator(AbstractADODataModel host, IDbCommand cmd) { if (cmd == null) { throw new ArgumentNullException("cmd"); } this.cmd = cmd; this.host = host; if (log.IsDebugEnabled) { log.DebugFormat("Executing SQL query: {0}", cmd.CommandText); } }