コード例 #1
0
        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);
        }
コード例 #2
0
 public AsvalineVALineInitializeAddResponseAPI VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI AsvalineVALineInitializeAddRequestAPI)
 {
     return(this.adapter.VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI));
 }
コード例 #3
0
 public AsvalineVALineInitializeAddResponseAPI VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI AsvalineVALineInitializeAddRequestAPI)
 {
     return(this.repository.VALineInitializeAdd(AsvalineVALineInitializeAddRequestAPI));
 }