public SqlParams(string sql, NewPage.NewPage Iplugin)
 {
     plugin    = Iplugin;
     sqlParams = sql;
     InitializeComponent();
     vm          = new SqlParamsVM(this);
     DataContext = vm;
 }
Exemple #2
0
        public NewPageVM(NewPage.NewPage Iplugin)
        {
            plugin     = Iplugin;
            queryCount = new List <KeyValue <int, string> >
            {
                new KeyValue <int, string>(100, "100"),
                new KeyValue <int, string>(500, "500"),
                new KeyValue <int, string>(1000, "1000"),
                new KeyValue <int, string>(Int32.MaxValue, "Full"),
            };
            _selectedQueryCount = queryCount.FirstOrDefault();

            BindedWords = new Dictionary <string, string>();
        }