public WhereUsedConfigMaintMethod( WhereUsedConfigMaint Cdo, WhereUsedConfigMaintMethods Method, WhereUsedConfigMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( WhereUsedConfigMaint whereUsedConfigMaint, WhereUsedConfigMaint_Parameters parameters, WhereUsedConfigMaint_Request request, out WhereUsedConfigMaint_Result result) { result = (WhereUsedConfigMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)whereUsedConfigMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IWhereUsedConfigMaintService)this._Channel).Freeze(this._UserProfile, whereUsedConfigMaint, parameters, request, out result) : this.AddMethod((Method) new WhereUsedConfigMaintMethod(whereUsedConfigMaint, WhereUsedConfigMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)whereUsedConfigMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }