Пример #1
0
 public ResultStatus LoadESigDetails(
     EMailNotificationMaint eMailNotificationMaint,
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     return(this.LoadESigDetails(eMailNotificationMaint, (EMailNotificationMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     EMailNotificationMaint eMailNotificationMaint,
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     return(this.Freeze(eMailNotificationMaint, (EMailNotificationMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     EMailNotificationMaint eMailNotificationMaint,
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     return(this.GetWIPMsgs(eMailNotificationMaint, (EMailNotificationMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     EMailNotificationMaint cdo,
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     result = (EMailNotificationMaint_Result)null;
     try
     {
         return(((IEMailNotificationMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     result = (EMailNotificationMaint_Result)null;
     try
     {
         EMailNotificationMaintMethod[] methods = new EMailNotificationMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IEMailNotificationMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            EMailNotificationMaint cdo,
            EMailNotificationMaint_Request request,
            out EMailNotificationMaint_Result result)
        {
            result = (EMailNotificationMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEMailNotificationMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new EMailNotificationMaintMethod(cdo, EMailNotificationMaintMethods.ExecuteTransaction, (EMailNotificationMaint_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);
        }
Пример #7
0
        public ResultStatus Freeze(
            EMailNotificationMaint eMailNotificationMaint,
            EMailNotificationMaint_Parameters parameters,
            EMailNotificationMaint_Request request,
            out EMailNotificationMaint_Result result)
        {
            result = (EMailNotificationMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)eMailNotificationMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEMailNotificationMaintService)this._Channel).Freeze(this._UserProfile, eMailNotificationMaint, parameters, request, out result) : this.AddMethod((Method) new EMailNotificationMaintMethod(eMailNotificationMaint, EMailNotificationMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)eMailNotificationMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     return(this.ExecuteTransaction((EMailNotificationMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     EMailNotificationMaint_Request request,
     out EMailNotificationMaint_Result result)
 {
     return(this.GetEnvironment((EMailNotificationMaint)null, request, out result));
 }