public QueryParameters() { this._availableEdit = false; this._availableRemove = false; this._selectedParametes = new List<ParameterInfoLocalizable>(); this._prameters = new BindingList<ParameterInfoLocalizable>(); this._selectedQuery = null; this._queries = new BindingList<QueryKey>(); this._ctNodeDefinition = null; this._savedNode = null; this._dicParameters = new Dictionary<QueryKey, IList<ParameterInfoLocalizable>>(); this._updateAction = null; }
public QueryParameters() { this._availableEdit = false; this._availableRemove = false; this._selectedParametes = new List <ParameterInfoLocalizable>(); this._prameters = new BindingList <ParameterInfoLocalizable>(); this._selectedQuery = null; this._queries = new BindingList <QueryKey>(); this._ctNodeDefinition = null; this._savedNode = null; this._dicParameters = new Dictionary <QueryKey, IList <ParameterInfoLocalizable> >(); this._updateAction = null; }
private void SetSelectedQuery(QueryKey queryName) { if (this._dicParameters.ContainsKey(queryName)) { Parameters.RaiseListChangedEvents = false; Parameters.Clear(); foreach (var parameterInfo in this._dicParameters[queryName]) { Parameters.Add(parameterInfo); } Parameters.RaiseListChangedEvents = true; this._selectedParametes = new List <ParameterInfoLocalizable>(); AvailbleEdit = queryName.Query is TemplateNodeSqlGuardQueryInfo; AvailableRemove = false; } }
private void SetSelectedQuery(QueryKey queryName) { if (this._dicParameters.ContainsKey(queryName)) { Parameters.RaiseListChangedEvents = false; Parameters.Clear(); foreach (var parameterInfo in this._dicParameters[queryName]) { Parameters.Add(parameterInfo); } Parameters.RaiseListChangedEvents = true; this._selectedParametes = new List<ParameterInfoLocalizable>(); AvailbleEdit = queryName.Query is TemplateNodeSqlGuardQueryInfo; AvailableRemove = false; } }