public ESigRoleGroupMaintMethod( ESigRoleGroupMaint Cdo, ESigRoleGroupMaintMethods Method, ESigRoleGroupMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( ESigRoleGroupMaint eSigRoleGroupMaint, ESigRoleGroupMaint_Parameters parameters, ESigRoleGroupMaint_Request request, out ESigRoleGroupMaint_Result result) { result = (ESigRoleGroupMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)eSigRoleGroupMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IESigRoleGroupMaintService)this._Channel).Freeze(this._UserProfile, eSigRoleGroupMaint, parameters, request, out result) : this.AddMethod((Method) new ESigRoleGroupMaintMethod(eSigRoleGroupMaint, ESigRoleGroupMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)eSigRoleGroupMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }