Exemplo n.º 1
0
		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;
		}
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
        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;
            }
        }
Exemplo n.º 4
0
		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;
			}
		}