示例#1
0
 public ResultStatus Freeze(
     VendorMaint vendorMaint,
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     return(this.Freeze(vendorMaint, (VendorMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus NewCopy(
     VendorMaint vendorMaint,
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     return(this.NewCopy(vendorMaint, (VendorMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus LoadESigDetails(
     VendorMaint vendorMaint,
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     return(this.LoadESigDetails(vendorMaint, (VendorMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetWIPMsgs(
     VendorMaint vendorMaint,
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     return(this.GetWIPMsgs(vendorMaint, (VendorMaint_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus GetEnvironment(
     VendorMaint cdo,
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     result = (VendorMaint_Result)null;
     try
     {
         return(((IVendorMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
 public ResultStatus CommitTransaction(
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     result = (VendorMaint_Result)null;
     try
     {
         VendorMaintMethod[] methods = new VendorMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IVendorMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#7
0
        public ResultStatus ExecuteTransaction(
            VendorMaint cdo,
            VendorMaint_Request request,
            out VendorMaint_Result result)
        {
            result = (VendorMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IVendorMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new VendorMaintMethod(cdo, VendorMaintMethods.ExecuteTransaction, (VendorMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
        public ResultStatus Freeze(
            VendorMaint vendorMaint,
            VendorMaint_Parameters parameters,
            VendorMaint_Request request,
            out VendorMaint_Result result)
        {
            result = (VendorMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)vendorMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IVendorMaintService)this._Channel).Freeze(this._UserProfile, vendorMaint, parameters, request, out result) : this.AddMethod((Method) new VendorMaintMethod(vendorMaint, VendorMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)vendorMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     return(this.ExecuteTransaction((VendorMaint)null, request, out result));
 }
示例#10
0
 public ResultStatus GetEnvironment(
     VendorMaint_Request request,
     out VendorMaint_Result result)
 {
     return(this.GetEnvironment((VendorMaint)null, request, out result));
 }