private void bProcess_Click(object sender, EventArgs e) { facto = new DFacto(tbConnStr.Text); facto.Filter = comboBox1.Text; facto.StoredProcedureFilter = comboBox2.Text; facto.RefreshDatabaseSchema(); facto.Save(filepath, Path.GetFileNameWithoutExtension(filepath)); MessageBox.Show("Ready!"); }
private void bRefresh_Click(object sender, EventArgs e) { facto = new DFacto(tbConnStr.Text); facto.Filter = comboBox1.Text; facto.StoredProcedureFilter = comboBox2.Text; facto.RefreshDatabaseSchema(); litems.Clear(); foreach (EntityData ed in facto.AllEntities) { litems.Add(ed.ClassName, ed); } BindLists(); }