public NCRResolutionCodeGroupMaintMethod( NCRResolutionCodeGroupMaint Cdo, NCRResolutionCodeGroupMaintMethods Method, NCRResolutionCodeGroupMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( NCRResolutionCodeGroupMaint nCRResolutionCodeGroupMaint, NCRResolutionCodeGroupMaint_Parameters parameters, NCRResolutionCodeGroupMaint_Request request, out NCRResolutionCodeGroupMaint_Result result) { result = (NCRResolutionCodeGroupMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)nCRResolutionCodeGroupMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((INCRResolutionCodeGroupMaintService)this._Channel).Freeze(this._UserProfile, nCRResolutionCodeGroupMaint, parameters, request, out result) : this.AddMethod((Method) new NCRResolutionCodeGroupMaintMethod(nCRResolutionCodeGroupMaint, NCRResolutionCodeGroupMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)nCRResolutionCodeGroupMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }