Пример #1
0
 public ResultStatus GetPackageDetails(
     GetChangePackageDetails getChangePackageDetails,
     GetChangePackageDetails_Request request,
     out GetChangePackageDetails_Result result)
 {
     return(this.GetPackageDetails(getChangePackageDetails, (GetChangePackageDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetEnvironment(
     GetChangePackageDetails cdo,
     GetChangePackageDetails_Request request,
     out GetChangePackageDetails_Result result)
 {
     result = (GetChangePackageDetails_Result)null;
     try
     {
         return(((IGetChangePackageDetailsService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #3
0
 public ResultStatus CommitTransaction(
     GetChangePackageDetails_Request request,
     out GetChangePackageDetails_Result result)
 {
     result = (GetChangePackageDetails_Result)null;
     try
     {
         GetChangePackageDetailsMethod[] methods = new GetChangePackageDetailsMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IGetChangePackageDetailsService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #4
0
        public ResultStatus ExecuteTransaction(
            GetChangePackageDetails cdo,
            GetChangePackageDetails_Request request,
            out GetChangePackageDetails_Result result)
        {
            result = (GetChangePackageDetails_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetChangePackageDetailsService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new GetChangePackageDetailsMethod(cdo, GetChangePackageDetailsMethods.ExecuteTransaction, (GetChangePackageDetails_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);
        }
Пример #5
0
        public ResultStatus GetApprovalDetails(
            GetChangePackageDetails getChangePackageDetails,
            GetChangePackageDetails_Parameters parameters,
            GetChangePackageDetails_Request request,
            out GetChangePackageDetails_Result result)
        {
            result = (GetChangePackageDetails_Result)null;
            this.OnBeforeCall(nameof(GetApprovalDetails), (DCObject)getChangePackageDetails, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetChangePackageDetailsService)this._Channel).GetApprovalDetails(this._UserProfile, getChangePackageDetails, parameters, request, out result) : this.AddMethod((Method) new GetChangePackageDetailsMethod(getChangePackageDetails, GetChangePackageDetailsMethods.GetApprovalDetails, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetApprovalDetails), res, (DCObject)getChangePackageDetails, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #6
0
 public ResultStatus ExecuteTransaction(
     GetChangePackageDetails_Request request,
     out GetChangePackageDetails_Result result)
 {
     return(this.ExecuteTransaction((GetChangePackageDetails)null, request, out result));
 }
Пример #7
0
 public ResultStatus GetEnvironment(
     GetChangePackageDetails_Request request,
     out GetChangePackageDetails_Result result)
 {
     return(this.GetEnvironment((GetChangePackageDetails)null, request, out result));
 }