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);
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);
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);