Exemplo n.º 1
0
        /// <summary>
        /// Loads the local variables.
        /// </summary>
        public void LoadLocalVariables()
        {
            cmbDatabaseEntity.Items.Clear();
            cmbDatabaseEntity.Items.AddRange(PluginsManager.GetTableListFromPlugin(Project.Controller).ToArray());

            cmbTemplate.Items.Clear();
            cmbTemplate.DataSource    = PluginsManager.GetSupportedTemplates <IQueryGeneratorTemplate>(Project.Controller);
            cmbTemplate.DisplayMember = "Name";
            cmbTemplate.ValueMember   = "Name";
        }