public IList <TMapped> ExecuteMappedStoredProcedure <TMapped>(string procedureName, StoredProcedureParameterMap inputParameters, IStoredProcedureResultMapper <TMapped> mapper) { DataTable result = this.ExecuteDataTableStoredProcedure(procedureName, inputParameters); return(mapper.Map(result)); }
public IList <TMapped> ExecMappedSqlQuery <TMapped>(string query, IStoredProcedureResultMapper <TMapped> mapper) { DataTable result = this.ExecDataTableSqlQuery(query); return(mapper.Map(result)); }