public Poline POLineInitialize(Polineinitializecriteria polineinitializecriteria) { var result = new Poline(); var pdspolineinitialize = new pdspolineinitializeDataSet(); var pdspoline = new pdspolineDataSet(); DataRow ttblpolineinitializecriteriaCriteria = pdspolineinitialize.ttblpolineinitializecriteria.NewttblpolineinitializecriteriaRow(); Polineinitializecriteria.UpdateRowFromPolineinitializecriteria(ref ttblpolineinitializecriteriaCriteria, polineinitializecriteria); pdspolineinitialize.ttblpolineinitializecriteria.AddttblpolineinitializecriteriaRow((pdspolineinitializeDataSet.ttblpolineinitializecriteriaRow)ttblpolineinitializecriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("POLineInitialize - Aspoline - Before Call"); StopwatchUtil.Time( () => { using (var poAspolineproxy = this.proxyAppObject.CreatePO_aspolineproxy()) { this.SetRequiredContextParameters(); poAspolineproxy.POLineInitialize(ref pdsContext, pdspolineinitialize, out pdspoline, out cErrorMessage); } }); NLogLoggerP.Info("POLineInitialize - Aspoline - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspolineinitialize); if (pdspoline.ttblpoline.Count > 0) { result = Poline.BuildPolineFromRow(pdspoline.ttblpoline[0]); } return(result); }
public Poline POLineInitialize(Polineinitializecriteria polineinitializecriteria) { return(this.repository.POLineInitialize(polineinitializecriteria)); }
public Poline POLineInitialize(Polineinitializecriteria polineinitializecriteria) { return(this.adapter.POLineInitialize(polineinitializecriteria)); }