示例#1
0
        public AsvaentryVAEABuildListResponseAPI VAEABuildList(Vaealistcriteria vaealistcriteria)
        {
            var result = new AsvaentryVAEABuildListResponseAPI();

            var pdsvaealist = new pdsvaealistDataSet();

            var pdsmessaging = new pdsmessagingDataSet();

            DataRow ttblvaealistcriteriaCriteria = pdsvaealist.ttblvaealistcriteria.NewttblvaealistcriteriaRow();

            Vaealistcriteria.UpdateRowFromVaealistcriteria(ref ttblvaealistcriteriaCriteria, vaealistcriteria);
            pdsvaealist.ttblvaealistcriteria.AddttblvaealistcriteriaRow((pdsvaealistDataSet.ttblvaealistcriteriaRow)ttblvaealistcriteriaCriteria);

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


            NLogLoggerP.Trace("VAEABuildList - Asvaentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsvaentryproxy = this.proxyAppObject.CreatePO_asvaentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsvaentryproxy.VAEABuildList(ref pdsContext, ref pdsvaealist, out pdsmessaging, out cErrorMessage, out lMoreRecords);
                }
            });
            NLogLoggerP.Info("VAEABuildList - Asvaentry - After Call");


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

            foreach (DataRow row in pdsmessaging.ttblmessaging)
            {
                result.messaging.Add(Messaging.BuildMessagingFromRow(row));
            }
            foreach (DataRow row in pdsvaealist.ttblvaealistresults)
            {
                result.vaealistresults.Add(Vaealistresults.BuildVaealistresultsFromRow(row));
            }
            result.lMoreRecords = lMoreRecords;

            return(result);
        }
示例#2
0
 public AsvaentryVAEABuildListResponseAPI VAEABuildList(Vaealistcriteria vaealistcriteria)
 {
     return(this.adapter.VAEABuildList(vaealistcriteria));
 }
示例#3
0
 public AsvaentryVAEABuildListResponseAPI VAEABuildList(Vaealistcriteria vaealistcriteria)
 {
     return(this.repository.VAEABuildList(vaealistcriteria));
 }