public void EditProperties() { DbDefSource conn = (DbDefSource)m_conn; DbDefProperties props = conn.LoadProps(); if (EditPropertiesForm.Run(props, true)) { conn.SaveProps(props); } }
public DbDefViewTreeNode(IDatabaseStructure db, ISqlDialect dialect) : base("dbstruct") { m_db = db; m_conn = new DbDefSource(m_db, DbDefSource.ReadOnly.Flag); var appobj = new DatabaseAppObject(); appobj.FillFromDatabase(m_conn); SetAppObject(appobj); //m_commands = new DatabaseMenuCommands(m_conn, this); }
public TableDefSource(DbDefSource parent, TableStructure table) : base(parent.Connection) { m_table = table; m_parent = parent; }