示例#1
0
        public Otettrackdetail OTETTrackDetailFieldLeave(AsotentryOTETTrackDetailFieldLeaveRequestAPI AsotentryOTETTrackDetailFieldLeaveRequestAPI)
        {
            var result = new Otettrackdetail();

            var pdsotettrackdetail = new pdsotettrackdetailDataSet();

            string cErrorMessage = string.Empty;

            DataRow ttblotettrackdetailRow = pdsotettrackdetail.ttblotettrackdetail.NewttblotettrackdetailRow();

            Otettrackdetail.UpdateRowFromOtettrackdetail(ref ttblotettrackdetailRow, AsotentryOTETTrackDetailFieldLeaveRequestAPI.otettrackdetail);
            pdsotettrackdetail.ttblotettrackdetail.AddttblotettrackdetailRow((pdsotettrackdetailDataSet.ttblotettrackdetailRow)ttblotettrackdetailRow);

            var cFieldName = AsotentryOTETTrackDetailFieldLeaveRequestAPI.cFieldName;


            NLogLoggerP.Trace("OTETTrackDetailFieldLeave - Asotentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsotentryproxy = this.proxyAppObject.CreatePO_asotentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsotentryproxy.OTETTrackDetailFieldLeave(ref pdsContext, cFieldName, ref pdsotettrackdetail, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("OTETTrackDetailFieldLeave - Asotentry - After Call");


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

            if (pdsotettrackdetail.ttblotettrackdetail.Count > 0)
            {
                result = Otettrackdetail.BuildOtettrackdetailFromRow(pdsotettrackdetail.ttblotettrackdetail[0]);
            }


            return(result);
        }
示例#2
0
 public Otettrackdetail OTETTrackDetailFieldLeave(AsotentryOTETTrackDetailFieldLeaveRequestAPI AsotentryOTETTrackDetailFieldLeaveRequestAPI)
 {
     return(this.repository.OTETTrackDetailFieldLeave(AsotentryOTETTrackDetailFieldLeaveRequestAPI));
 }
示例#3
0
 public Otettrackdetail OTETTrackDetailFieldLeave(AsotentryOTETTrackDetailFieldLeaveRequestAPI AsotentryOTETTrackDetailFieldLeaveRequestAPI)
 {
     return(this.adapter.OTETTrackDetailFieldLeave(AsotentryOTETTrackDetailFieldLeaveRequestAPI));
 }