예제 #1
0
        public void EditProperties()
        {
            DbDefSource     conn  = (DbDefSource)m_conn;
            DbDefProperties props = conn.LoadProps();

            if (EditPropertiesForm.Run(props, true))
            {
                conn.SaveProps(props);
            }
        }
예제 #2
0
        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);
        }
예제 #3
0
 public TableDefSource(DbDefSource parent, TableStructure table)
     : base(parent.Connection)
 {
     m_table  = table;
     m_parent = parent;
 }