public IEnumerable <Buildcustcreditresults> BuildCustCreditTT(Buildcustcreditcriteria buildcustcreditcriteria) { var results = new List <Buildcustcreditresults>(); var pdsbuildcustcredit = new pdsbuildcustcreditDataSet(); DataRow ttblbuildcustcreditcriteriaCriteria = pdsbuildcustcredit.ttblbuildcustcreditcriteria.NewttblbuildcustcreditcriteriaRow(); Buildcustcreditcriteria.UpdateRowFromBuildcustcreditcriteria(ref ttblbuildcustcreditcriteriaCriteria, buildcustcreditcriteria); pdsbuildcustcredit.ttblbuildcustcreditcriteria.AddttblbuildcustcreditcriteriaRow((pdsbuildcustcreditDataSet.ttblbuildcustcreditcriteriaRow)ttblbuildcustcreditcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("BuildCustCreditTT - Asarinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAsarinquiryproxy = this.proxyAppObject.CreatePO_asarinquiryproxy()) { this.SetRequiredContextParameters(); poAsarinquiryproxy.BuildCustCreditTT(ref pdsContext, ref pdsbuildcustcredit, out cErrorMessage); } }); NLogLoggerP.Info("BuildCustCreditTT - Asarinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsbuildcustcredit); foreach (DataRow row in pdsbuildcustcredit.ttblbuildcustcreditresults) { results.Add(Buildcustcreditresults.BuildBuildcustcreditresultsFromRow(row)); } return(results); }
public IEnumerable <Buildcustcreditresults> BuildCustCreditTT(Buildcustcreditcriteria buildcustcreditcriteria) { return(this.repository.BuildCustCreditTT(buildcustcreditcriteria)); }