/// <summary> /// Executes the System.Data.IDbCommand.CommandText against the System.Data.IDbCommand.Connection and builds an System.Data.IDataReader. /// </summary> public IDataReader ExecuteReader() { #if DEBUG DebugCommand(); #endif return(BaseCommand.ExecuteReader()); }
/// <summary> /// Executes the System.Data.IDbCommand.CommandText against the System.Data.IDbCommand.Connection, and builds an System.Data.IDataReader using one of the System.Data.CommandBehavior values. /// </summary> /// <param name="behavior">One of the System.Data.CommandBehavior values.</param> public IDataReader ExecuteReader(CommandBehavior behavior) { #if DEBUG DebugCommand(); #endif return(BaseCommand.ExecuteReader(behavior)); }