private void btnConnect_Click(object sender, EventArgs e) { if (conn != null) { conn.close(); } this.conn = new EntConnection(new ConnectionMSSQL2008(txtIp.Text, txtId.Text, txtPw.Text)); // MS-SQL 2008 cboDbName.DataSource = conn.getSchemaList(); }
public GenerateEntity(EntConnection con) { this.connect = con; }