public DataTable Select(string procedure, object parameter) { if (parameter == null) { throw new ArgumentNullException("parameter"); } return(this.Select(procedure, DatabaseAccessAuxiliary.GetParameters(parameter, DatabaseAccessAdapter))); }
public override IDbDataParameter[] GetParameters(string procedure) { return(DatabaseAccessAuxiliary.GetParameters <SqlConnection, SqlCommand>(procedure, this, (cmd) => SqlCommandBuilder. DeriveParameters(cmd))); }