public Wtetcopy WTETCopyInitialize() { var result = new Wtetcopy(); var pdswtetcopy = new pdswtetcopyDataSet(); string cErrorMessage = string.Empty; NLogLoggerP.Trace("WTETCopyInitialize - Aswtheader - Before Call"); StopwatchUtil.Time( () => { using (var poAswtheaderproxy = this.proxyAppObject.CreatePO_aswtheaderproxy()) { this.SetRequiredContextParameters(); poAswtheaderproxy.WTETCopyInitialize(ref pdsContext, out pdswtetcopy, out cErrorMessage); } }); NLogLoggerP.Info("WTETCopyInitialize - Aswtheader - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdswtetcopy); if (pdswtetcopy.ttblwtetcopy.Count > 0) { result = Wtetcopy.BuildWtetcopyFromRow(pdswtetcopy.ttblwtetcopy[0]); } return(result); }
public AswtheaderWTETCopyContinueResponseAPI WTETCopyContinue(Wtetcopy wtetcopy) { var result = new AswtheaderWTETCopyContinueResponseAPI(); var pdswtetcopy = new pdswtetcopyDataSet(); var pdsmessaging = new pdsmessagingDataSet(); DataRow ttblwtetcopyCriteria = pdswtetcopy.ttblwtetcopy.NewttblwtetcopyRow(); Wtetcopy.UpdateRowFromWtetcopy(ref ttblwtetcopyCriteria, wtetcopy); pdswtetcopy.ttblwtetcopy.AddttblwtetcopyRow((pdswtetcopyDataSet.ttblwtetcopyRow)ttblwtetcopyCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("WTETCopyContinue - Aswtheader - Before Call"); StopwatchUtil.Time( () => { using (var poAswtheaderproxy = this.proxyAppObject.CreatePO_aswtheaderproxy()) { this.SetRequiredContextParameters(); poAswtheaderproxy.WTETCopyContinue(ref pdsContext, ref pdswtetcopy, out pdsmessaging, out cErrorMessage); } }); NLogLoggerP.Info("WTETCopyContinue - Aswtheader - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdswtetcopy); foreach (DataRow row in pdsmessaging.ttblmessaging) { result.messaging.Add(Messaging.BuildMessagingFromRow(row)); } if (pdswtetcopy.ttblwtetcopy.Count > 0) { result.wtetcopy = Wtetcopy.BuildWtetcopyFromRow(pdswtetcopy.ttblwtetcopy[0]); } return(result); }
public AswtheaderWTETCopyContinueResponseAPI WTETCopyContinue(Wtetcopy wtetcopy) { return(this.repository.WTETCopyContinue(wtetcopy)); }
public AswtheaderWTETCopyUpdateResponseAPI WTETCopyUpdate(Wtetcopy wtetcopy) { return(this.adapter.WTETCopyUpdate(wtetcopy)); }