public IList <TMapped> ExecuteMappedStoredProcedure <TMapped>(string procedureName, StoredProcedureParameterMap inputParameters, IStoredProcedureResultMapper <TMapped> mapper)
        {
            DataTable result = this.ExecuteDataTableStoredProcedure(procedureName, inputParameters);

            return(mapper.Map(result));
        }
示例#2
0
        public IList <TMapped> ExecMappedSqlQuery <TMapped>(string query, IStoredProcedureResultMapper <TMapped> mapper)
        {
            DataTable result = this.ExecDataTableSqlQuery(query);

            return(mapper.Map(result));
        }