예제 #1
0
        public bool ShowTableEditorDialog(IEditSchemaProvider schemaProvider, TableSchema table, bool create)
        {
            TableEditorSettings settings = new TableEditorSettings();
            TableEditorDialog   dlg      = new TableEditorDialog(schemaProvider, create, settings);

            dlg.Initialize(table);

            return(RunDialog(dlg));
        }
예제 #2
0
        public bool ShowTableEditorDialog(IEditSchemaProvider schemaProvider, TableSchema table, bool create)
        {
            TableEditorSettings settings = new TableEditorSettings();

            settings.ConstraintSettings.CheckSettings.SupportsColumnConstraints = false;
            TableEditorDialog dlg = new TableEditorDialog(schemaProvider, create, settings);

            dlg.Initialize(table);
            return(RunDialog(dlg));
        }
예제 #3
0
        public bool ShowTableEditorDialog(IEditSchemaProvider schemaProvider, TableSchema table, bool create)
        {
            TableEditorSettings settings = new TableEditorSettings();

            // SQLite doesn't support "NO ACTION" on "Foreign Key"
            settings.ConstraintSettings.ForeignKeySettings.SupportsNoAction = false;
            TableEditorDialog dlg = new TableEditorDialog(schemaProvider, create, settings);

            dlg.Initialize(table);

            return(RunDialog(dlg));
        }