Ejemplo n.º 1
0
 public TriageSpecMaintMethod(
     TriageSpecMaint Cdo,
     TriageSpecMaintMethods Method,
     TriageSpecMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Ejemplo n.º 2
0
        public ResultStatus Freeze(
            TriageSpecMaint triageSpecMaint,
            TriageSpecMaint_Parameters parameters,
            TriageSpecMaint_Request request,
            out TriageSpecMaint_Result result)
        {
            result = (TriageSpecMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)triageSpecMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITriageSpecMaintService)this._Channel).Freeze(this._UserProfile, triageSpecMaint, parameters, request, out result) : this.AddMethod((Method) new TriageSpecMaintMethod(triageSpecMaint, TriageSpecMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)triageSpecMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }