public UIPreferenceMaintMethod( UIPreferenceMaint Cdo, UIPreferenceMaintMethods Method, UIPreferenceMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( UIPreferenceMaint uIPreferenceMaint, UIPreferenceMaint_Parameters parameters, UIPreferenceMaint_Request request, out UIPreferenceMaint_Result result) { result = (UIPreferenceMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)uIPreferenceMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IUIPreferenceMaintService)this._Channel).Freeze(this._UserProfile, uIPreferenceMaint, parameters, request, out result) : this.AddMethod((Method) new UIPreferenceMaintMethod(uIPreferenceMaint, UIPreferenceMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)uIPreferenceMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }