public AsvalineVALineInitializeAddResponseAPI VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI AsvalineVALineInitializeAddRequestAPI) { var result = new AsvalineVALineInitializeAddResponseAPI(); var pdsvalineaddchg = new pdsvalineaddchgDataSet(); var pdsmessaging = new pdsmessagingDataSet(); string cErrorMessage = string.Empty; var pvFunctionnm = AsvalineVALineInitializeAddRequestAPI.pvFunctionnm; var pvVano = AsvalineVALineInitializeAddRequestAPI.pvVano; var pvVasuf = AsvalineVALineInitializeAddRequestAPI.pvVasuf; var pvSeqno = AsvalineVALineInitializeAddRequestAPI.pvSeqno; NLogLoggerP.Trace("VALineInitializeAdd - Asvaline - Before Call"); StopwatchUtil.Time( () => { using (var poAsvalineproxy = this.proxyAppObject.CreatePO_asvalineproxy()) { this.SetRequiredContextParameters(); poAsvalineproxy.VALineInitializeAdd(ref pdsContext, pvFunctionnm, pvVano, pvVasuf, pvSeqno, out pdsvalineaddchg, out pdsmessaging, out cErrorMessage); } }); NLogLoggerP.Info("VALineInitializeAdd - Asvaline - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsvalineaddchg); foreach (DataRow row in pdsmessaging.ttblmessaging) { result.messaging.Add(Messaging.BuildMessagingFromRow(row)); } if (pdsvalineaddchg.ttblvalineaddchg.Count > 0) { result.valineaddchg = Valineaddchg.BuildValineaddchgFromRow(pdsvalineaddchg.ttblvalineaddchg[0]); } return(result); }
public AsvalineVALineInitializeAddResponseAPI VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI AsvalineVALineInitializeAddRequestAPI) { return(this.adapter.VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI)); }
public AsvalineVALineInitializeAddResponseAPI VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI AsvalineVALineInitializeAddRequestAPI) { return(this.repository.VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI)); }