public NCRResolutionCodeMaintMethod( NCRResolutionCodeMaint Cdo, NCRResolutionCodeMaintMethods Method, NCRResolutionCodeMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( NCRResolutionCodeMaint nCRResolutionCodeMaint, NCRResolutionCodeMaint_Parameters parameters, NCRResolutionCodeMaint_Request request, out NCRResolutionCodeMaint_Result result) { result = (NCRResolutionCodeMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)nCRResolutionCodeMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((INCRResolutionCodeMaintService)this._Channel).Freeze(this._UserProfile, nCRResolutionCodeMaint, parameters, request, out result) : this.AddMethod((Method) new NCRResolutionCodeMaintMethod(nCRResolutionCodeMaint, NCRResolutionCodeMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)nCRResolutionCodeMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }