コード例 #1
0
 public BusinessProcessSpecMaintMethod(
     BusinessProcessSpecMaint Cdo,
     BusinessProcessSpecMaintMethods Method,
     BusinessProcessSpecMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
コード例 #2
0
        public ResultStatus DeleteAllRevisions(
            BusinessProcessSpecMaint businessProcessSpecMaint,
            BusinessProcessSpecMaint_Parameters parameters,
            BusinessProcessSpecMaint_Request request,
            out BusinessProcessSpecMaint_Result result)
        {
            result = (BusinessProcessSpecMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)businessProcessSpecMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBusinessProcessSpecMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, businessProcessSpecMaint, parameters, request, out result) : this.AddMethod((Method) new BusinessProcessSpecMaintMethod(businessProcessSpecMaint, BusinessProcessSpecMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)businessProcessSpecMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }