public Query GetAlterColumnQuery(Sql8rServer server, Sql8rDatabase database, Sql8rTable table, Sql8rColumn column) { string sql = string.Format(sqlAlterColumn, database.Name, table.GetFullObjectName(), column.Name); var query = new Query(_settings, server.Name, database.Name, sql); return(query); }
public void OpenTable(Query query, Sql8rTable table, bool editable) { if (_editorPresenter.EditTable(query, table.GetFullObjectName())) { _dataGridPresenter.OpenTable(query, table, editable); } }
public Query GetAlterColumnQuery(Sql8rServer server, Sql8rDatabase database, Sql8rTable table, Sql8rColumn column) { // throw new System.NotImplementedException(); string sql = string.Format(sqlAlterColumn, table.GetFullObjectName(), column.Name); var query = new Query(_settings, server.Name, database.Name, sql); return(query); }
public void OpenTable(Query query, Sql8rTable table, bool editable) { string fileName = table.GetFullObjectName(); setEditability(editable, !editable); bindDataTable(query, table); _view.tslDataName.Text = fileName; }