public IEnumerable <Saeaactionsummary> SAEAActionSummaryUpdate(AssaentrySAEAActionSummaryUpdateRequestAPI AssaentrySAEAActionSummaryUpdateRequestAPI) { var results = new List <Saeaactionsummary>(); var pdssaeaactionsummary = new pdssaeaactionsummaryDataSet(); string cErrorMessage = string.Empty; foreach (var obj in AssaentrySAEAActionSummaryUpdateRequestAPI.saeaactionsummary) { DataRow ttblsaeaactionsummaryRow = pdssaeaactionsummary.ttblsaeaactionsummary.NewttblsaeaactionsummaryRow(); Saeaactionsummary.UpdateRowFromSaeaactionsummary(ref ttblsaeaactionsummaryRow, obj); pdssaeaactionsummary.ttblsaeaactionsummary.AddttblsaeaactionsummaryRow((pdssaeaactionsummaryDataSet.ttblsaeaactionsummaryRow)ttblsaeaactionsummaryRow); } var cActivateFl = AssaentrySAEAActionSummaryUpdateRequestAPI.cActivateFl; NLogLoggerP.Trace("SAEAActionSummaryUpdate - Assaentry - Before Call"); StopwatchUtil.Time( () => { using (var poAssaentryproxy = this.proxyAppObject.CreatePO_assaentryproxy()) { this.SetRequiredContextParameters(); poAssaentryproxy.SAEAActionSummaryUpdate(ref pdsContext, cActivateFl, ref pdssaeaactionsummary, out cErrorMessage); } }); NLogLoggerP.Info("SAEAActionSummaryUpdate - Assaentry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdssaeaactionsummary); foreach (DataRow row in pdssaeaactionsummary.ttblsaeaactionsummary) { results.Add(Saeaactionsummary.BuildSaeaactionsummaryFromRow(row)); } return(results); }
public IEnumerable <Saeaactionsummary> SAEAActionSummaryUpdate(AssaentrySAEAActionSummaryUpdateRequestAPI AssaentrySAEAActionSummaryUpdateRequestAPI) { return(this.adapter.SAEAActionSummaryUpdate(AssaentrySAEAActionSummaryUpdateRequestAPI)); }