コード例 #1
0
        public AswtinquiryWTITBuildWTListResponseAPI WTITBuildWTList(Wtitbuildwtlistcriteria wtitbuildwtlistcriteria)
        {
            var result = new AswtinquiryWTITBuildWTListResponseAPI();

            var pdswtitbuildwtlist = new pdswtitbuildwtlistDataSet();

            DataRow ttblwtitbuildwtlistcriteriaCriteria = pdswtitbuildwtlist.ttblwtitbuildwtlistcriteria.NewttblwtitbuildwtlistcriteriaRow();

            Wtitbuildwtlistcriteria.UpdateRowFromWtitbuildwtlistcriteria(ref ttblwtitbuildwtlistcriteriaCriteria, wtitbuildwtlistcriteria);
            pdswtitbuildwtlist.ttblwtitbuildwtlistcriteria.AddttblwtitbuildwtlistcriteriaRow((pdswtitbuildwtlistDataSet.ttblwtitbuildwtlistcriteriaRow)ttblwtitbuildwtlistcriteriaCriteria);

            string cErrorMessage = string.Empty;
            bool   lMoreRecords  = false;


            NLogLoggerP.Trace("WTITBuildWTList - Aswtinquiry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAswtinquiryproxy = this.proxyAppObject.CreatePO_aswtinquiryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAswtinquiryproxy.WTITBuildWTList(ref pdsContext, ref pdswtitbuildwtlist, out cErrorMessage, out lMoreRecords);
                }
            });
            NLogLoggerP.Info("WTITBuildWTList - Aswtinquiry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdswtitbuildwtlist);

            foreach (DataRow row in pdswtitbuildwtlist.ttblwtitbuildwtlistresults)
            {
                result.wtitbuildwtlistresults.Add(Wtitbuildwtlistresults.BuildWtitbuildwtlistresultsFromRow(row));
            }
            result.lMoreRecords = lMoreRecords;

            return(result);
        }
コード例 #2
0
 public AswtinquiryWTITBuildWTListResponseAPI WTITBuildWTList(Wtitbuildwtlistcriteria wtitbuildwtlistcriteria)
 {
     return(this.repository.WTITBuildWTList(wtitbuildwtlistcriteria));
 }