public Slimportdefcopy SLImportDefCopy(Slimportdefcopy slimportdefcopy) { var result = new Slimportdefcopy(); var pdsslimportdefcopy = new pdsslimportdefcopyDataSet(); DataRow ttblslimportdefcopyCriteria = pdsslimportdefcopy.ttblslimportdefcopy.NewttblslimportdefcopyRow(); Slimportdefcopy.UpdateRowFromSlimportdefcopy(ref ttblslimportdefcopyCriteria, slimportdefcopy); pdsslimportdefcopy.ttblslimportdefcopy.AddttblslimportdefcopyRow((pdsslimportdefcopyDataSet.ttblslimportdefcopyRow)ttblslimportdefcopyCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("SLImportDefCopy - Asslsetup - Before Call"); StopwatchUtil.Time( () => { using (var poAsslsetupproxy = this.proxyAppObject.CreatePO_asslsetupproxy()) { this.SetRequiredContextParameters(); poAsslsetupproxy.SLImportDefCopy(ref pdsContext, ref pdsslimportdefcopy, out cErrorMessage); } }); NLogLoggerP.Info("SLImportDefCopy - Asslsetup - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsslimportdefcopy); if (pdsslimportdefcopy.ttblslimportdefcopy.Count > 0) { result = Slimportdefcopy.BuildSlimportdefcopyFromRow(pdsslimportdefcopy.ttblslimportdefcopy[0]); } return(result); }