Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MonoDevelop.mdw1
-rw-r--r--extras/MonoDevelop.Database/AUTHORS1
-rw-r--r--extras/MonoDevelop.Database/COPYING21
-rw-r--r--extras/MonoDevelop.Database/Makefile.am35
-rw-r--r--extras/MonoDevelop.Database/Makefile.include4
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Commands/ToolCommands.cs80
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClass.cs193
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs107
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Makefile.am43
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.csproj115
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClass.cs579
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs154
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/generated.cs29
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/gui.stetic916
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/objects.xml2
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridContentRendererCodon.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridVisualizerCodon.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs54
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/DataGridCommands.cs41
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/SqlEditorCommands.cs42
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/ComponentHelper.cs86
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ColumnContainer.cs90
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ConditionContainer.cs3
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ParameterContainer.cs67
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/SchemaContainers.cs137
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/TableContainer.cs58
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseAvailableProvidersDialog.cs62
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs111
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/SelectColumnDialog.cs85
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowImageDialog.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowTextDialog.cs60
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/WaitDialog.cs99
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Makefile.am96
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml81
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.csproj245
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/SqlSyntaxMode.xml254
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/CellRendererTypeCombo.cs59
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs247
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs445
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGrid.cs460
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGridColumn.cs93
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BlobContentRenderer.cs51
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs57
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ByteContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DecimalContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DoubleContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/FloatContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IDataGridContentRenderer.cs41
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IntegerContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/LongContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/NullContentRenderer.cs51
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ObjectContentRenderer.cs57
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/StringContentRenderer.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs91
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs93
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs79
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/IDataGridVisualizer.cs42
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionContextComboBox.cs132
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionEditorWidget.cs86
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ProjectDirectoryComboBox.cs130
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs151
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectSchemaWidget.cs185
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs145
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedColumnListStore.cs238
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedTableListStore.cs227
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs174
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs159
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs501
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs153
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.cs91
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.cs93
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.cs74
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs114
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs102
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs54
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SqlEditorWidget.cs27
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs82
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/generated.cs116
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/gui.stetic1416
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/objects.xml97
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ConnectionManagerCommands.cs109
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ToolbarCommands.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/ConnectionManagerPad.cs71
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/FakeNodes.cs305
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Makefile.am68
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml452
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.csproj247
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs93
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs116
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs168
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs292
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs73
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs115
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs73
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs108
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs222
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs153
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs448
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs183
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs100
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs92
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs201
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs148
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs219
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs153
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/generated.cs29
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/gui.stetic6
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/CreateDatabaseDialog.cs116
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/PreviewDialog.cs114
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs242
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs340
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs78
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs146
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Makefile.am63
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.addin.xml23
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.csproj139
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs303
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs557
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CommentEditorWidget.cs51
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs208
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CreateDatabaseWidget.cs61
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs468
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/IndicesEditorWidget.cs65
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs252
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs390
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs247
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs124
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ColumnsEditorWidget.cs135
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CommentEditorWidget.cs34
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ConstraintsEditorWidget.cs19
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs93
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs168
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.IndicesEditorWidget.cs19
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs114
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.cs105
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs197
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs159
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs125
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs105
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs108
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs139
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/generated.cs116
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/gui.stetic1528
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/objects.xml77
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/Commands/ToolCommands.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/ISqlQueryEditorView.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/Makefile.am78
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml91
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.csproj241
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/QueryResultView.cs78
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryDisplayBinding.cs62
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryTextEditorExtension.cs37
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs388
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/generated.cs29
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/gui.stetic6
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.Key.pngbin455 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.pngbin153 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Error.pngbin678 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Remove.pngbin668 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.pngbin530 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Constraints.pngbin612 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Error.pngbin682 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Ok.pngbin698 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.pngbin390 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Execute.pngbin634 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Function.pngbin917 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Parameter.pngbin389 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Error.pngbin861 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Source.pngbin859 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.pngbin748 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Relations.pngbin663 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.Error.pngbin687 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.pngbin566 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Tables.pngbin612 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.User.pngbin741 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Users.pngbin753 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Error.pngbin793 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Source.pngbin818 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.pngbin635 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Views.pngbin663 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.License.txt10
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdConnectionProvider.cs110
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdDbFactory.cs73
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdSchemaProvider.cs379
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.addin.xml24
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.csproj70
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCharacterSetSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCollationSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlCreateDatabaseDialog.cs100
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlTableEditorDialog.cs0
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Makefile.am65
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.addin.xml34
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.csproj195
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlConnectionProvider.cs69
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs131
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDialect.cs137
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlGuiProvider.cs127
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlPooledDbConnection.cs96
-rwxr-xr-xextras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSchemaProvider.cs1027
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSyntaxMode.xml534
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCharacterSetSchema.cs74
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCollationSchema.cs110
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlDatabaseSchema.cs86
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlColumnEditorWidget.cs18
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlCreateDatabaseWidget.cs82
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.cs26
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs76
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/generated.cs82
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/gui.stetic145
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/objects.xml10
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlEncodingCollection.cs47
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlTablespaceCollection.cs49
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlCreateDatabaseDialog.cs100
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlTableEditorDialog.cs0
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Encoding.xml296
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Makefile.am65
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.addin.xml34
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.csproj220
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlConnectionProvider.cs64
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs131
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDialect.cs451
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlGuiProvider.cs126
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlPooledDbConnection.cs89
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSchemaProvider.cs1654
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSyntaxMode.xml610
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlDatabaseSchema.cs86
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlEncoding.cs110
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlTablespace.cs63
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/dummy.cs0
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlColumnEditorWidget.cs18
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlCreateDatabaseWidget.cs124
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget.cs19
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.cs122
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/generated.cs82
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/gui.stetic211
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/objects.xml10
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.addin.xml28
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.csproj98
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcConnectionProvider.cs58
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDbFactory.cs86
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDialect.cs49
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcPooledDbConnection.cs107
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcSchemaProvider.cs59
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.addin.xml28
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.csproj107
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleConnectionProvider.cs61
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs89
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDialect.cs49
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleGuiProvider.cs70
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OraclePooledDbConnection.cs108
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleSchemaProvider.cs285
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Collections/SqlServerCollationSchemaCollection.cs45
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerCreateDatabaseDialog.cs102
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerTableEditorDialog.cs24
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Makefile.am61
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.addin.xml34
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.csproj234
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerCollationSchema.cs62
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerDatabaseSchema.cs152
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/dummy.cs0
-rwxr-xr-xextras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerConnectionProvider.cs70
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs136
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDialect.cs135
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerGuiProvider.cs126
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerPooledDbConnection.cs113
-rwxr-xr-xextras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSchemaProvider.cs1089
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSyntaxMode.xml1330
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SysObjects.xml71
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerColumnEditorWidget.cs18
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerCreateDatabaseWidget.cs91
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget.cs19
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs273
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/generated.cs82
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/gui.stetic399
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/objects.xml10
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteCreateDatabaseDialog.cs64
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteDatabaseConnectionSettingsDialog.cs55
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteTableEditorDialog.cs0
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Makefile.am52
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.addin.xml34
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.csproj204
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Schema/dummy.cs0
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteConnectionProvider.cs58
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDatabaseAlreadyExistsException.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs128
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDialect.cs85
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteGuiProvider.cs170
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqlitePooledDbConnection.cs94
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs567
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSyntaxMode.xml311
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs106
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/generated.cs29
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/gui.stetic14
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.addin.xml24
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.csproj72
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseConnectionProvider.cs114
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseDbFactory.cs73
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseSchemaProvider.cs358
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Tests/MonoDevelop.Database.Sql.Tests.csproj49
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AddinCatalog.cs65
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/AbstractAlterSchema.cs104
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/AbstractAlteration.cs61
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ColumnAlterations.cs33
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ConstraintAlterations.cs55
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/DefaultAlterations.cs95
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IAlteration.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IndexAlterations.cs33
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ProcedureAlterations.cs47
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TableAlterations.cs55
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TriggerAlterations.cs63
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/UserAlterations.cs33
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ViewAlterations.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/CheckConstraintAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ColumnAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/DatabaseAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ForeignKeyConstraintAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IAlterSchema.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IndexAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/PrimaryKeyConstraintAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ProcedureAlterSchema.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TableAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TriggerAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UniqueConstraintAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UserAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ViewAlterSchema.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs9
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs.in16
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Codons/DbFactoryCodon.cs47
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ColumnSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ConstraintSchemaCollection.cs72
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DataTypeSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DatabaseSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IPropertyComparer.cs36
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IndexSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ParameterSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ProcedureSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionBase.cs300
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionItemEventArgs.cs47
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TableSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TriggerSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/UserSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ViewSchemaCollection.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContext.cs102
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextCollection.cs103
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextEventArgs.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettings.cs146
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettingsCollection.cs89
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DuplicatedConnectionContextException.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionContextService.cs175
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/AbstractPooledDbConnection.cs326
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/DefaultConnectionPool.cs275
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/FakeConnectionPool.cs175
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IConnectionPool.cs62
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IPooledDbConnection.cs73
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledCommand.cs123
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledDataReader.cs225
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/DbFactoryService.cs101
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/AbstractSqlDialect.cs488
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromClause.cs36
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromSelectClause.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromTableClause.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/GroupByClause.cs36
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/HavingClause.cs36
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/IClause.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClause.cs36
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClauseType.cs40
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/OrderByClause.cs36
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/UnionClause.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/WhereClause.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/AliasedIdentifierExpression.cs51
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanExpression.cs68
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanOperator.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IConditionalExpression.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IExpression.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IdentifierExpression.cs55
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/Operator.cs53
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/OperatorExpression.cs68
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/ParameterExpression.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/ISqlDialect.cs47
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BitLiteral.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BooleanLiteral.cs46
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/FalseLiteral.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/HexLiteral.cs94
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/ILiteral.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NullLiteral.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NumericLiteral.cs69
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/StringLiteral.cs54
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/TrueLiteral.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DeleteStatement.cs56
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatement.cs57
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatementType.cs40
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/IStatement.cs35
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/InsertStatement.cs70
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/LineStatement.cs64
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/SelectStatement.cs107
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/TruncateStatement.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/UpdateStatement.cs72
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbFactory.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbLinq.cs72
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Makefile.am175
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.addin.xml29
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.csproj237
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractConnectionProvider.cs73
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractEditSchemaProvider.cs199
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractSchemaProvider.cs883
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IConnectionProvider.cs40
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IEditSchemaProvider.cs72
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IGuiProvider.cs49
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/ISchemaProvider.cs96
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/QueryService.cs127
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AbstractSchema.cs176
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AggregateSchema.cs55
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/CheckConstraintSchema.cs58
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ColumnSchema.cs151
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintSchema.cs68
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintType.cs43
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeCategory.cs113
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeSchema.cs241
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DatabaseSchema.cs58
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyAction.cs41
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyConstraintSchema.cs103
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/GroupSchema.cs63
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ISchema.cs97
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSchema.cs82
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSortType.cs37
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexType.cs37
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/LanguageSchema.cs63
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/OperatorSchema.cs68
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterSchema.cs91
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterType.cs38
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrimaryKeyConstraintSchema.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrivilegeSchema.cs64
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ProcedureSchema.cs112
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/Range.cs91
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RoleSchema.cs53
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RuleSchema.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaActions.cs44
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaSchema.cs59
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaType.cs61
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SequenceSchema.cs99
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TableSchema.cs159
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerEvent.cs39
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerFireType.cs37
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerSchema.cs137
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerType.cs37
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UniqueConstraintSchema.cs50
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UserSchema.cs96
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ViewSchema.cs102
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalExecException.cs41
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalServices.cs152
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.sln124
-rw-r--r--extras/MonoDevelop.Database/NEWS0
-rw-r--r--extras/MonoDevelop.Database/README0
-rwxr-xr-xextras/MonoDevelop.Database/autogen.sh79
-rw-r--r--extras/MonoDevelop.Database/configure.in168
-rw-r--r--extras/MonoDevelop.Database/contrib/MySql/MySql.Data.dllbin266240 -> 0 bytes
-rw-r--r--extras/MonoDevelop.Database/contrib/MySql/MySql.license.txt1
-rw-r--r--extras/MonoDevelop.Database/monodevelop-database.pc.in8
-rw-r--r--extras/MonoDevelop.Database/monodevelop-database.spec.in74
-rw-r--r--extras/MonoDevelop.Database/po/Makefile.am60
-rw-r--r--extras/MonoDevelop.Database/po/ar.po863
-rw-r--r--extras/MonoDevelop.Database/po/ca.po954
-rw-r--r--extras/MonoDevelop.Database/po/cs.po883
-rw-r--r--extras/MonoDevelop.Database/po/da.po948
-rw-r--r--extras/MonoDevelop.Database/po/de.po881
-rw-r--r--extras/MonoDevelop.Database/po/es.po885
-rw-r--r--extras/MonoDevelop.Database/po/fr.po860
-rw-r--r--extras/MonoDevelop.Database/po/gl.po906
-rwxr-xr-xextras/MonoDevelop.Database/po/hu.po882
-rw-r--r--extras/MonoDevelop.Database/po/id.po880
-rw-r--r--extras/MonoDevelop.Database/po/it.po904
-rw-r--r--extras/MonoDevelop.Database/po/ja.po858
-rw-r--r--extras/MonoDevelop.Database/po/ko.po820
-rw-r--r--extras/MonoDevelop.Database/po/messages.po810
-rw-r--r--extras/MonoDevelop.Database/po/nl.po876
-rw-r--r--extras/MonoDevelop.Database/po/pl.po950
-rw-r--r--extras/MonoDevelop.Database/po/po.mdproj46
-rw-r--r--extras/MonoDevelop.Database/po/pt.po951
-rw-r--r--extras/MonoDevelop.Database/po/pt_BR.po885
-rw-r--r--extras/MonoDevelop.Database/po/ru.po954
-rw-r--r--extras/MonoDevelop.Database/po/sl_SI.po948
-rw-r--r--extras/MonoDevelop.Database/po/sv.po956
-rw-r--r--extras/MonoDevelop.Database/po/tr.po859
-rwxr-xr-xextras/MonoDevelop.Database/po/zh_CN.po910
-rw-r--r--extras/MonoDevelop.Database/po/zh_TW.po944
-rw-r--r--extras/extras.mdw5
519 files changed, 0 insertions, 76130 deletions
diff --git a/MonoDevelop.mdw b/MonoDevelop.mdw
index f9a715ad64..61e2897bdd 100644
--- a/MonoDevelop.mdw
+++ b/MonoDevelop.mdw
@@ -1,6 +1,5 @@
<WorkspaceItem name="MonoDevelop" ctype="Workspace">
<Items>
- <Item>extras/extras.mdw</Item>
<Item>main/Main.sln</Item>
</Items>
</WorkspaceItem>
diff --git a/extras/MonoDevelop.Database/AUTHORS b/extras/MonoDevelop.Database/AUTHORS
deleted file mode 100644
index f809ff555c..0000000000
--- a/extras/MonoDevelop.Database/AUTHORS
+++ /dev/null
@@ -1 +0,0 @@
-Ben Motmans <ben.motmans@gmail.com>
diff --git a/extras/MonoDevelop.Database/COPYING b/extras/MonoDevelop.Database/COPYING
deleted file mode 100644
index 14826f9621..0000000000
--- a/extras/MonoDevelop.Database/COPYING
+++ /dev/null
@@ -1,21 +0,0 @@
-
-The MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
diff --git a/extras/MonoDevelop.Database/Makefile.am b/extras/MonoDevelop.Database/Makefile.am
deleted file mode 100644
index d364cba9d8..0000000000
--- a/extras/MonoDevelop.Database/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-SUBDIRS = \
- MonoDevelop.Database.Sql \
- MonoDevelop.Database.Components \
- MonoDevelop.Database.Designer \
- MonoDevelop.Database.Sql.MySql \
- MonoDevelop.Database.Sql.Npgsql \
- MonoDevelop.Database.Sql.Sqlite \
- MonoDevelop.Database.Sql.SqlServer \
- MonoDevelop.Database.Query \
- MonoDevelop.Database.CodeGenerator \
- MonoDevelop.Database.ConnectionManager \
- po
-
-all:
-
-pkgconfig_in_files = monodevelop-database.pc.in
-
-pkgconfigdir= $(prefix)/lib/pkgconfig
-pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
-
-PACKAGES =
-
-mpacks: $(PACKAGES)
- test -z "packages" || mkdir -p packages
- mdtool setup p $(PACKAGES:%=%) -d:packages
- mdtool setup rb packages
-
-### SYNCH BLOCK: any changes to this line should be kept in sync with the corresponding block in Makefile.am
-MD_PKG_CONFIG_PATH=$(gtksharp_prefix)/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/share/pkgconfig/:/usr/local/share/pkgconfig/$(shell if test -d /usr/lib64; then echo ":/usr/lib64/pkgconfig/:/usr/local/lib64/pkgconfig/"; fi)
-### END BLOCK
-
-# we can't use the variables that are conditionally defined
-EXTRA_DIST = $(pkgconfig_in_files)
-
-DISTCLEANFILES = $(pkgconfig_DATA)
diff --git a/extras/MonoDevelop.Database/Makefile.include b/extras/MonoDevelop.Database/Makefile.include
deleted file mode 100644
index c2b369a673..0000000000
--- a/extras/MonoDevelop.Database/Makefile.include
+++ /dev/null
@@ -1,4 +0,0 @@
-build_sources = $(addprefix $(srcdir)/, $(FILES)) $(GENERATED_FILES)
-build_resources = $(addprefix $(srcdir)/, $(RES))
-build_test_sources = $(addprefix $(srcdir)/, $(TESTFILES)) $(GENERATED_FILES)
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/AssemblyInfo.cs
deleted file mode 100644
index 8e6e8c6ba4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.CodeGenerator.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MonoDevelop Database CodeGenerator")]
-[assembly: AssemblyDescription ("Database CodeGenerator Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Commands/ToolCommands.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Commands/ToolCommands.cs
deleted file mode 100644
index 9c23eaa9e3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Commands/ToolCommands.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Projects;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.CodeGenerator
-{
- public enum ToolCommands
- {
- GenerateDataClasses,
- GenerateDataClassesNew
- }
-
- public class GenerateDataClassesHandler : CommandHandler
- {
- protected override void Run ()
- {
-
- GenerateDataClass dlg = new GenerateDataClass ();
- try {
- if (dlg.Run () == (int)ResponseType.Ok)
- dlg.GenerateClass ();
- } finally {
- dlg.Destroy ();
- }
- }
-
- protected override void Update (CommandInfo info)
- {
- int count = ConnectionContextService.DatabaseConnections.Count;
- Solution combine = IdeApp.ProjectOperations.CurrentSelectedSolution;
- if (count == 0 || combine == null) {
- info.Enabled = false;
- return;
- }
-
- //only enable the command if 1 or more code projects exist
- foreach (SolutionItem entry in combine.Items) {
- if (!(entry is DotNetProject))
- continue;
-
- DotNetProject proj = (DotNetProject)entry;
- if (proj.LanguageBinding != null) {
- info.Enabled = true;
- break;
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClass.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClass.cs
deleted file mode 100644
index 7649fe4467..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClass.cs
+++ /dev/null
@@ -1,193 +0,0 @@
-//
-// GenerateDataClass.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2010 Lucian0
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-using Gtk;
-using System;
-using System.IO;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Projects;
-
-namespace MonoDevelop.Database.CodeGenerator
-{
- public partial class GenerateDataClass : Gtk.Dialog
- {
-
- public GenerateDataClass ()
- {
- this.Build ();
- if (comboProject.SelectedProject != null)
- OnComboProjectChanged (comboProject, new EventArgs ());
- }
-
- protected virtual void OnComboProviderConnectionSelectedDatabaseChanged (object sender, System.EventArgs e)
- {
-
- DatabaseConnectionContext ctx = comboProviderConnection.DatabaseConnection;
- if (ctx != null) {
- if (!(ctx.DbFactory is IDbLinq)){
- labelMessage.Markup = string.Concat ("<span color=\"red\">",
- AddinCatalog.GetString (string.Concat ("The <b>selected ",
- "connection</b> does ",
- "not have a valid ",
- "provider to complete ",
- "this operation.")),
- "</span>");
- } else {
- checkSprocs.Sensitive = ((IDbLinq)ctx.DbFactory).HasProcedures;
- labelMessage.Markup = "";
- }
- }
- Validate ();
- }
-
- public void GenerateClass ()
- {
- string output;
-
- if (comboProject.SelectedDirectory != null)
- output = System.IO.Path.Combine (comboProject.SelectedDirectory, entryFile.Text);
- else {
- FileInfo info = new FileInfo (comboProject.SelectedProject.FileName);
- output = System.IO.Path.Combine (info.Directory.FullName, entryFile.Text);
- }
- bool generated = false;
- DatabaseConnectionContext ctx = comboProviderConnection.DatabaseConnection;
- if (comboOutput.ActiveText.Equals (AddinCatalog.GetString ("Code"),
- StringComparison.InvariantCultureIgnoreCase) ||
- comboOutput.ActiveText.Equals (AddinCatalog.GetString ("Code & DBML"),
- StringComparison.InvariantCultureIgnoreCase) )
- generated = (ctx.DbFactory as IDbLinq).Generate (ctx.ConnectionSettings,
- comboOutput.ActiveText,
- output,
- comboLanguage.ActiveText,
- comboStyle.ActiveText,
- entryNamespace.Text,
- entryEntityBase.Text,
- entryEntityAttr.Text,
- entryMemberAttr.Text,
- entryGenerateType.Text,
- entryCulture.Text,
- checkSchema.Active,
- checkGenerateTimestamps.Active,
- checkEqualsAndHash.Active,
- checkSprocs.Active,
- checkPluralize.Active);
- else
- generated = (ctx.DbFactory as IDbLinq).Generate (ctx.ConnectionSettings,
- comboOutput.ActiveText,
- output,
- entryNamespace.Text,
- entryEntityBase.Text,
- entryEntityAttr.Text,
- entryMemberAttr.Text,
- entryGenerateType.Text,
- entryCulture.Text,
- checkSchema.Active,
- checkGenerateTimestamps.Active,
- checkEqualsAndHash.Active,
- checkSprocs.Active,
- checkPluralize.Active);
-
- if (generated) {
- comboProject.SelectedProject.AddFile (output);
- // Add references to the project if they do not exist
- string[] references = {
- "System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
- "System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
- };
- ProjectReference gacRef;
- DotNetProject project = ((DotNetProject)comboProject.SelectedProject);
- foreach(string refName in references) {
- string targetName = project.TargetRuntime.AssemblyContext.GetAssemblyNameForVersion (refName, null, project.TargetFramework);
- if (targetName != null) {
- gacRef = new ProjectReference (ReferenceType.Gac, refName);
- if (!project.References.Contains (gacRef))
- project.References.Add (gacRef);
- }
- }
- }
- }
-
- protected void Validate ()
- {
- if (comboProviderConnection.DatabaseConnection == null)
- buttonOk.Sensitive = false;
- else if (!(comboProviderConnection.DatabaseConnection.DbFactory is IDbLinq)
- || comboProject.SelectedProject == null)
- buttonOk.Sensitive = false;
- else
- buttonOk.Sensitive = true;
-
- }
-
- protected virtual void OnComboOutputChanged (object sender, System.EventArgs e)
- {
- if (comboOutput.Active == 0 || comboOutput.Active == 2) {
- comboLanguage.Sensitive = true;
- comboStyle.Sensitive = true;
- comboLanguage.Active = 0;
- comboStyle.Active = 0;
- } else {
- entryFile.Text = string.Concat(System.IO.Path.GetFileNameWithoutExtension (entryFile.Text), ".dbml");
- comboLanguage.Sensitive = false;
- comboStyle.Sensitive = false;
- comboLanguage.Active = -1;
- comboStyle.Active = -1;
- }
- Validate ();
- }
-
- protected virtual void OnComboLanguageChanged (object sender, System.EventArgs e)
- {
- if (comboLanguage.ActiveText == "VB")
- entryFile.Text = string.Concat(System.IO.Path.GetFileNameWithoutExtension (entryFile.Text), ".vb");
- else if (comboLanguage.ActiveText != null)
- entryFile.Text = string.Concat(System.IO.Path.GetFileNameWithoutExtension (entryFile.Text), ".cs");
- Validate ();
- }
-
- protected virtual void OnComboProjectChanged (object sender, System.EventArgs e)
- {
- if (comboProject.SelectedProject != null)
- if (comboProject.SelectedDirectory != null)
- entryNamespace.Text = string.Concat (((DotNetProject)comboProject.SelectedProject).DefaultNamespace,
- ".",
- GetNamespace(comboProject.SelectedProject.ItemDirectory.FullPath,
- comboProject.SelectedDirectory), ".DbLinq");
- else
- entryNamespace.Text = string.Concat (((DotNetProject)comboProject.SelectedProject).DefaultNamespace,
- ".DbLinq");
- Validate ();
- }
-
- private string GetNamespace (string projectPath, string folder)
- {
- return folder.Substring (projectPath.Length+1).Replace ('/', '.');
- }
-
-
- }
-}
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs
deleted file mode 100644
index 58fca96ac8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.CodeGenerator
-{
- [System.ComponentModel.Category("MonoDevelop.Database.CodeGenerator")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class GenerateDataClassesDialog : Gtk.Dialog
- {
- private DatabaseConnectionContextComboBox comboDatabase;
- private ProjectDirectoryComboBox comboLocation;
-
- private ColumnMappingWidget columnMapping;
- //private TableMappingWidget tableMapping;
-
- private DatabaseConnectionContext selectedDatabase;
-
- private TableSchemaCollection tables;
-
- public GenerateDataClassesDialog ()
- {
- this.Build();
-
- notebook.ChangeCurrentPage += ChangeCurrentNotebookPage;
-
- comboLocation = new ProjectDirectoryComboBox ();
- comboDatabase = new DatabaseConnectionContextComboBox ();
-
- tableGeneral.Attach (comboLocation, 1, 2, 0, 1, AttachOptions.Fill | AttachOptions.Expand, AttachOptions.Shrink, 0, 0);
- tableGeneral.Attach (comboDatabase, 1, 2, 1, 2, AttachOptions.Fill | AttachOptions.Expand, AttachOptions.Shrink, 0, 0);
-
- columnMapping = new ColumnMappingWidget (true);
- //tableMapping = new TableMappingWidget ();
-
- tableTables.Attach (columnMapping, 0, 1, 1, 2, AttachOptions.Fill | AttachOptions.Expand, AttachOptions.Fill | AttachOptions.Expand, 0, 0);
- //tableTables.Attach (tableMapping, 1, 2, 1, 2, AttachOptions.Fill | AttachOptions.Expand, AttachOptions.Fill | AttachOptions.Expand, 0, 0);
-
- ShowAll ();
- }
-
- private void ChangeCurrentNotebookPage (object o, ChangeCurrentPageArgs args)
- {
- if (notebook.Page == 1) {
- //we are switching to the "classes" page, refresh the content if the selected database changed
- DatabaseConnectionContext db = comboDatabase.DatabaseConnection;
- if (db != selectedDatabase) {
- selectedDatabase = db;
- FillClassesPage ();
- }
- }
- }
-
- private void FillClassesPage ()
- {
- //TODO: visually show that there is a BG thread retrieving the DB info
- QueryService.EnsureConnection (selectedDatabase, new DatabaseConnectionContextCallback (ExecuteQueryCallback), null);
- }
-
- private void ExecuteQueryCallback (DatabaseConnectionContext context, bool connected, object state)
- {
- if (!connected) {
- MessageService.ShowError (
- AddinCatalog.GetString ("Unable to connect to database '{0}'"), context.ConnectionSettings.Name);
- return;
- }
-
- ISchemaProvider provider = context.SchemaProvider;
- tables = provider.GetTables ();
-
- DispatchService.GuiDispatch (delegate () {
- //TODO: initialize the table mapper
- });
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Makefile.am
deleted file mode 100644
index 73ba7aa13b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.CodeGenerator.dll
-REFS = \
- $(GLIB_SHARP_LIBS) \
- $(GTK_SHARP_LIBS) \
- $(MONO_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Query.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:System \
- -r:System.Data
-
-FILES = \
- AssemblyInfo.cs \
- Commands/ToolCommands.cs \
- Dialogs/GenerateDataClass.cs \
- Dialogs/GenerateDataClassesDialog.cs \
- gtk-gui/generated.cs \
- gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClass.cs \
- gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs
-
-RES = \
- gtk-gui/gui.stetic \
- gtk-gui/objects.xml \
- MonoDevelop.Database.CodeGenerator.addin.xml
-
-all: $(ASSEMBLY)
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml
deleted file mode 100644
index 4f2b946d56..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<Addin id = "Database.CodeGenerator"
- namespace = "MonoDevelop"
- name = "MonoDevelop Database CodeGenerator"
- author = "Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database CodeGenerator Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.CodeGenerator.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Query" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Ide/Commands">
- <Command id = "MonoDevelop.Database.CodeGenerator.ToolCommands.GenerateDataClasses"
- defaultHandler = "MonoDevelop.Database.CodeGenerator.GenerateDataClassesHandler"
- _label = "Generate Linq Class"
- icon = "md-class"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad/Tools">
- <Condition id="ItemType" value="Project|ProjectFile|MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFolder">
- <CommandItem id = "MonoDevelop.Database.CodeGenerator.ToolCommands.GenerateDataClasses" insertafter="FindInFilesSeparator" insertbefore="CombineOptionsSeparator"/>
- </Condition>
- </Extension>
-
-
- <Extension path = "/MonoDevelop/Ide/MainMenu/Tools/Database">
- <SeparatorItem id = "DatabaseSeparator" insertafter = "MonoDevelop.Database.Query.ToolCommands.Query" />
- <CommandItem id = "MonoDevelop.Database.CodeGenerator.ToolCommands.GenerateDataClasses" />
- </Extension>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.csproj
deleted file mode 100644
index 6e82c1465d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.csproj
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D945526C-0897-4FE8-AAFD-29B4BAB4174F}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.CodeGenerator</AssemblyName>
- <RootNamespace>MonoDevelop.Database.CodeGenerator</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Mono.Posix" />
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Addins, Version=0.5.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Private>False</Private>
- <Package>mono-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Core, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="NRefactory, Version=2.1.1.0, Culture=neutral, PublicKeyToken=efe927acf176eea2">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Query\MonoDevelop.Database.Query.csproj">
- <Project>{5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}</Project>
- <Name>MonoDevelop.Database.Query</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="MonoDevelop.Database.CodeGenerator.addin.xml">
- <LogicalName>MonoDevelop.Database.CodeGenerator.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\objects.xml">
- <LogicalName>objects.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Commands\ToolCommands.cs" />
- <Compile Include="Dialogs\GenerateDataClassesDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Dialogs\GenerateDataClass.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.CodeGenerator.GenerateDataClass.cs" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClass.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClass.cs
deleted file mode 100644
index 1ececd186b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClass.cs
+++ /dev/null
@@ -1,579 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.CodeGenerator
-{
- public partial class GenerateDataClass
- {
- private global::Gtk.HBox hbox1;
-
- private global::Gtk.Label label1;
-
- private global::MonoDevelop.Database.Components.DatabaseConnectionEditorWidget comboProviderConnection;
-
- private global::Gtk.Label labelMessage;
-
- private global::Gtk.HSeparator hseparator1;
-
- private global::Gtk.HBox hbox2;
-
- private global::Gtk.Label label2;
-
- private global::Gtk.ComboBox comboOutput;
-
- private global::Gtk.Label label3;
-
- private global::Gtk.ComboBox comboLanguage;
-
- private global::Gtk.Label label4;
-
- private global::Gtk.ComboBox comboStyle;
-
- private global::Gtk.Entry entryFile;
-
- private global::Gtk.HSeparator hseparator2;
-
- private global::Gtk.Table table1;
-
- private global::MonoDevelop.Database.Components.ProjectDirectoryComboBox comboProject;
-
- private global::Gtk.Entry entryNamespace;
-
- private global::Gtk.Label label5;
-
- private global::Gtk.Label label6;
-
- private global::Gtk.HSeparator hseparator3;
-
- private global::Gtk.Table table2;
-
- private global::Gtk.Entry entryEntityAttr;
-
- private global::Gtk.Entry entryEntityBase;
-
- private global::Gtk.Entry entryGenerateType;
-
- private global::Gtk.Entry entryMemberAttr;
-
- private global::Gtk.Label label10;
-
- private global::Gtk.Label label11;
-
- private global::Gtk.Label label8;
-
- private global::Gtk.Label label9;
-
- private global::Gtk.HSeparator hseparator4;
-
- private global::Gtk.HBox hbox4;
-
- private global::Gtk.Label label12;
-
- private global::Gtk.Entry entryCulture;
-
- private global::Gtk.Expander expander1;
-
- private global::Gtk.ScrolledWindow scrolledwindow1;
-
- private global::Gtk.VBox vbox2;
-
- private global::Gtk.CheckButton checkSchema;
-
- private global::Gtk.CheckButton checkGenerateTimestamps;
-
- private global::Gtk.CheckButton checkEqualsAndHash;
-
- private global::Gtk.CheckButton checkSprocs;
-
- private global::Gtk.CheckButton checkPluralize;
-
- private global::Gtk.Label GtkLabel4;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.CodeGenerator.GenerateDataClass
- this.Name = "MonoDevelop.Database.CodeGenerator.GenerateDataClass";
- this.Title = global::Mono.Unix.Catalog.GetString ("Generate Linq Class");
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClass.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hbox1 = new global::Gtk.HBox ();
- this.hbox1.Name = "hbox1";
- this.hbox1.Spacing = 6;
- // Container child hbox1.Gtk.Box+BoxChild
- this.label1 = new global::Gtk.Label ();
- this.label1.Name = "label1";
- this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Connection");
- this.hbox1.Add (this.label1);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hbox1.Gtk.Box+BoxChild
- this.comboProviderConnection = new global::MonoDevelop.Database.Components.DatabaseConnectionEditorWidget ();
- this.comboProviderConnection.Events = ((global::Gdk.EventMask)(256));
- this.comboProviderConnection.Name = "comboProviderConnection";
- this.hbox1.Add (this.comboProviderConnection);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboProviderConnection]));
- w3.Position = 1;
- w1.Add (this.hbox1);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1]));
- w4.Position = 0;
- w4.Expand = false;
- w4.Fill = false;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.labelMessage = new global::Gtk.Label ();
- this.labelMessage.Name = "labelMessage";
- w1.Add (this.labelMessage);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.labelMessage]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hseparator1 = new global::Gtk.HSeparator ();
- this.hseparator1.Name = "hseparator1";
- w1.Add (this.hseparator1);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator1]));
- w6.Position = 2;
- w6.Expand = false;
- w6.Fill = false;
- w6.Padding = ((uint)(5));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hbox2 = new global::Gtk.HBox ();
- this.hbox2.Name = "hbox2";
- this.hbox2.Spacing = 6;
- // Container child hbox2.Gtk.Box+BoxChild
- this.label2 = new global::Gtk.Label ();
- this.label2.Name = "label2";
- this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Output");
- this.hbox2.Add (this.label2);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2]));
- w7.Position = 0;
- w7.Expand = false;
- w7.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.comboOutput = global::Gtk.ComboBox.NewText ();
- this.comboOutput.AppendText (global::Mono.Unix.Catalog.GetString ("Code"));
- this.comboOutput.AppendText (global::Mono.Unix.Catalog.GetString ("DBML"));
- this.comboOutput.AppendText (global::Mono.Unix.Catalog.GetString ("Code & DBML"));
- this.comboOutput.Name = "comboOutput";
- this.comboOutput.Active = 0;
- this.hbox2.Add (this.comboOutput);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboOutput]));
- w8.Position = 1;
- w8.Expand = false;
- w8.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.label3 = new global::Gtk.Label ();
- this.label3.Name = "label3";
- this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Language");
- this.hbox2.Add (this.label3);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label3]));
- w9.Position = 2;
- w9.Expand = false;
- w9.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.comboLanguage = global::Gtk.ComboBox.NewText ();
- this.comboLanguage.AppendText (global::Mono.Unix.Catalog.GetString ("C#2"));
- this.comboLanguage.AppendText (global::Mono.Unix.Catalog.GetString ("C#"));
- this.comboLanguage.AppendText (global::Mono.Unix.Catalog.GetString ("VB"));
- this.comboLanguage.Name = "comboLanguage";
- this.comboLanguage.Active = 0;
- this.hbox2.Add (this.comboLanguage);
- global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboLanguage]));
- w10.Position = 3;
- w10.Expand = false;
- w10.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.label4 = new global::Gtk.Label ();
- this.label4.Name = "label4";
- this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Style");
- this.hbox2.Add (this.label4);
- global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label4]));
- w11.Position = 4;
- w11.Expand = false;
- w11.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.comboStyle = global::Gtk.ComboBox.NewText ();
- this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("NET"));
- this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("Leave"));
- this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("Pascal"));
- this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("Camel"));
- this.comboStyle.Name = "comboStyle";
- this.comboStyle.Active = 0;
- this.hbox2.Add (this.comboStyle);
- global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboStyle]));
- w12.Position = 5;
- w12.Expand = false;
- w12.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.entryFile = new global::Gtk.Entry ();
- this.entryFile.CanFocus = true;
- this.entryFile.Name = "entryFile";
- this.entryFile.Text = global::Mono.Unix.Catalog.GetString ("Output.cs");
- this.entryFile.IsEditable = true;
- this.entryFile.InvisibleChar = '●';
- this.hbox2.Add (this.entryFile);
- global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryFile]));
- w13.Position = 6;
- w1.Add (this.hbox2);
- global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2]));
- w14.Position = 3;
- w14.Expand = false;
- w14.Fill = false;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hseparator2 = new global::Gtk.HSeparator ();
- this.hseparator2.Name = "hseparator2";
- w1.Add (this.hseparator2);
- global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator2]));
- w15.Position = 4;
- w15.Expand = false;
- w15.Fill = false;
- w15.Padding = ((uint)(5));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
- this.table1.Name = "table1";
- this.table1.RowSpacing = ((uint)(6));
- this.table1.ColumnSpacing = ((uint)(6));
- // Container child table1.Gtk.Table+TableChild
- this.comboProject = new global::MonoDevelop.Database.Components.ProjectDirectoryComboBox ();
- this.comboProject.Name = "comboProject";
- this.table1.Add (this.comboProject);
- global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProject]));
- w16.LeftAttach = ((uint)(1));
- w16.RightAttach = ((uint)(2));
- w16.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.entryNamespace = new global::Gtk.Entry ();
- this.entryNamespace.CanFocus = true;
- this.entryNamespace.Name = "entryNamespace";
- this.entryNamespace.IsEditable = true;
- this.entryNamespace.InvisibleChar = '●';
- this.table1.Add (this.entryNamespace);
- global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.entryNamespace]));
- w17.TopAttach = ((uint)(1));
- w17.BottomAttach = ((uint)(2));
- w17.LeftAttach = ((uint)(1));
- w17.RightAttach = ((uint)(2));
- w17.XOptions = ((global::Gtk.AttachOptions)(4));
- w17.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.label5 = new global::Gtk.Label ();
- this.label5.Name = "label5";
- this.label5.Xalign = 0f;
- this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Project");
- this.table1.Add (this.label5);
- global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
- w18.XOptions = ((global::Gtk.AttachOptions)(4));
- w18.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.label6 = new global::Gtk.Label ();
- this.label6.Name = "label6";
- this.label6.Xalign = 0f;
- this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Namespace");
- this.table1.Add (this.label6);
- global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
- w19.TopAttach = ((uint)(1));
- w19.BottomAttach = ((uint)(2));
- w19.XOptions = ((global::Gtk.AttachOptions)(4));
- w19.YOptions = ((global::Gtk.AttachOptions)(4));
- w1.Add (this.table1);
- global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1[this.table1]));
- w20.Position = 5;
- w20.Expand = false;
- w20.Fill = false;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hseparator3 = new global::Gtk.HSeparator ();
- this.hseparator3.Name = "hseparator3";
- w1.Add (this.hseparator3);
- global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator3]));
- w21.Position = 6;
- w21.Expand = false;
- w21.Fill = false;
- w21.Padding = ((uint)(5));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.table2 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
- this.table2.Name = "table2";
- this.table2.RowSpacing = ((uint)(6));
- this.table2.ColumnSpacing = ((uint)(6));
- // Container child table2.Gtk.Table+TableChild
- this.entryEntityAttr = new global::Gtk.Entry ();
- this.entryEntityAttr.TooltipMarkup = "Comma separated ATTRIBUTE(S).";
- this.entryEntityAttr.CanFocus = true;
- this.entryEntityAttr.Name = "entryEntityAttr";
- this.entryEntityAttr.IsEditable = true;
- this.entryEntityAttr.InvisibleChar = '●';
- this.table2.Add (this.entryEntityAttr);
- global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.entryEntityAttr]));
- w22.TopAttach = ((uint)(1));
- w22.BottomAttach = ((uint)(2));
- w22.LeftAttach = ((uint)(1));
- w22.RightAttach = ((uint)(2));
- w22.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.entryEntityBase = new global::Gtk.Entry ();
- this.entryEntityBase.CanFocus = true;
- this.entryEntityBase.Name = "entryEntityBase";
- this.entryEntityBase.IsEditable = true;
- this.entryEntityBase.InvisibleChar = '●';
- this.table2.Add (this.entryEntityBase);
- global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.entryEntityBase]));
- w23.LeftAttach = ((uint)(1));
- w23.RightAttach = ((uint)(2));
- w23.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.entryGenerateType = new global::Gtk.Entry ();
- this.entryGenerateType.CanFocus = true;
- this.entryGenerateType.Name = "entryGenerateType";
- this.entryGenerateType.IsEditable = true;
- this.entryGenerateType.InvisibleChar = '●';
- this.table2.Add (this.entryGenerateType);
- global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.entryGenerateType]));
- w24.TopAttach = ((uint)(3));
- w24.BottomAttach = ((uint)(4));
- w24.LeftAttach = ((uint)(1));
- w24.RightAttach = ((uint)(2));
- w24.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.entryMemberAttr = new global::Gtk.Entry ();
- this.entryMemberAttr.TooltipMarkup = "Comma separated ATTRIBUTE(S).";
- this.entryMemberAttr.CanFocus = true;
- this.entryMemberAttr.Name = "entryMemberAttr";
- this.entryMemberAttr.IsEditable = true;
- this.entryMemberAttr.InvisibleChar = '●';
- this.table2.Add (this.entryMemberAttr);
- global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.entryMemberAttr]));
- w25.TopAttach = ((uint)(2));
- w25.BottomAttach = ((uint)(3));
- w25.LeftAttach = ((uint)(1));
- w25.RightAttach = ((uint)(2));
- w25.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.label10 = new global::Gtk.Label ();
- this.label10.Name = "label10";
- this.label10.Xalign = 0f;
- this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Member Attributes");
- this.table2.Add (this.label10);
- global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.label10]));
- w26.TopAttach = ((uint)(2));
- w26.BottomAttach = ((uint)(3));
- w26.XOptions = ((global::Gtk.AttachOptions)(4));
- w26.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.label11 = new global::Gtk.Label ();
- this.label11.Name = "label11";
- this.label11.Xalign = 0f;
- this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Generate Type");
- this.table2.Add (this.label11);
- global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.label11]));
- w27.TopAttach = ((uint)(3));
- w27.BottomAttach = ((uint)(4));
- w27.XOptions = ((global::Gtk.AttachOptions)(4));
- w27.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.label8 = new global::Gtk.Label ();
- this.label8.Name = "label8";
- this.label8.Xalign = 0f;
- this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Entity Base");
- this.table2.Add (this.label8);
- global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.label8]));
- w28.XOptions = ((global::Gtk.AttachOptions)(4));
- w28.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
- this.label9 = new global::Gtk.Label ();
- this.label9.Name = "label9";
- this.label9.Xalign = 0f;
- this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Entity Attributes");
- this.table2.Add (this.label9);
- global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2[this.label9]));
- w29.TopAttach = ((uint)(1));
- w29.BottomAttach = ((uint)(2));
- w29.XOptions = ((global::Gtk.AttachOptions)(4));
- w29.YOptions = ((global::Gtk.AttachOptions)(4));
- w1.Add (this.table2);
- global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(w1[this.table2]));
- w30.Position = 7;
- w30.Expand = false;
- w30.Fill = false;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hseparator4 = new global::Gtk.HSeparator ();
- this.hseparator4.Name = "hseparator4";
- w1.Add (this.hseparator4);
- global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator4]));
- w31.Position = 8;
- w31.Expand = false;
- w31.Fill = false;
- w31.Padding = ((uint)(5));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hbox4 = new global::Gtk.HBox ();
- this.hbox4.Name = "hbox4";
- this.hbox4.Spacing = 6;
- // Container child hbox4.Gtk.Box+BoxChild
- this.label12 = new global::Gtk.Label ();
- this.label12.Name = "label12";
- this.label12.Xalign = 0f;
- this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Culture");
- this.hbox4.Add (this.label12);
- global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label12]));
- w32.Position = 0;
- w32.Expand = false;
- w32.Fill = false;
- // Container child hbox4.Gtk.Box+BoxChild
- this.entryCulture = new global::Gtk.Entry ();
- this.entryCulture.WidthRequest = 50;
- this.entryCulture.CanFocus = true;
- this.entryCulture.Name = "entryCulture";
- this.entryCulture.Text = global::Mono.Unix.Catalog.GetString ("en");
- this.entryCulture.IsEditable = true;
- this.entryCulture.InvisibleChar = '●';
- this.hbox4.Add (this.entryCulture);
- global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.entryCulture]));
- w33.Position = 1;
- w33.Expand = false;
- w33.Fill = false;
- w1.Add (this.hbox4);
- global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1[this.hbox4]));
- w34.Position = 9;
- w34.Expand = false;
- w34.Fill = false;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.expander1 = new global::Gtk.Expander (null);
- this.expander1.CanFocus = true;
- this.expander1.Name = "expander1";
- // Container child expander1.Gtk.Container+ContainerChild
- this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow1.CanFocus = true;
- this.scrolledwindow1.Name = "scrolledwindow1";
- this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow1.Gtk.Container+ContainerChild
- global::Gtk.Viewport w35 = new global::Gtk.Viewport ();
- w35.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child GtkViewport.Gtk.Container+ContainerChild
- this.vbox2 = new global::Gtk.VBox ();
- this.vbox2.Name = "vbox2";
- this.vbox2.Spacing = 6;
- // Container child vbox2.Gtk.Box+BoxChild
- this.checkSchema = new global::Gtk.CheckButton ();
- this.checkSchema.CanFocus = true;
- this.checkSchema.Name = "checkSchema";
- this.checkSchema.Label = global::Mono.Unix.Catalog.GetString ("Generate Schema in code files.");
- this.checkSchema.Active = true;
- this.checkSchema.DrawIndicator = true;
- this.checkSchema.UseUnderline = true;
- this.vbox2.Add (this.checkSchema);
- global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkSchema]));
- w36.Position = 0;
- w36.Expand = false;
- w36.Fill = false;
- // Container child vbox2.Gtk.Box+BoxChild
- this.checkGenerateTimestamps = new global::Gtk.CheckButton ();
- this.checkGenerateTimestamps.CanFocus = true;
- this.checkGenerateTimestamps.Name = "checkGenerateTimestamps";
- this.checkGenerateTimestamps.Label = global::Mono.Unix.Catalog.GetString ("Generate timestamps in the generated code. ");
- this.checkGenerateTimestamps.Active = true;
- this.checkGenerateTimestamps.DrawIndicator = true;
- this.checkGenerateTimestamps.UseUnderline = true;
- this.vbox2.Add (this.checkGenerateTimestamps);
- global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkGenerateTimestamps]));
- w37.Position = 1;
- w37.Expand = false;
- w37.Fill = false;
- // Container child vbox2.Gtk.Box+BoxChild
- this.checkEqualsAndHash = new global::Gtk.CheckButton ();
- this.checkEqualsAndHash.CanFocus = true;
- this.checkEqualsAndHash.Name = "checkEqualsAndHash";
- this.checkEqualsAndHash.Label = global::Mono.Unix.Catalog.GetString ("Generates overrides for Equals() and GetHashCode() methods.");
- this.checkEqualsAndHash.DrawIndicator = true;
- this.checkEqualsAndHash.UseUnderline = true;
- this.vbox2.Add (this.checkEqualsAndHash);
- global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkEqualsAndHash]));
- w38.Position = 2;
- w38.Expand = false;
- w38.Fill = false;
- // Container child vbox2.Gtk.Box+BoxChild
- this.checkSprocs = new global::Gtk.CheckButton ();
- this.checkSprocs.CanFocus = true;
- this.checkSprocs.Name = "checkSprocs";
- this.checkSprocs.Label = global::Mono.Unix.Catalog.GetString ("Extract stored procedures.");
- this.checkSprocs.DrawIndicator = true;
- this.checkSprocs.UseUnderline = true;
- this.vbox2.Add (this.checkSprocs);
- global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkSprocs]));
- w39.Position = 3;
- w39.Expand = false;
- w39.Fill = false;
- // Container child vbox2.Gtk.Box+BoxChild
- this.checkPluralize = new global::Gtk.CheckButton ();
- this.checkPluralize.CanFocus = true;
- this.checkPluralize.Name = "checkPluralize";
- this.checkPluralize.Label = global::Mono.Unix.Catalog.GetString ("Automatically pluralize or singularize class and member names using specified culture rules.");
- this.checkPluralize.DrawIndicator = true;
- this.checkPluralize.UseUnderline = true;
- this.vbox2.Add (this.checkPluralize);
- global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkPluralize]));
- w40.Position = 4;
- w40.Expand = false;
- w40.Fill = false;
- w35.Add (this.vbox2);
- this.scrolledwindow1.Add (w35);
- this.expander1.Add (this.scrolledwindow1);
- this.GtkLabel4 = new global::Gtk.Label ();
- this.GtkLabel4.Name = "GtkLabel4";
- this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("Advanced Options");
- this.GtkLabel4.UseUnderline = true;
- this.expander1.LabelWidget = this.GtkLabel4;
- w1.Add (this.expander1);
- global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(w1[this.expander1]));
- w44.Position = 10;
- // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClass.ActionArea
- global::Gtk.HButtonBox w45 = this.ActionArea;
- w45.Name = "GenerateDataClass";
- w45.Spacing = 10;
- w45.BorderWidth = ((uint)(5));
- w45.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child GenerateDataClass.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w46 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w45[this.buttonCancel]));
- w46.Expand = false;
- w46.Fill = false;
- // Container child GenerateDataClass.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w47 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w45[this.buttonOk]));
- w47.Position = 1;
- w47.Expand = false;
- w47.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 656;
- this.DefaultHeight = 436;
- this.Show ();
- this.comboProviderConnection.SelectedDatabaseChanged += new global::System.EventHandler (this.OnComboProviderConnectionSelectedDatabaseChanged);
- this.comboOutput.Changed += new global::System.EventHandler (this.OnComboOutputChanged);
- this.comboLanguage.Changed += new global::System.EventHandler (this.OnComboLanguageChanged);
- this.comboProject.Changed += new global::System.EventHandler (this.OnComboProjectChanged);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs
deleted file mode 100644
index 5fa56c9a13..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs
+++ /dev/null
@@ -1,154 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.CodeGenerator
-{
- public partial class GenerateDataClassesDialog
- {
- private global::Gtk.Notebook notebook;
-
- private global::Gtk.Table tableGeneral;
-
- private global::Gtk.Label label5;
-
- private global::Gtk.Label label6;
-
- private global::Gtk.Label label7;
-
- private global::Gtk.Table tableTables;
-
- private global::Gtk.Label label10;
-
- private global::Gtk.Label label9;
-
- private global::Gtk.Label label8;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog
- this.Name = "MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Generate Data Classes");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- this.SkipPagerHint = true;
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.notebook = new global::Gtk.Notebook ();
- this.notebook.CanFocus = true;
- this.notebook.Name = "notebook";
- this.notebook.CurrentPage = 1;
- // Container child notebook.Gtk.Notebook+NotebookChild
- this.tableGeneral = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
- this.tableGeneral.Name = "tableGeneral";
- this.tableGeneral.RowSpacing = ((uint)(6));
- this.tableGeneral.ColumnSpacing = ((uint)(6));
- // Container child tableGeneral.Gtk.Table+TableChild
- this.label5 = new global::Gtk.Label ();
- this.label5.Name = "label5";
- this.label5.Xalign = 0f;
- this.label5.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Location:");
- this.tableGeneral.Add (this.label5);
- global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tableGeneral[this.label5]));
- w2.XOptions = ((global::Gtk.AttachOptions)(4));
- w2.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableGeneral.Gtk.Table+TableChild
- this.label6 = new global::Gtk.Label ();
- this.label6.Name = "label6";
- this.label6.Xalign = 0f;
- this.label6.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Database:");
- this.tableGeneral.Add (this.label6);
- global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tableGeneral[this.label6]));
- w3.TopAttach = ((uint)(1));
- w3.BottomAttach = ((uint)(2));
- w3.XOptions = ((global::Gtk.AttachOptions)(4));
- w3.YOptions = ((global::Gtk.AttachOptions)(4));
- this.notebook.Add (this.tableGeneral);
- // Notebook tab
- this.label7 = new global::Gtk.Label ();
- this.label7.Name = "label7";
- this.label7.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("General");
- this.notebook.SetTabLabel (this.tableGeneral, this.label7);
- this.label7.ShowAll ();
- // Container child notebook.Gtk.Notebook+NotebookChild
- this.tableTables = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
- this.tableTables.Name = "tableTables";
- this.tableTables.RowSpacing = ((uint)(6));
- this.tableTables.ColumnSpacing = ((uint)(6));
- // Container child tableTables.Gtk.Table+TableChild
- this.label10 = new global::Gtk.Label ();
- this.label10.Name = "label10";
- this.label10.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Fields & Properties");
- this.tableTables.Add (this.label10);
- global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableTables[this.label10]));
- w5.LeftAttach = ((uint)(1));
- w5.RightAttach = ((uint)(2));
- w5.XOptions = ((global::Gtk.AttachOptions)(4));
- w5.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableTables.Gtk.Table+TableChild
- this.label9 = new global::Gtk.Label ();
- this.label9.Name = "label9";
- this.label9.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Classes");
- this.tableTables.Add (this.label9);
- global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableTables[this.label9]));
- w6.XOptions = ((global::Gtk.AttachOptions)(4));
- w6.YOptions = ((global::Gtk.AttachOptions)(4));
- this.notebook.Add (this.tableTables);
- global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook[this.tableTables]));
- w7.Position = 1;
- // Notebook tab
- this.label8 = new global::Gtk.Label ();
- this.label8.Name = "label8";
- this.label8.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Tables");
- this.notebook.SetTabLabel (this.tableTables, this.label8);
- this.label8.ShowAll ();
- w1.Add (this.notebook);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.notebook]));
- w8.Position = 0;
- // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.ActionArea
- global::Gtk.HButtonBox w9 = this.ActionArea;
- w9.Name = "dialog1_ActionArea";
- w9.Spacing = 6;
- w9.BorderWidth = ((uint)(5));
- w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
- w10.Expand = false;
- w10.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
- w11.Position = 1;
- w11.Expand = false;
- w11.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 699;
- this.DefaultHeight = 471;
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/generated.cs
deleted file mode 100644
index 8463caae89..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/generated.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/gui.stetic
deleted file mode 100644
index c854388de2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,916 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="Mono.TextEditor, Version=1.0.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Designer.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Query.dll" />
- <widget-library name="../../build/MonoDevelop.Database.CodeGenerator.dll" internal="true" />
- </import>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog" design-size="699 471">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Generate Data Classes</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.Notebook" id="notebook">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="CurrentPage">1</property>
- <child>
- <widget class="Gtk.Table" id="tableGeneral">
- <property name="MemberName" />
- <property name="NRows">3</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.Label" id="label5">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Location:</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label6">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Database:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="label7">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">General</property>
- </widget>
- <packing>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Table" id="tableTables">
- <property name="MemberName" />
- <property name="NRows">2</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.Label" id="label10">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Fields &amp; Properties</property>
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label9">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Classes</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label8">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Tables</property>
- </widget>
- <packing>
- <property name="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.CodeGenerator.GenerateDataClass" design-size="656 436">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Generate Linq Class</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Connection</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="MonoDevelop.Database.Components.DatabaseConnectionEditorWidget" id="comboProviderConnection">
- <property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
- <signal name="SelectedDatabaseChanged" handler="OnComboProviderConnectionSelectedDatabaseChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelMessage">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HSeparator" id="hseparator1">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- <property name="Padding">5</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label2">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Output</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboOutput">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes">Code
-DBML
-Code &amp; DBML</property>
- <property name="Active">0</property>
- <signal name="Changed" handler="OnComboOutputChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label3">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Language</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboLanguage">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items">C#2
-C#
-VB</property>
- <property name="Active">0</property>
- <signal name="Changed" handler="OnComboLanguageChanged" />
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label4">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Style</property>
- </widget>
- <packing>
- <property name="Position">4</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboStyle">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes">NET
-Leave
-Pascal
-Camel</property>
- <property name="Active">0</property>
- </widget>
- <packing>
- <property name="Position">5</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryFile">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Text" translatable="yes">Output.cs</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="Position">6</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HSeparator" id="hseparator2">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="Position">4</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- <property name="Padding">5</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Table" id="table1">
- <property name="MemberName" />
- <property name="NRows">2</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <widget class="MonoDevelop.Database.Components.ProjectDirectoryComboBox" id="comboProject">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- <signal name="Changed" handler="OnComboProjectChanged" />
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryNamespace">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label5">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Project</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label6">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Namespace</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">5</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HSeparator" id="hseparator3">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="Position">6</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- <property name="Padding">5</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Table" id="table2">
- <property name="MemberName" />
- <property name="NRows">4</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <widget class="Gtk.Entry" id="entryEntityAttr">
- <property name="MemberName" />
- <property name="Tooltip" translatable="yes">Comma separated ATTRIBUTE(S).</property>
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryEntityBase">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryGenerateType">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryMemberAttr">
- <property name="MemberName" />
- <property name="Tooltip" translatable="yes">Comma separated ATTRIBUTE(S).</property>
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label10">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Member Attributes</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label11">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Generate Type</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label8">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Entity Base</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label9">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Entity Attributes</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">7</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HSeparator" id="hseparator4">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="Position">8</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- <property name="Padding">5</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox4">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label12">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Culture</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryCulture">
- <property name="MemberName" />
- <property name="WidthRequest">50</property>
- <property name="CanFocus">True</property>
- <property name="Text" translatable="yes">en</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">9</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Expander" id="expander1">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.Viewport" id="GtkViewport">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.VBox" id="vbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.CheckButton" id="checkSchema">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Generate Schema in code files.</property>
- <property name="Active">True</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkGenerateTimestamps">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Generate timestamps in the generated code. </property>
- <property name="Active">True</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkEqualsAndHash">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Generates overrides for Equals() and GetHashCode() methods.</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkSprocs">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Extract stored procedures.</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkPluralize">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Automatically pluralize or singularize class and member names using specified culture rules.</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="Position">4</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel4">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Advanced Options</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">10</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="GenerateDataClass">
- <property name="MemberName" />
- <property name="Spacing">10</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
-</stetic-interface> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/objects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/objects.xml
deleted file mode 100644
index 2c33b19d32..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator/gtk-gui/objects.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<objects attr-sync="on">
-</objects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs
deleted file mode 100644
index 15d0daa188..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Components.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MonoDevelop Database Components")]
-[assembly: AssemblyDescription ("Database Components Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs.in
deleted file mode 100644
index cf467e3234..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Components")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridContentRendererCodon.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridContentRendererCodon.cs
deleted file mode 100644
index 57588f0105..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridContentRendererCodon.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Addins;
-
-namespace MonoDevelop.Database.Components
-{
- public class DataGridContentRendererCodon : TypeExtensionNode
- {
- public IDataGridContentRenderer ContentRenderer {
- get { return (IDataGridContentRenderer)base.CreateInstance (); }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridVisualizerCodon.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridVisualizerCodon.cs
deleted file mode 100644
index 6ffff54a0c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Codons/DataGridVisualizerCodon.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Addins;
-
-namespace MonoDevelop.Database.Components
-{
- public class DataGridVisualizerCodon : TypeExtensionNode
- {
- public IDataGridVisualizer Visualizer {
- get { return (IDataGridVisualizer)base.CreateInstance (); }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs
deleted file mode 100644
index 67e2dbb5c3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-
-namespace MonoDevelop.Database.Components
-{
- public abstract class AbstractDatabaseProviderList : CommandHandler
- {
- protected override void Update (CommandArrayInfo info)
- {
- if (DbFactoryService.DbFactoryCount > 0) {
- foreach (IDbFactory fac in DbFactoryService.DbFactories) {
- CommandInfo cmd = new CommandInfo (fac.Name);
- cmd.Icon = "md-db-database";
- info.Add (cmd, fac);
- }
- } else {
- CommandInfo cmd = new CommandInfo (AddinCatalog.GetString ("No database providers detected."));
- cmd.Enabled = false;
- info.Add (cmd, null);
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/DataGridCommands.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/DataGridCommands.cs
deleted file mode 100644
index 3bfaf16825..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/DataGridCommands.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-
-namespace MonoDevelop.Database.Components
-{
- public enum DataGridCommands
- {
- VisualizeAsList
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/SqlEditorCommands.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/SqlEditorCommands.cs
deleted file mode 100644
index 2cef8bab63..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Commands/SqlEditorCommands.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-
-namespace MonoDevelop.Database.Components
-{
- public enum SqlEditorCommands
- {
- ImportFromFile,
- ExportToFile
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/ComponentHelper.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/ComponentHelper.cs
deleted file mode 100644
index 11c0b2e081..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/ComponentHelper.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Text;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public static class ComponentHelper
- {
- public static string GetClassName (string dbName)
- {
- return GetDotNetName (dbName, "Class", true);
- }
-
- public static string GetFieldName (string dbName)
- {
- return GetDotNetName (dbName, "field", false);
- }
-
- public static string GetPropertyName (string fieldName)
- {
- return GetDotNetName (fieldName, fieldName, true);
- }
-
- internal static string GetDotNetName (string dbName, string alternative, bool startWithLetter)
- {
- StringBuilder sb = new StringBuilder ();
-
- bool validStart = false;
- bool capitalizeNext = true;
- foreach (char c in dbName) {
- if (char.IsLetter (c)) {
- validStart = true;
- if (capitalizeNext)
- sb.Append (char.ToUpper (c));
- else
- sb.Append (c);
- capitalizeNext = false;
- } else if (char.IsDigit (c)) {
- if (validStart) {
- sb.Append (c);
- capitalizeNext = false;
- }
- } else if (c == '_') {
- if (!validStart && !startWithLetter) {
- sb.Append (c);
- validStart = true;
- }
- capitalizeNext = true;
- }
- }
-
- if (sb.Length == 0)
- return alternative;
-
- return sb.ToString ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ColumnContainer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ColumnContainer.cs
deleted file mode 100644
index d7abe191c4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ColumnContainer.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public class ColumnContainer
- {
- private ColumnSchema column;
- private string fieldName;
- private string propName;
- private string propType;
- private bool hasSetter;
- private bool nullable;
-
- public ColumnContainer (ColumnSchema column)
- {
- if (column == null)
- throw new ArgumentNullException ("column");
- this.column = column;
- }
-
- public ColumnSchema ColumnSchema {
- get { return column; }
- }
-
- public string FieldName {
- get { return fieldName; }
- set {
- if (String.IsNullOrEmpty (value))
- throw new ArgumentException ("FieldName");
- fieldName = value;
- }
- }
-
- public string PropertyName {
- get { return propName; }
- set {
- if (String.IsNullOrEmpty (value))
- throw new ArgumentException ("PropertyName");
- propName = value;
- }
- }
-
- public string PropertyType {
- get { return propType; }
- set {
- if (String.IsNullOrEmpty (value))
- throw new ArgumentException ("PropertyType");
- propType = value;
- }
- }
-
- public bool HasSetter {
- get { return hasSetter; }
- set { hasSetter = value; }
- }
-
- public bool Nullable {
- get { return nullable; }
- set { nullable = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ConditionContainer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ConditionContainer.cs
deleted file mode 100644
index 7950401615..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ConditionContainer.cs
+++ /dev/null
@@ -1,3 +0,0 @@
-
-// created on 7/8/2007 at 11:13 PM
-//TODO: \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ParameterContainer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ParameterContainer.cs
deleted file mode 100644
index ef22ab3ebf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/ParameterContainer.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public class ParameterContainer
- {
- private ParameterSchema parameter;
- private string propName;
- private string propType;
-
- public ParameterContainer (ParameterSchema parameter)
- {
- if (parameter == null)
- throw new ArgumentNullException ("parameter");
- this.parameter = parameter;
- }
-
- public ParameterSchema ParameterSchema {
- get { return parameter; }
- }
-
- public string PropertyName {
- get { return propName; }
- set {
- if (String.IsNullOrEmpty (value))
- throw new ArgumentException ("PropertyName");
- propName = value;
- }
- }
-
- public string PropertyType {
- get { return propType; }
- set {
- if (String.IsNullOrEmpty (value))
- throw new ArgumentException ("PropertyType");
- propType = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/SchemaContainers.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/SchemaContainers.cs
deleted file mode 100644
index d0883c2357..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/SchemaContainers.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public interface ISchemaContainer
- {
- ISchema Schema { get; }
-
- ColumnSchemaCollection Columns { get; }
-
- ParameterSchemaCollection Parameters { get; }
-
- SchemaContainerType SchemaContainerType { get; }
- }
-
- public enum SchemaContainerType
- {
- Table,
- View,
- Procedure,
- Query
- }
-
- public class TableSchemaContainer : ISchemaContainer
- {
- protected TableSchema schema;
-
- public TableSchemaContainer (TableSchema schema)
- {
- if (schema == null)
- throw new ArgumentNullException ("schema");
-
- this.schema = schema;
- }
-
- public ISchema Schema {
- get { return schema; }
- }
-
- public ColumnSchemaCollection Columns {
- get { return schema.Columns; }
- }
-
- public ParameterSchemaCollection Parameters {
- get { return null; }
- }
-
- public SchemaContainerType SchemaContainerType {
- get { return SchemaContainerType.Table; }
- }
- }
-
- public class ViewSchemaContainer : ISchemaContainer
- {
- protected ViewSchema schema;
-
- public ViewSchemaContainer (ViewSchema schema)
- {
- if (schema == null)
- throw new ArgumentNullException ("schema");
-
- this.schema = schema;
- }
-
- public ISchema Schema {
- get { return schema; }
- }
-
- public ColumnSchemaCollection Columns {
- get { return schema.Columns; }
- }
-
- public ParameterSchemaCollection Parameters {
- get { return null; }
- }
-
- public SchemaContainerType SchemaContainerType {
- get { return SchemaContainerType.View; }
- }
- }
-
- public class ProcedureSchemaContainer : ISchemaContainer
- {
- protected ProcedureSchema schema;
-
- public ProcedureSchemaContainer (ProcedureSchema schema)
- {
- if (schema == null)
- throw new ArgumentNullException ("schema");
-
- this.schema = schema;
- }
-
- public ISchema Schema {
- get { return schema; }
- }
-
- public ParameterSchemaCollection Parameters {
- get { return schema.Parameters; }
- }
-
- public SchemaContainerType SchemaContainerType {
- get { return SchemaContainerType.Procedure; }
- }
-
- public ColumnSchemaCollection Columns {
- get { throw new NotImplementedException (); }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/TableContainer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/TableContainer.cs
deleted file mode 100644
index 882517ca77..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Containers/TableContainer.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public class TableContainer
- {
- private TableSchema table;
- private string className;
-
- public TableContainer (TableSchema table)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
- this.table = table;
- }
-
- public TableSchema TableSchema {
- get { return table; }
- }
-
- public string ClassName {
- get { return className; }
- set {
- if (String.IsNullOrEmpty (value))
- throw new ArgumentException ("ClassName");
- className = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseAvailableProvidersDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseAvailableProvidersDialog.cs
deleted file mode 100644
index b6ea94f553..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseAvailableProvidersDialog.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// DatabaseAvailableProvidersDialog.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2010 Lucian0
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-using Gtk;
-using MonoDevelop.Database.Sql;
-using System;
-
-namespace MonoDevelop.Database.Components
-{
- public partial class DatabaseAvailableProvidersDialog : Gtk.Dialog
- {
- ListStore providerStore;
-
- public IDbFactory SelectedProvider {
- get {
- TreeIter iter;
- if (comboProviders.GetActiveIter (out iter))
- return (IDbFactory)providerStore.GetValue (iter, 1);
- else
- return null;
- }
- }
-
- public DatabaseAvailableProvidersDialog ()
- {
- this.Build ();
-
- providerStore = new ListStore(typeof(string), typeof(IDbFactory));
-
- foreach (IDbFactory fac in DbFactoryService.DbFactories)
- providerStore.AppendValues (fac.Name, fac);
-
- CellRendererText textRenderer = new CellRendererText ();
- comboProviders.PackStart (textRenderer, true);
- comboProviders.AddAttribute (textRenderer, "text", 0);
- comboProviders.Model = providerStore;
- }
- }
-}
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs
deleted file mode 100644
index 65bb834f6e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs
+++ /dev/null
@@ -1,111 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Core;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public partial class DatabaseConnectionSettingsDialog : Gtk.Dialog
- {
- protected ConnectionSettingsWidget settingsWidget;
- protected bool isEditMode;
- protected DatabaseConnectionSettings settings;
-
- protected DatabaseConnectionSettingsDialog (IDbFactory factory, bool isEditMode)
- {
- this.isEditMode = isEditMode;
-
- this.Build ();
-
- if (isEditMode)
- Title = AddinCatalog.GetString ("Edit Database Connection");
- else
- Title = AddinCatalog.GetString ("Add Database Connection");
-
- settingsWidget = CreateConnectionSettingsWidget (factory, isEditMode);
- settingsWidget.NeedsValidation += delegate (object sender, EventArgs args) {
- buttonOk.Sensitive = settingsWidget.ValidateFields ();
- };
- vbox.PackStart (settingsWidget);
- vbox.ShowAll ();
- }
-
- public DatabaseConnectionSettingsDialog (IDbFactory factory)
- : this (factory, false)
- {
- settingsWidget.ShowSettings (factory.GetDefaultConnectionSettings ());
- }
-
- public DatabaseConnectionSettingsDialog (IDbFactory factory, DatabaseConnectionSettings settings)
- : this (factory, true)
- {
- if (settings == null)
- throw new ArgumentNullException ("settings");
-
- settingsWidget.ShowSettings (settings);
- settingsWidget.AppendDatabase (settings);
- }
-
- public DatabaseConnectionSettings ConnectionSettings {
- get {
- if (settings == null)
- return settingsWidget.ConnectionSettings;
- else
- return settings;
- }
- }
-
- public ConnectionSettingsWidget ConnectionSettingsWidget {
- get { return settingsWidget; }
- }
-
- protected virtual ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory, bool isEditMode)
- {
- return new ConnectionSettingsWidget (factory, isEditMode);
- }
-
- protected virtual void OnOkClicked (object sender, System.EventArgs e)
- {
- if (!isEditMode)
- ConnectionContextService.AddDatabaseConnectionContext (ConnectionSettings);
- settings = settingsWidget.ConnectionSettings;
-
- Respond (ResponseType.Ok);
- Hide ();
- }
-
- protected virtual void OnCancelClicked (object sender, System.EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Destroy ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/SelectColumnDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/SelectColumnDialog.cs
deleted file mode 100644
index ec95b76cc0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/SelectColumnDialog.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public partial class SelectColumnDialog : Gtk.Dialog
- {
- private SelectColumnWidget selecter;
-
- public SelectColumnDialog (bool showCheckBoxes, ColumnSchemaCollection columns)
- {
- this.Build();
-
- selecter = new SelectColumnWidget (showCheckBoxes);
- selecter.Initialize (columns);
- selecter.ColumnToggled += new EventHandler (OnColumnToggled);
-
- hboxContent.PackStart (selecter, true, true, 0);
-
- ShowAll ();
- }
-
- public ColumnSchema SelectedColumn {
- get { return selecter.SelectedColumn; }
- }
-
- public IEnumerable<ColumnSchema> CheckedColumns {
- get { return selecter.CheckedColumns; }
- }
-
- protected virtual void CancelClicked (object sender, System.EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Destroy ();
- }
-
- protected virtual void OkClicked (object sender, EventArgs e)
- {
- Respond (ResponseType.Ok);
- Destroy ();
- }
-
- protected virtual void DeselectAllClicked (object sender, EventArgs e)
- {
- selecter.DeselectAll ();
- }
-
- protected virtual void SelectAllClicked (object sender, EventArgs e)
- {
- selecter.SelectAll ();
- }
-
- protected virtual void OnColumnToggled (object sender, EventArgs e)
- {
- buttonOk.Sensitive = selecter.IsColumnChecked;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowImageDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowImageDialog.cs
deleted file mode 100644
index d805434603..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowImageDialog.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Components
-{
- public partial class ShowImageDialog : Gtk.Dialog
- {
- public ShowImageDialog (Gdk.Pixbuf pixbuf)
- {
- this.Build();
-
- //FIXME:
- //if (pixbuf == null)
- // hboxWarning.Visible = true;
- //else
- image.Pixbuf = pixbuf;
- }
-
- protected virtual void CloseClicked (object sender, System.EventArgs e)
- {
- Destroy ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowTextDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowTextDialog.cs
deleted file mode 100644
index 4dd0e84dcb..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/ShowTextDialog.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using Mono.TextEditor;
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Components
-{
- public partial class ShowTextDialog : Gtk.Dialog
- {
- private Mono.TextEditor.TextEditor sourceView;
-
- public ShowTextDialog (string text, string mimeType)
- {
- this.Build();
-
- sourceView = new Mono.TextEditor.TextEditor ();
- // TODO: Set styling ?
- //sourceView.Options = new MonoDevelop.SourceEditor.StyledSourceEditorOptions (null);
- sourceView.Document.MimeType = mimeType;
- sourceView.Document.Text = text;
-// sourceView.ShowLineNumbers = true;
- sourceView.Document.ReadOnly = true;
-
- vboxContent.PackStart (sourceView, true, true, 0);
- vboxContent.ShowAll ();
- if (text != null)
- sourceView.Document.Text = text;
- }
-
- protected virtual void CloseClicked (object sender, System.EventArgs e)
- {
- Destroy ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/WaitDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/WaitDialog.cs
deleted file mode 100644
index aace144de5..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Dialogs/WaitDialog.cs
+++ /dev/null
@@ -1,99 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-
-namespace MonoDevelop.Database.Components
-{
- public partial class WaitDialog : Window
- {
- private static WaitDialog dlg;
- private static bool isRunning;
-
- protected WaitDialog () :
- base (WindowType.Popup)
- {
- this.KeepAbove = true;
- this.Build();
- }
-
- public static void ShowDialog ()
- {
- ShowDialog (null);
- }
-
- public static void ShowDialog (string text)
- {
- if (dlg == null)
- dlg = new WaitDialog ();
-
- if (text == null)
- dlg.label.Markup = AddinCatalog.GetString ("Please Wait");
- else
- dlg.label.Markup = text;
-
- dlg.ShowAll ();
- if (!isRunning) {
- isRunning = true;
- ThreadPool.QueueUserWorkItem (new WaitCallback (ProgressUpdate));
- } else {
- dlg.Present ();
- }
- }
-
- private static void ProgressUpdate (object state)
- {
- while (isRunning) {
- DispatchService.GuiDispatch (delegate () {
- dlg.progressbar.Pulse ();
- });
- Thread.Sleep (1000);
- }
- }
-
- public static void HideDialog ()
- {
- if (dlg == null)
- return;
-
- isRunning = false;
- dlg.Destroy ();
- dlg = null;
- }
-
- protected override bool OnExposeEvent (Gdk.EventExpose ev)
- {
- base.OnExposeEvent (ev);
- Requisition req = SizeRequest ();
- Style.PaintFlatBox (this.Style, this.GdkWindow, StateType.Normal, ShadowType.Out, Gdk.Rectangle.Zero, this, "tooltip", 0, 0, req.Width, req.Height);
- return true;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Makefile.am
deleted file mode 100644
index 052c9115ae..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Makefile.am
+++ /dev/null
@@ -1,96 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Components.dll
-REFS = \
- $(GLIB_SHARP_LIBS) \
- $(GTK_SHARP_LIBS) \
- $(MONO_ADDINS_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:System \
- -r:System.Data \
- -r:System.Xml
-
-FILES = \
- AssemblyInfo.cs \
- Codons/DataGridContentRendererCodon.cs \
- Codons/DataGridVisualizerCodon.cs \
- Commands/AbstractDatabaseProviderList.cs \
- Commands/DataGridCommands.cs \
- Commands/SqlEditorCommands.cs \
- ComponentHelper.cs \
- Containers/ColumnContainer.cs \
- Containers/ConditionContainer.cs \
- Containers/ParameterContainer.cs \
- Containers/SchemaContainers.cs \
- Containers/TableContainer.cs \
- Dialogs/DatabaseAvailableProvidersDialog.cs \
- Dialogs/DatabaseConnectionSettingsDialog.cs \
- Dialogs/SelectColumnDialog.cs \
- Dialogs/ShowImageDialog.cs \
- Dialogs/ShowTextDialog.cs \
- Dialogs/WaitDialog.cs \
- gtk-gui/generated.cs \
- gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs \
- gtk-gui/MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.cs \
- gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.cs \
- gtk-gui/MonoDevelop.Database.Components.DataGrid.cs \
- gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs \
- gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs \
- gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs \
- gtk-gui/MonoDevelop.Database.Components.SqlEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs \
- Widgets/CellRendererTypeCombo.cs \
- Widgets/ColumnMappingWidget.cs \
- Widgets/ConnectionSettingsWidget.cs \
- Widgets/DatabaseConnectionContextComboBox.cs \
- Widgets/DatabaseConnectionEditorWidget.cs \
- Widgets/DataGrid/DataGrid.cs \
- Widgets/DataGrid/DataGridColumn.cs \
- Widgets/DataGrid/Renderers/BlobContentRenderer.cs \
- Widgets/DataGrid/Renderers/BooleanContentRenderer.cs \
- Widgets/DataGrid/Renderers/ByteContentRenderer.cs \
- Widgets/DataGrid/Renderers/DecimalContentRenderer.cs \
- Widgets/DataGrid/Renderers/DoubleContentRenderer.cs \
- Widgets/DataGrid/Renderers/FloatContentRenderer.cs \
- Widgets/DataGrid/Renderers/IDataGridContentRenderer.cs \
- Widgets/DataGrid/Renderers/IntegerContentRenderer.cs \
- Widgets/DataGrid/Renderers/LongContentRenderer.cs \
- Widgets/DataGrid/Renderers/NullContentRenderer.cs \
- Widgets/DataGrid/Renderers/ObjectContentRenderer.cs \
- Widgets/DataGrid/Renderers/StringContentRenderer.cs \
- Widgets/DataGrid/Views/ImageVisualizerView.cs \
- Widgets/DataGrid/Views/TextVisualizerView.cs \
- Widgets/DataGrid/Visualizers/DefaultVisualizers.cs \
- Widgets/DataGrid/Visualizers/IDataGridVisualizer.cs \
- Widgets/ProjectDirectoryComboBox.cs \
- Widgets/SelectColumnWidget.cs \
- Widgets/SelectSchemaWidget.cs \
- Widgets/SelectTableWidget.cs \
- Widgets/SortedColumnListStore.cs \
- Widgets/SortedTableListStore.cs \
- Widgets/SqlEditorWidget.cs \
- Widgets/TableMappingWidget.cs
-
-RES = \
- gtk-gui/gui.stetic \
- gtk-gui/objects.xml \
- MonoDevelop.Database.Components.addin.xml \
- SqlSyntaxMode.xml
-
-all: $(ASSEMBLY)
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml
deleted file mode 100644
index 0d92039439..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-<Addin id = "Database.Components"
- namespace = "MonoDevelop"
- name = "MonoDevelop Database Components"
- author = "Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Components Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Components.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="SourceEditor2" version="4.2.3"/>
- </Dependencies>
-
- <ExtensionPoint path = "/MonoDevelop/Database/DataGrid/Renderers" name = "DataGrid renderers">
- <Description>DataGrid renderers.</Description>
- <ExtensionNode name="Renderer" type="MonoDevelop.Database.Components.DataGridContentRendererCodon" />
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/DataGrid/Visualizers" name = "DataGrid object visualizers">
- <Description>DataGrid object visualizers.</Description>
- <ExtensionNode name="Visualizer" type="MonoDevelop.Database.Components.DataGridVisualizerCodon" />
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/DataGrid">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/SqlEditor">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <Extension path = "/MonoDevelop/SourceEditor2/SyntaxModes">
- <Templates resource="SqlSyntaxMode.xml" />
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/Commands">
- <Category _name = "Database" id = "Database">
-
- <Command id = "MonoDevelop.Database.Components.DataGridCommands.VisualizeAsList"
- type = "array"
- _label = "Visualize Data As"/>
-
- <Command id = "MonoDevelop.Database.Components.SqlEditorCommands.ImportFromFile"
- _label = "Import From File"
- icon = "gtk-open"/>
- <Command id = "MonoDevelop.Database.Components.SqlEditorCommands.ExportToFile"
- _label = "Export To File"
- icon = "gtk-save"/>
-
- </Category>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/DataGrid">
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Copy" />
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.SelectAll" />
- <SeparatorItem id = "CopySelecSectionEnd" />
- <ItemSet id = "MonoDevelop.Database.Components.VisualizeAs" _label = "Visualize Data">
- <CommandItem id = "MonoDevelop.Database.Components.DataGridCommands.VisualizeAsList" />
- </ItemSet>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/SqlEditor">
- <CommandItem id = "MonoDevelop.Database.Components.SqlEditorCommands.ImportFromFile"/>
- <CommandItem id = "MonoDevelop.Database.Components.SqlEditorCommands.ExportToFile"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/DataGrid/Visualizers">
- <Visualizer id = "MonoDevelop.Database.Components.TextVisualizer"/>
- <Visualizer id = "MonoDevelop.Database.Components.ImageVisualizer"/>
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.csproj
deleted file mode 100644
index 9094e2b098..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/MonoDevelop.Database.Components.csproj
+++ /dev/null
@@ -1,245 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Components</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Components</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="Mono.Posix" />
- <Reference Include="System.Xml" />
- <Reference Include="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <SpecificVersion>False</SpecificVersion>
- <Package>mono-addins</Package>
- </Reference>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="MonoDevelop.Core">
- <HintPath>MonoDevelop.Core.Gui</HintPath>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Deployment">
- <HintPath>MonoDevelop.Deployment.Linux</HintPath>
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="ICSharpCode.NRefactory, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Xwt, Version=0.1.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop</Package>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="MonoDevelop.Database.Components.addin.xml">
- <LogicalName>MonoDevelop.Database.Components.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\objects.xml">
- <LogicalName>objects.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="SqlSyntaxMode.xml">
- <LogicalName>SqlSyntaxMode.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Dialogs\SelectColumnDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.SelectColumnDialog.cs" />
- <Compile Include="Widgets\ProjectDirectoryComboBox.cs" />
- <Compile Include="Widgets\SelectColumnWidget.cs" />
- <Compile Include="Widgets\SelectSchemaWidget.cs" />
- <Compile Include="Containers\SchemaContainers.cs" />
- <Compile Include="Containers\ColumnContainer.cs" />
- <Compile Include="Containers\ParameterContainer.cs" />
- <Compile Include="Containers\ConditionContainer.cs" />
- <Compile Include="Widgets\ColumnMappingWidget.cs" />
- <Compile Include="Widgets\CellRendererTypeCombo.cs" />
- <Compile Include="Widgets\DataGrid\DataGridColumn.cs" />
- <Compile Include="Widgets\DataGrid\Visualizers\IDataGridVisualizer.cs" />
- <Compile Include="Widgets\DataGrid\DataGrid.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.DataGrid.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\IDataGridContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\StringContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\ObjectContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\NullContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\BooleanContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\IntegerContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\LongContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\DecimalContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\FloatContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\DoubleContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\ByteContentRenderer.cs" />
- <Compile Include="Widgets\DataGrid\Renderers\BlobContentRenderer.cs" />
- <Compile Include="Codons\DataGridContentRendererCodon.cs" />
- <Compile Include="Dialogs\ShowImageDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.ShowImageDialog.cs" />
- <Compile Include="Dialogs\ShowTextDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.ShowTextDialog.cs" />
- <Compile Include="Dialogs\DatabaseConnectionSettingsDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.cs" />
- <Compile Include="Dialogs\WaitDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.WaitDialog.cs" />
- <Compile Include="Widgets\DatabaseConnectionContextComboBox.cs" />
- <Compile Include="Widgets\SqlEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.SqlEditorWidget.cs" />
- <Compile Include="Commands\SqlEditorCommands.cs" />
- <Compile Include="Commands\DataGridCommands.cs" />
- <Compile Include="Widgets\SortedColumnListStore.cs" />
- <Compile Include="Widgets\SelectTableWidget.cs" />
- <Compile Include="Widgets\SortedTableListStore.cs" />
- <Compile Include="Widgets\TableMappingWidget.cs" />
- <Compile Include="Containers\TableContainer.cs" />
- <Compile Include="ComponentHelper.cs" />
- <Compile Include="Widgets\ConnectionSettingsWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.ConnectionSettingsWidget.cs" />
- <Compile Include="Commands\AbstractDatabaseProviderList.cs" />
- <Compile Include="Widgets\DataGrid\Views\TextVisualizerView.cs" />
- <Compile Include="Widgets\DataGrid\Views\ImageVisualizerView.cs" />
- <Compile Include="Codons\DataGridVisualizerCodon.cs" />
- <Compile Include="Widgets\DataGrid\Visualizers\DefaultVisualizers.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Widgets\DatabaseConnectionEditorWidget.cs" />
- <Compile Include="Dialogs\DatabaseAvailableProvidersDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- <GtkDesignInfo gettextClass="MonoDevelop.Database.AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/SqlSyntaxMode.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/SqlSyntaxMode.xml
deleted file mode 100644
index a5991b9882..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/SqlSyntaxMode.xml
+++ /dev/null
@@ -1,254 +0,0 @@
-<!-- CSharpSyntaxMode.xml
-
- Author:
- Luciano N. Callero <lnc19@hotmail.com>
-
- Copyright (c) 2009 Luciano N. Callero
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE. -->
-
-<SyntaxMode name = "Sql" mimeTypes="text/x-sql" ignorecase="true">
-
- <EolSpan color = "Comment(Line)" rule="Comment" tagColor="comment.tag">-</EolSpan>
-
- <Span color = "Comment(Block)" rule="Comment" tagColor="comment.tag.block">
- <Begin>/*</Begin>
-
- <End>*/</End>
-
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>"</Begin>
- <End>"</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>'</Begin>
- <End>'</End>
- </Span>
-
- <Keywords color = "Keyword(Access)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Operator)">
- <Word>+</Word>
-
- <Word>-</Word>
-
- <Word>=</Word>
-
- <Word>AND</Word>
- <Word>ON</Word>
-
- <Word>OR</Word>
- <Word>IN</Word>
- <Word>NOT</Word>
- <Word>(</Word>
- <Word>)</Word>
- <Word>&lt;</Word>
- <Word>&gt;</Word>
- <Word>&lt;=</Word>
- <Word>=&gt;</Word>
- <Word>As</Word>
- <Word>LIKE</Word>
- <Word>*</Word>
- <Word>@</Word>
-
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Selection)">
- <Word>SELECT</Word>
-
- <Word>FROM</Word>
-
- <Word>WHERE</Word>
-
- <Word>INNER JOIN</Word>
-
- <Word>LEFT JOIN</Word>
- <Word>RIGHT JOIN</Word>
- <Word>LEFT OUTER JOIN</Word>
- <Word>RIGHT OUTER JOIN</Word>
- <Word>FULL JOIN</Word>
- <Word>FULL OUTER JOIN</Word>
- <Word>UNION</Word>
- <Word>ORDER BY</Word>
- <Word>GROUP BY</Word>
- <Word>HAVING</Word>
- <Word>DELETE</Word>
- <Word>UPDATE</Word>
- <Word>INSERT INTO</Word>
- <Word>VALUES</Word>
- <Word>TRANSACTION</Word>
- <Word>COMMIT</Word>
- <Word>ROLLBACK</Word>
- <Word>EXISTS</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Iteration)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Jump)">
- <Word>BREAK</Word>
-
- <Word>RETURN</Word>
- <Word>RETURNS</Word>
-
- </Keywords>
-
- <Keywords color = "Keyword(Context)">
- </Keywords>
-
- <Keywords color = "Keyword(Exception)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Constants)">
-
- <Word>TRUE</Word>
-
- <Word>FALSE</Word>
- <Word>NULL</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Modifiers)">
- <Word>UNSIGNED</Word>
- <Word>NOT NULL</Word>
- <Word>DEFAULT</Word>
- </Keywords>
-
-
- <Keywords ignorecase="true" color = "Keyword(Type)">
- <Word>SmallInt</Word>
- <Word>Integer</Word>
- <Word>BigInt</Word>
- <Word>Decimal</Word>
- <Word>Numeric</Word>
- <Word>Real</Word>
- <Word>Double Precision</Word>
- <Word>Serial</Word>
- <Word>BigSerial</Word>
- <Word>Money</Word>
- <Word>Character</Word>
- <Word>Text</Word>
- <Word>Bytea</Word>
- <Word>TimeStamp</Word>
- <Word>Interval</Word>
- <Word>Date</Word>
- <Word>Time</Word>
- <Word>Point</Word>
- <Word>Line</Word>
- <Word>Lseg</Word>
- <Word>Box</Word>
- <Word>Path</Word>
- <Word>Polygon</Word>
- <Word>Circle</Word>
- <Word>Cidr</Word>
- <Word>Inet</Word>
- <Word>MacAddr</Word>
- <Word>Bit</Word>
- <Word>Any</Word>
- <Word>AnyArray</Word>
- <Word>AnyElement</Word>
- <Word>CString</Word>
- <Word>Internal</Word>
- <Word>Record</Word>
- <Word>Trigger</Word>
- <Word>void</Word>
- <Word>Opaque</Word>
- <Word>Int</Word>
- <Word>TinyInt</Word>
- <Word>Bit</Word>
- <Word>Numeric</Word>
- <Word>SmallMoney</Word>
- <Word>Float</Word>
- <Word>DateTime</Word>
- <Word>SmallDateTime</Word>
- <Word>Char</Word>
- <Word>VarChar</Word>
- <Word>NText</Word>
- <Word>NChar</Word>
- <Word>NVarChar</Word>
- <Word>Binary</Word>
- <Word>VarBinary</Word>
- <Word>Image</Word>
- <Word>TinyText</Word>
- <Word>Text</Word>
- <Word>Blob</Word>
- <Word>LongBlob</Word>
- <Word>MediumBlob</Word>
- <Word>MediumText</Word>
- <Word>LongText</Word>
- <Word>MediumInt</Word>
- <Word>TimeStamp</Word>
- <Word>Enum</Word>
- <Word>Set</Word>
- <Word>Year</Word>
- <Word>Boolean</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Declaration)">
-
- <Word>CREATE DATABASE</Word>
- <Word>CREATE TABLE</Word>
- <Word>CREATE FUNCTION</Word>
- <Word>CREATE PROCEDURE</Word>
- <Word>ALTER DATABASE</Word>
- <Word>ALTER TABLE</Word>
-
- <Word>ALTER FUNCTION</Word>
- <Word>ALTER PROCEDURE</Word>
- <Word>VIEW</Word>
- <Word>TRIGGER</Word>
-
- <Word>BEGIN</Word>
- <Word>END</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Parameter)">
-
- <Word>DECLARE</Word>
-
- <Word>IN</Word>
-
- <Word>OUT</Word>
- </Keywords>
-
-
- <Rule name = "text.preprocessor">
-
- </Rule>
-
- <Rule name = "Comment">
- <Keywords color="Comment Tag" ignorecase="True">
- <Word>TODO</Word>
-
- <Word>FIXME</Word>
-
- <Word>HACK</Word>
-
- <Word>UNDONE</Word>
-
- </Keywords>
-
- </Rule>
-
- <Rule name = "String">
- </Rule>
-</SyntaxMode>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/CellRendererTypeCombo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/CellRendererTypeCombo.cs
deleted file mode 100644
index a751b0d57a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/CellRendererTypeCombo.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public class CellRendererTypeCombo : CellRendererCombo
- {
- private ListStore store;
-
- public CellRendererTypeCombo ()
- {
- store = new ListStore (typeof (string), typeof (Type));
-
- store.AppendValues ("bool", typeof (bool));
- store.AppendValues ("byte array", typeof (byte[]));
- store.AppendValues ("char", typeof (char));
- store.AppendValues ("date/time", typeof (DateTime));
- store.AppendValues ("decimal", typeof (decimal));
- store.AppendValues ("double", typeof (double));
- //TODO: store.AppendValues ("enum", typeof (Enum));
- store.AppendValues ("short", typeof (short));
- store.AppendValues ("integer", typeof (int));
- store.AppendValues ("long", typeof (long));
- store.AppendValues ("unsigned short", typeof (ushort));
- store.AppendValues ("unsigned integer", typeof (uint));
- store.AppendValues ("unsigned long", typeof (ulong));
- store.AppendValues ("float", typeof (float));
-
- Model = store;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs
deleted file mode 100644
index 24274b2cf2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs
+++ /dev/null
@@ -1,247 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public class ColumnMappingWidget : ScrolledWindow
- {
- private TreeView list;
- private ListStore store;
-
- private const int columnSelected = 0;
- private const int columnObj = 1;
-
- public ColumnMappingWidget ()
- : this (true)
- {
- }
-
- public ColumnMappingWidget (bool showCheckBoxes)
- : base ()
- {
- store = new ListStore (typeof (bool), typeof (ColumnContainer));
- list = new TreeView (store);
-
- TreeViewColumn colName = new TreeViewColumn ();
- colName.Title = AddinCatalog.GetString ("Name");
-
- CellRendererToggle toggleRenderer = new CellRendererToggle ();
- toggleRenderer.Activatable = true;
- toggleRenderer.Toggled += new ToggledHandler (SelectToggled);
- colName.PackStart (toggleRenderer, false);
- CellRendererText nameRenderer = new CellRendererText ();
- colName.PackStart (nameRenderer, true);
-
- TreeViewColumn colType = new TreeViewColumn ();
- colType.Title = AddinCatalog.GetString ("Db Type");
- CellRendererText typeRenderer = new CellRendererText ();
- colType.PackStart (typeRenderer, true);
-
- TreeViewColumn colPropType = new TreeViewColumn ();
- colPropType.Title = AddinCatalog.GetString ("Type");
- CellRendererText propTypeRenderer = new CellRendererText ();
- colPropType.PackStart (propTypeRenderer, true);
-
- TreeViewColumn colFieldName = new TreeViewColumn ();
- colFieldName.Title = AddinCatalog.GetString ("Field Name");
- CellRendererText fieldNameRenderer = new CellRendererText ();
- fieldNameRenderer.Editable = true;
- fieldNameRenderer.Edited += new EditedHandler (FieldNameEdited);
- colFieldName.PackStart (fieldNameRenderer, true);
-
- TreeViewColumn colPropName = new TreeViewColumn ();
- colPropName.Title = AddinCatalog.GetString ("Property Name");
- CellRendererText propNameRenderer = new CellRendererText ();
- propNameRenderer.Editable = true;
- propNameRenderer.Edited += new EditedHandler (PropNameEdited);
- colPropName.PackStart (propNameRenderer, true);
-
- TreeViewColumn colSetter = new TreeViewColumn ();
- colSetter.Title = AddinCatalog.GetString ("Setter");
- CellRendererToggle setterRenderer = new CellRendererToggle ();
- setterRenderer.Activatable = true;
- setterRenderer.Toggled += new ToggledHandler (SetterToggled);
- colSetter.PackStart (setterRenderer, false);
-
- colName.SetCellDataFunc (nameRenderer, new CellLayoutDataFunc (NameDataFunc));
- colType.SetCellDataFunc (typeRenderer, new CellLayoutDataFunc (TypeDataFunc));
- colPropName.SetCellDataFunc (fieldNameRenderer, new CellLayoutDataFunc (FieldNameDataFunc));
- colPropName.SetCellDataFunc (propNameRenderer, new CellLayoutDataFunc (PropNameDataFunc));
- colPropType.SetCellDataFunc (propTypeRenderer, new CellLayoutDataFunc (PropTypeDataFunc));
- colSetter.SetCellDataFunc (setterRenderer, new CellLayoutDataFunc (SetterDataFunc));
-
- list.AppendColumn (colName);
- list.AppendColumn (colType);
- list.AppendColumn (colFieldName);
- list.AppendColumn (colPropName);
- list.AppendColumn (colPropType);
- list.AppendColumn (colSetter);;
- list.HeadersVisible = true;
-
- this.Add (list);
- }
-
- public void Append (IEnumerable<ColumnContainer> columns)
- {
- foreach (ColumnContainer column in columns)
- store.AppendValues (true, column);
- }
-
- public IEnumerable<ColumnContainer> CheckedColumns {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, columnSelected);
- if (chk)
- yield return store.GetValue (iter, columnObj) as ColumnContainer;
- } while (store.IterNext (ref iter));
- }
- }
- }
-
- public void SelectAll ()
- {
- SetSelectState (true);
- }
-
- public void DeselectAll ()
- {
- SetSelectState (false);
- }
-
- private void SetSelectState (bool state)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- store.SetValue (iter, columnSelected, state);
- } while (store.IterNext (ref iter));
- }
- }
-
- private void NameDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- ColumnContainer container = model.GetValue (iter, columnObj) as ColumnContainer;
- textRenderer.Text = container.ColumnSchema.Name;
- }
-
- private void TypeDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- ColumnContainer container = model.GetValue (iter, columnObj) as ColumnContainer;
- textRenderer.Text = container.ColumnSchema.DataTypeName;
- }
-
- private void FieldNameDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- ColumnContainer container = model.GetValue (iter, columnObj) as ColumnContainer;
- textRenderer.Text = container.FieldName;
- }
-
- private void PropNameDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- ColumnContainer container = model.GetValue (iter, columnObj) as ColumnContainer;
- textRenderer.Text = container.PropertyName;
- }
-
- private void PropTypeDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- ColumnContainer container = model.GetValue (iter, columnObj) as ColumnContainer;
- DataTypeSchema dt = container.ColumnSchema.DataType;
-
- ISchemaProvider provider = dt.SchemaProvider;
- Type type = dt.DotNetType;
- textRenderer.Text = type.Name;
- }
-
- private void SetterDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererToggle toggleRenderer = cell as CellRendererToggle;
- ColumnContainer container = model.GetValue (iter, columnObj) as ColumnContainer;
- toggleRenderer.Active = container.HasSetter;
- }
-
- private void SelectToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) store.GetValue (iter, columnSelected);
- store.SetValue (iter, columnSelected, !val);
- }
- }
-
- private void SetterToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- ColumnContainer container = store.GetValue (iter, columnObj) as ColumnContainer;
- container.HasSetter = !container.HasSetter;
- }
- }
-
- private void PropNameEdited (object sender, EditedArgs args)
- {
- Gtk.TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- ColumnContainer container = store.GetValue (iter, columnObj) as ColumnContainer;
-
- if (args.NewText != null && args.NewText.Length > 0) {
- container.PropertyName = args.NewText;
- } else {
- //restore old name if new one is empty
- (sender as CellRendererText).Text = container.PropertyName;
- }
- }
- }
-
- private void FieldNameEdited (object sender, EditedArgs args)
- {
- Gtk.TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- ColumnContainer container = store.GetValue (iter, columnObj) as ColumnContainer;
-
- if (args.NewText != null && args.NewText.Length > 0) {
- container.FieldName = args.NewText;
- } else {
- //restore old name if new one is empty
- (sender as CellRendererText).Text = container.FieldName;
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs
deleted file mode 100644
index 5af70a284e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs
+++ /dev/null
@@ -1,445 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Components")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class ConnectionSettingsWidget : Gtk.Bin
- {
- public event EventHandler NeedsValidation;
-
- protected bool isDefaultSettings;
-
- protected ListStore storeDatabases;
- protected bool isDatabaseListEmpty;
- protected bool isEditMode = false;
-
- protected bool enablePasswordEntry;
- protected bool enableUsernameEntry;
- protected bool enableServerEntry;
- protected bool enablePortEntry;
- protected bool enableRefreshButton;
- protected bool enableOpenButton;
- protected bool enableTestButton;
- protected bool enableIntegratedSecurity;
-
- protected IDbFactory factory;
- protected DatabaseConnectionSettings settings;
-
-
-
- public ConnectionSettingsWidget (IDbFactory factory)
- {
- if (factory == null)
- throw new ArgumentNullException ("factory");
- this.factory = factory;
-
- this.Build();
-
- textConnectionString.Buffer.Changed += new EventHandler (ConnectionStringChanged);
- checkCustom.Toggled += new EventHandler (CustomConnectionStringActivated);
-
- storeDatabases = comboDatabase.Model as ListStore;
- comboDatabase.Entry.Changed += new EventHandler (DatabaseChanged);
-
- EnableServerEntry = true;
- EnablePortEntry = true;
- EnableUsernameEntry = true;
- EnablePasswordEntry = true;
- EnableRefreshButton = true;
- EnableOpenButton = false;
- }
-
- public ConnectionSettingsWidget (IDbFactory factory, bool isEditMode):this(factory)
- {
- this.isEditMode = isEditMode;
- }
-
- public DatabaseConnectionSettings ConnectionSettings {
- get {
- if (settings == null)
- settings = CreateDatabaseConnectionSettings ();
- FillDatabaseConnectionSettings (settings);
- return settings;
- }
- }
-
- public bool EnableServerEntry {
- get { return enableServerEntry; }
- set {
- enableServerEntry = value;
- entryServer.Sensitive = value;
- }
- }
-
- public bool EnablePortEntry {
- get { return enablePortEntry; }
- set {
- enablePortEntry = value;
- spinPort.Sensitive = value;
- checkDefaultPort.Sensitive = value;
- }
- }
-
- public bool EnableIntegratedSecurity {
- get { return enableIntegratedSecurity; }
- set {
- enableIntegratedSecurity = value;
- }
- }
-
- public bool EnableUsernameEntry {
- get { return enableUsernameEntry; }
- set {
- enableUsernameEntry = value;
- entryUsername.Sensitive = value;
- }
- }
-
- public bool EnablePasswordEntry {
- get { return enablePasswordEntry; }
- set {
- enablePasswordEntry = value;
- entryPassword.Sensitive = value;
- }
- }
-
- public bool EnableRefreshButton {
- get { return enableRefreshButton; }
- set {
- enableRefreshButton = value;
- buttonRefresh.Sensitive = value;
- }
- }
-
- public bool EnableOpenButton {
- get { return enableOpenButton; }
- set {
- enableOpenButton = value;
- buttonOpen.Sensitive = value;
- }
- }
-
- public bool EnableTestButton {
- get { return enableTestButton; }
- set {
- enableTestButton = value;
- buttonTest.Sensitive = value;
- }
- }
-
- protected ComboBoxEntry ComboDatabase {
- get { return comboDatabase; }
- }
-
- protected internal virtual void FillDatabaseConnectionSettings (DatabaseConnectionSettings settings)
- {
- settings.ConnectionString = textConnectionString.Buffer.Text;
- settings.UseConnectionString = checkCustom.Active;
- settings.MinPoolSize = (int)spinMinPoolSize.Value;
- settings.MaxPoolSize = (int)spinMaxPoolSize.Value;
- settings.Name = entryName.Text;
- if (!checkIntegratedSecurity.Active) {
- settings.Username = entryUsername.Text;
- settings.Password = entryPassword.Text;
- settings.UseIntegratedSecurity = false;
- } else {
- settings.UseIntegratedSecurity = true;
- }
- settings.Server = entryServer.Text;
- if (spinPort.Sensitive)
- settings.Port = (int)spinPort.Value;
- else
- settings.Port = 0;
-
- settings.Database = comboDatabase.Entry.Text;
- settings.SavePassword = checkSavePassword.Active;
- }
-
- public virtual void ShowSettings (DatabaseConnectionSettings settings)
- {
- checkCustom.Active = settings.UseConnectionString;
- entryName.Text = String.IsNullOrEmpty (settings.Name) ? String.Empty : settings.Name;
- entryPassword.Text = String.IsNullOrEmpty (settings.Password) ? String.Empty : settings.Password;
- spinPort.Value = settings.Port > 0 ? settings.Port : spinPort.Value;
- entryServer.Text = String.IsNullOrEmpty (settings.Server) ? String.Empty : settings.Server;
- entryUsername.Text = String.IsNullOrEmpty (settings.Username) ? String.Empty : settings.Username;
- textConnectionString.Buffer.Text = String.IsNullOrEmpty (settings.ConnectionString) ? String.Empty : settings.ConnectionString;
- comboDatabase.Entry.Text = String.IsNullOrEmpty (settings.Database) ? String.Empty : settings.Database;
- spinMinPoolSize.Value = settings.MinPoolSize;
- spinMaxPoolSize.Value = settings.MaxPoolSize;
- checkIntegratedSecurity.Sensitive = settings.CanUseIntegratedSecurity;
- if (settings.UseIntegratedSecurity)
- checkIntegratedSecurity.Active = true;
- else
- checkIntegratedSecurity.Active = false;
- FillDatabaseConnectionSettings (settings);
- }
-
- protected internal virtual void AppendDatabase (DatabaseConnectionSettings settings)
- {
- storeDatabases.AppendValues (settings.Database);
- isDatabaseListEmpty = false;
- }
-
- protected virtual void NameChanged (object sender, System.EventArgs e)
- {
- CheckSettings (false);
- }
-
- protected virtual void ServerChanged (object sender, System.EventArgs e)
- {
- CheckSettings (true);
- }
-
- protected virtual void PortChanged (object sender, System.EventArgs e)
- {
- CheckSettings (true);
- }
-
- protected virtual void UsernameChanged (object sender, System.EventArgs e)
- {
- CheckSettings (true);
- }
-
- protected virtual void PasswordChanged (object sender, System.EventArgs e)
- {
- CheckSettings (true);
- }
-
- protected virtual void MinPoolSizeChanged (object sender, System.EventArgs e)
- {
- if (spinMinPoolSize.Value > spinMaxPoolSize.Value)
- spinMaxPoolSize.Value = spinMinPoolSize.Value;
- }
-
- protected virtual void MaxPoolSizeChanged (object sender, System.EventArgs e)
- {
- if (spinMaxPoolSize.Value < spinMinPoolSize.Value)
- spinMinPoolSize.Value = spinMaxPoolSize.Value;
- }
-
- protected virtual void CustomConnectionStringActivated (object sender, System.EventArgs e)
- {
- bool sens = !checkCustom.Active;
-
- entryPassword.Sensitive = sens && enablePasswordEntry;
- entryUsername.Sensitive = sens && enableUsernameEntry;
- entryServer.Sensitive = sens && enableServerEntry;
- spinPort.Sensitive = sens && enablePortEntry;
- checkDefaultPort.Sensitive = sens && enablePortEntry;
- checkIntegratedSecurity.Sensitive = sens && enableIntegratedSecurity;
- comboDatabase.Sensitive = sens;
- buttonRefresh.Sensitive = sens && enableRefreshButton;
- scrolledwindow.Sensitive = !sens;
-
- }
-
- protected virtual void ConnectionStringChanged (object sender, EventArgs e)
- {
- CheckSettings (true);
- }
-
- protected virtual void DatabaseChanged (object sender, EventArgs e)
- {
- if (isDatabaseListEmpty && comboDatabase.Entry.Text == AddinCatalog.GetString ("No databases found!")) {
- comboDatabase.Entry.Text = String.Empty;
- }
- CheckSettings (true);
- }
-
- protected virtual void CheckSettings (bool requiresTest)
- {
- isDefaultSettings = false;
- if (requiresTest)
- labelTest.Text = String.Empty;
-
- if (NeedsValidation != null)
- NeedsValidation (this, EventArgs.Empty);
- }
-
- public virtual bool ValidateFields ()
- {
- bool ok = false;
- if (checkCustom.Active) {
- ok = textConnectionString.Buffer.Text.Length > 0;
- } else {
- bool alreadyExists = ConnectionContextService.DatabaseConnectionContextExist (ConnectionSettings);
- TreeIter iter;
- ok = entryName.Text.Length > 0
- && (entryServer.Text.Length > 0 || !enableServerEntry)
- && (entryUsername.Text.Length > 0 || !enableUsernameEntry)
- && (comboDatabase.Entry.Text.Length > 0)
- && (!alreadyExists || (isEditMode && ConnectionSettings.Name == entryName.Text));
- if (alreadyExists && !isEditMode)
- labelMessage.Markup = string.Concat ("<i>",
- AddinCatalog.GetString ("Connection Name Already used, choose another."),"</i>");
- else
- labelMessage.Markup = "";
- }
- return ok;
- }
-
- protected virtual DatabaseConnectionSettings CreateDatabaseConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = factory.Identifier;
- FillDatabaseConnectionSettings (settings);
- return settings;
- }
-
- protected virtual void RefreshClicked (object sender, System.EventArgs e)
- {
- DatabaseConnectionSettings settingsCopy = CreateDatabaseConnectionSettings ();
- storeDatabases.Clear ();
-
- ThreadPool.QueueUserWorkItem (new WaitCallback (RefreshClickedThreaded), settingsCopy);
- }
-
- protected virtual void RefreshClickedThreaded (object state)
- {
- DatabaseConnectionSettings settings = state as DatabaseConnectionSettings;
- DatabaseConnectionContext context = new DatabaseConnectionContext (settings);
- IDbFactory fac = DbFactoryService.GetDbFactory (settings.ProviderIdentifier);
- FakeConnectionPool pool = null;
- try {
- pool = new FakeConnectionPool (fac, fac.ConnectionProvider, context);
- pool.Initialize ();
- if (pool.HasErrors) {
- MessageService.ShowError (pool.Error);
- return;
- }
-
- ISchemaProvider prov = fac.CreateSchemaProvider (pool);
- DatabaseSchemaCollection databases = prov.GetDatabases ();
-
- DispatchService.GuiDispatch (delegate () {
- foreach (DatabaseSchema db in databases) {
- storeDatabases.AppendValues (db.Name);
- }
- });
- isDatabaseListEmpty = databases.Count == 0;
- } catch {
- } finally {
- if (pool != null)
- pool.Close ();
- }
-
- if (isDatabaseListEmpty) {
- DispatchService.GuiDispatch (delegate () {
- storeDatabases.AppendValues (AddinCatalog.GetString ("No databases found!"));
- });
- } else {
- DispatchService.GuiDispatch (delegate () {
- TreeIter iter;
- if (storeDatabases.GetIterFirst (out iter))
- comboDatabase.SetActiveIter (iter);
- });
- }
- }
-
- protected virtual void OpenClicked (object sender, System.EventArgs e)
- {
- //do nothing by default
- //TODO: show a open file dialog with *.* as filter???
- }
-
- protected virtual void TestClicked (object sender, System.EventArgs e)
- {
- //TODO: use a Thread object, so the thread can be aborted when the entered values change
- DatabaseConnectionSettings settingsCopy = CreateDatabaseConnectionSettings ();
- labelTest.Text = AddinCatalog.GetString ("Trying to connect to database ...");
- buttonTest.Sensitive = false;
- ThreadPool.QueueUserWorkItem (new WaitCallback (TestClickedThreaded), settingsCopy);
- }
-
- protected virtual void TestClickedThreaded (object state)
- {
- DatabaseConnectionSettings settings = state as DatabaseConnectionSettings;
- DatabaseConnectionContext context = new DatabaseConnectionContext (settings);
- IDbFactory fac = DbFactoryService.GetDbFactory (settings.ProviderIdentifier);
-
- bool success = false;
- string error = null;
-
- FakeConnectionPool pool = null;
- IPooledDbConnection conn = null;
- try {
- pool = new FakeConnectionPool (fac, fac.ConnectionProvider, context);
- success = pool.Initialize ();
- error = pool.Error;
- } catch (System.Data.DataException ex) {
- error = ex.Message;
- success = false;
- } finally {
- if (conn != null) {
- conn.Release ();
- conn.Dispose ();
- }
- if (pool != null)
- pool.Close ();
- }
-
- DispatchService.GuiDispatch (delegate () {
- buttonTest.Sensitive = true;
- if (success)
- labelTest.Text = AddinCatalog.GetString ("Test Succeeded.");
- else
- labelTest.Text = AddinCatalog.GetString ("Test Failed: {0}.", error);
- });
- }
-
- protected virtual void OnCheckDefaultPortToggled (object sender, System.EventArgs e)
- {
- if (checkDefaultPort.Active)
- spinPort.Sensitive = false;
- else
- spinPort.Sensitive = true;
- }
- protected virtual void OnCheckIntegratedSecurityToggled (object sender, System.EventArgs e)
- {
- if (checkIntegratedSecurity.Active) {
- entryUsername.Sensitive = false;
- entryPassword.Sensitive = false;
- checkSavePassword.Sensitive = false;
- } else {
- entryUsername.Sensitive = true;
- entryPassword.Sensitive = true;
- checkSavePassword.Sensitive = true;
- }
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGrid.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGrid.cs
deleted file mode 100644
index 734c74874f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGrid.cs
+++ /dev/null
@@ -1,460 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-
-// Copyright (c) 2007 Ben Motmans
-
-//
-
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-
-// of this software and associated documentation files (the "Software"), to deal
-
-// in the Software without restriction, including without limitation the rights
-
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-
-// copies of the Software, and to permit persons to whom the Software is
-
-// furnished to do so, subject to the following conditions:
-
-//
-
-// The above copyright notice and this permission notice shall be included in
-
-// all copies or substantial portions of the Software.
-
-//
-
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-
-// THE SOFTWARE.
-
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Components.Commands;
-using Mono.TextEditor;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Components")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class DataGrid : Bin
- {
- private bool limitPageSize = true;
- private int pageSize = 50;
- private int currentRecord = 0;
- private int numRecords = 0;
- private DataTable dataSource;
-
- private ListStore store;
- private DataGridColumn[] columns;
- private int columnCount = 0;
-
- private int sortColumn = 0;
- private IComparer sortComparer;
-
- private ObjectContentRenderer defaultContentRenderer;
- private Dictionary<Type, IDataGridContentRenderer> contentRenderers;
-
- private Dictionary<int, ConvertObjectFunc> conversionLookup = new Dictionary<int, ConvertObjectFunc> ();
- private delegate string ConvertObjectFunc (object obj);
-
- private ConvertObjectFunc byteConvertFunc = new ConvertObjectFunc (ByteConvertFunc);
- private ConvertObjectFunc sbyteConvertFunc = new ConvertObjectFunc (SByteConvertFunc);
-
- private object clickedCellObject;
-
- public DataGrid ()
- {
- this.Build ();
-
- //Gtk# 2.10: grid.EnableGridLines = TreeViewGridLines.Both;
- grid.ButtonPressEvent += ButtonPressed;
- grid.PopupMenu += (o, args) => DoPopupMenu (null);
- grid.Selection.Mode = Gtk.SelectionMode.Multiple;
-
- contentRenderers = new Dictionary<Type, IDataGridContentRenderer> ();
-
- AddContentRenderer (new BlobContentRenderer ());
- AddContentRenderer (new BooleanContentRenderer ());
- AddContentRenderer (new ByteContentRenderer ());
- AddContentRenderer (new DecimalContentRenderer ());
- AddContentRenderer (new DoubleContentRenderer ());
- AddContentRenderer (new FloatContentRenderer ());
- AddContentRenderer (new IntegerContentRenderer ());
- AddContentRenderer (new LongContentRenderer ());
- AddContentRenderer (new StringContentRenderer ());
-
- foreach (DataGridContentRendererCodon codon in AddinManager.GetExtensionNodes ("/MonoDevelop/Database/DataGrid/Renderers"))
- AddContentRenderer (codon.ContentRenderer);
- }
-
- public bool ShowNavigator {
- get { return hbox.Visible; }
- set { hbox.Visible = value; }
- }
-
- public bool EnableNavigator {
- get { return hbox.Sensitive; }
- set { hbox.Sensitive = value; }
- }
-
- public int PageSize {
- get { return pageSize; }
- set { pageSize = value; }
- }
-
- public bool LimitPageSize {
- get { return limitPageSize; }
- set {
- limitPageSize = value;
- ShowNavigator = LimitPageSize;
- }
- }
-
- public int CurrentRecord {
- get { return currentRecord; }
- }
-
- public int RecordCount {
- get { return numRecords; }
- }
-
- public void DataBind ()
- {
- if (dataSource == null) {
- Clear ();
- return;
- }
-
- int index = 0;
- Type[] storeTypes = new Type[dataSource.Columns.Count];
- columnCount = dataSource.Columns.Count;
- foreach (DataColumn col in dataSource.Columns) {
- DataGridColumn dgCol = new DataGridColumn (this, col, index);
- grid.AppendColumn (dgCol);
-
- if (col.DataType == typeof (byte)) {
- //special case for gchar (TODO: look up the bugzilla bug id)
- storeTypes[index] = typeof (string);
- conversionLookup.Add (index, byteConvertFunc);
- } else if (col.DataType == typeof (sbyte)) {
- storeTypes[index] = typeof (string);
- conversionLookup.Add (index, sbyteConvertFunc);
- } else if (col.DataType.IsPrimitive || col.DataType == typeof (string) || col.DataType.IsEnum) {
- storeTypes[index] = col.DataType;
- } else {
- //the ListStore doesn't allow types that can't be converted to a GType
- storeTypes[index] = typeof (object);
- }
-
- index++;
- }
- store = new ListStore (storeTypes);
- grid.Model = store;
-
- TreeIterCompareFunc sortFunc = new TreeIterCompareFunc (SortFunc);
- store.SetSortFunc (0, sortFunc);
- store.SetSortColumnId (0, SortType.Ascending); //TODO: is this needed ?
-
- NavigateToRecord (0);
- }
-
- public DataTable DataSource {
- get { return dataSource; }
- set {
- dataSource = value;
- if (value != null)
- numRecords = dataSource.Rows.Count;
- else
- numRecords = 0;
- }
- }
-
- public void Clear ()
- {
- currentRecord = 0;
- numRecords = 0;
- columnCount = 0;
-
- conversionLookup.Clear ();
-
- if (store != null) {
- store.Clear ();
- store = null;
- }
-
- if (columns != null) {
- for (int i=0; i<columns.Length; i++) {
- if (columns[i] != null)
- grid.RemoveColumn (columns[i]);
- columns[i] = null;
- }
- columns = null;
- }
- }
-
- public void NavigateToRecord (int record)
- {
- if (record < 0 || record > numRecords)
- throw new ArgumentException ("Invalid record index.");
-
- if (limitPageSize) {
- int count = numRecords - record;
- if (count > pageSize) count = pageSize;
-
- FillGrid (record, count);
- } else {
- int count = numRecords - record;
- FillGrid (record, count);
- }
- ShowNavigationState ();
- }
-
- private void ShowNavigationState ()
- {
- entryTotal.Text = numRecords.ToString ();
- int currentEnd = 0;
- if (limitPageSize) {
- currentEnd = currentRecord + pageSize;
- if (currentEnd > numRecords)
- currentEnd = numRecords;
- } else {
- currentEnd = numRecords;
- }
- entryCurrent.Text = String.Format ("{0}-{1}", currentRecord, currentEnd);
- }
-
- private void FillGrid (int start, int count)
- {
- grid.Model = null;
-
- int end = start + count;
- if (dataSource.Rows.Count < end)
- end = dataSource.Rows.Count;
-
- store.Clear ();
- for (int i=start; i<end; i++) {
- DataRow row = dataSource.Rows[i];
-
- TreeIter iter = store.Append ();
- for (int j=0;j<columnCount; j++) {
- //HACK: this is a hack for a bug that doesn't allow gchars in a liststore
- if (conversionLookup.ContainsKey (j)) {
- ConvertObjectFunc func = conversionLookup[j];
- store.SetValue (iter, j, func (row[j]));
- } else {
- store.SetValue (iter, j, row[j]);
- }
- }
- }
-
- grid.Model = store;
- }
-
- protected virtual void ButtonFirstClicked (object sender, System.EventArgs e)
- {
- currentRecord = 0;
- NavigateToRecord (currentRecord);
- }
-
- protected virtual void ButtonPreviousClicked (object sender, System.EventArgs e)
- {
- currentRecord -= pageSize;
- if (currentRecord < 0) currentRecord = 0;
- NavigateToRecord (currentRecord);
- }
-
- protected virtual void ButtonNextClicked (object sender, System.EventArgs e)
- {
- currentRecord += pageSize;
- if ((currentRecord + pageSize) > numRecords) {
- int modulus = numRecords % pageSize;
- currentRecord = numRecords - modulus;
- }
- NavigateToRecord (currentRecord);
- }
-
- protected virtual void ButtonLastClicked (object sender, System.EventArgs e)
- {
- int modulus = numRecords % pageSize;
- currentRecord = numRecords - modulus;
- NavigateToRecord (currentRecord);
- }
-
- protected virtual void EntryCurrentActivated (object sender, System.EventArgs e)
- {
- string[] split = entryCurrent.Text.Split (new char[]{'-'}, 2, StringSplitOptions.RemoveEmptyEntries);
- if (split == null || split.Length < 1) {
- ShowNavigationState ();
- return;
- }
-
- int curRec;
- int curEnd;
-
- if (int.TryParse (split[0], out curRec)) {
- if (curRec < 0)
- curRec = 0;
- else if (curRec >= numRecords)
- curRec = numRecords - 1;
-
- currentRecord = curRec;
- } else {
- return;
- }
-
- if (split.Length > 1 && int.TryParse (split[1], out curEnd)) {
- pageSize = curEnd - curRec;
- if (pageSize <= 0)
- pageSize = 50;
- }
-
- ShowNavigationState ();
- }
-
- internal IDataGridContentRenderer GetDataGridContentRenderer (Type type)
- {
- IDataGridContentRenderer renderer = null;
- if (contentRenderers.TryGetValue (type, out renderer))
- return renderer;
-
- if (defaultContentRenderer == null)
- defaultContentRenderer = new ObjectContentRenderer ();
- return defaultContentRenderer;
- }
-
- internal void Sort (DataGridColumn column)
- {
- sortColumn = column.ColumnIndex;
- sortComparer = column.ContentComparer;
-
- if (column.SortIndicator)
- column.SortOrder = ReverseSortOrder (column);
-
- //show indicator on current column, remove on all others
- foreach (TreeViewColumn col in grid.Columns)
- col.SortIndicator = col == column;
-
- store.SetSortFunc (column.ColumnIndex, new TreeIterCompareFunc (SortFunc));
- store.SetSortColumnId (column.ColumnIndex, column.SortOrder);
- }
-
- private SortType ReverseSortOrder (TreeViewColumn column)
- {
- if (column.SortIndicator) {
- if (column.SortOrder == SortType.Ascending)
- return SortType.Descending;
- else
- return SortType.Ascending;
- } else {
- return SortType.Ascending;
- }
- }
-
- private int SortFunc (TreeModel model, TreeIter x, TreeIter y)
- {
- if (sortComparer == null)
- return 0;
-
- object ox = model.GetValue (x, sortColumn);
- object oy = model.GetValue (y, sortColumn);
-
- return sortComparer.Compare (ox, oy);
- }
-
- private void AddContentRenderer (IDataGridContentRenderer renderer)
- {
- foreach (Type type in renderer.DataTypes) {
- if (contentRenderers.ContainsKey (type))
- LoggingService.LogError ("Duplicate IDataGridContentRenderer for type '{0}'", type.FullName);
- else
- contentRenderers.Add (type, renderer);
- }
- }
-
- [GLib.ConnectBefore]
- private void ButtonPressed (object sender, ButtonPressEventArgs args)
- {
- TreePath path = null;
- TreeViewColumn col = null;
- if (grid.GetPathAtPos ((int)args.Event.X, (int)args.Event.Y, out path, out col)) {
- DataGridColumn dgCol = col as DataGridColumn;
- TreeIter iter;
- if (store.GetIter (out iter, path))
- clickedCellObject = store.GetValue (iter, dgCol.ColumnIndex);
- else
- return;
- } else {
- return;
- }
-
- if (args.Event.TriggersContextMenu ()) {
- DoPopupMenu (args.Event);
- args.RetVal = true;
- }
- }
-
- void DoPopupMenu (Gdk.EventButton evt)
- {
- IdeApp.CommandService.ShowContextMenu (grid, evt, "/MonoDevelop/Database/ContextMenu/DataGrid");
- }
-
- private static string ByteConvertFunc (object obj)
- {
- if (Convert.IsDBNull (obj) || obj == null)
- return null;
-
- byte b = (byte)obj;
- return "0x" + b.ToString ("X");
- }
-
- private static string SByteConvertFunc (object obj)
- {
- if (Convert.IsDBNull (obj) || obj == null)
- return null;
-
- sbyte b = (sbyte)obj;
- return b.ToString ("N");
- }
-
- [CommandHandler (DataGridCommands.VisualizeAsList)]
- protected void VisualizeAsListCommand (object obj)
- {
- //FIXME: it seems that this code is never reached
- IDataGridVisualizer visualizer = (IDataGridVisualizer)obj;
- visualizer.Visualize (clickedCellObject);
- }
-
- [CommandUpdateHandler (DataGridCommands.VisualizeAsList)]
- protected void UpdateVisualizeAsListCommand (CommandArrayInfo info)
- {
- foreach (DataGridVisualizerCodon codon in AddinManager.GetExtensionNodes ("/MonoDevelop/Database/DataGrid/Visualizers")) {
- IDataGridVisualizer visualizer = codon.Visualizer;
- CommandInfo ci = info.Add (visualizer.Name, visualizer);
- ci.Enabled = visualizer.CanVisualize (clickedCellObject);
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGridColumn.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGridColumn.cs
deleted file mode 100644
index 49d3ff739f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/DataGridColumn.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Collections;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class DataGridColumn : TreeViewColumn
- {
- private DataGrid grid;
- private DataColumn column;
- private int columnIndex;
- private IDataGridContentRenderer contentRenderer;
- private static IDataGridContentRenderer nullRenderer;
-
- static DataGridColumn ()
- {
- nullRenderer = new NullContentRenderer ();
- }
-
- public DataGridColumn (DataGrid grid, DataColumn column, int columnIndex)
- {
- this.grid = grid;
- this.column = column;
- this.columnIndex = columnIndex;
-
- contentRenderer = grid.GetDataGridContentRenderer (column.DataType);
-
- Title = column.ColumnName.Replace ("_", "__"); //underscores are normally used for underlining, so needs escape char
- Clickable = true;
-
- CellRendererText textRenderer = new CellRendererText ();
- PackStart (textRenderer, true);
- SetCellDataFunc (textRenderer, new CellLayoutDataFunc (ContentDataFunc));
- }
-
- public int ColumnIndex {
- get { return columnIndex; }
- }
-
- public IComparer ContentComparer {
- get { return contentRenderer; }
- }
-
- public Type DataType {
- get { return column.DataType; }
- }
-
- private void ContentDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- object dataObject = model.GetValue (iter, columnIndex);
- if (dataObject == null)
- nullRenderer.SetContent (cell as CellRendererText, dataObject);
- else
- contentRenderer.SetContent (cell as CellRendererText, dataObject);
- }
-
- protected override void OnClicked ()
- {
- base.OnClicked ();
- grid.Sort (this);
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BlobContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BlobContentRenderer.cs
deleted file mode 100644
index 663dd52e89..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BlobContentRenderer.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class BlobContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(byte[]) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Markup = "<u>bin</u>";
- }
-
- public int Compare (object x, object y)
- {
- return 0;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs
deleted file mode 100644
index 6a7c87267c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class BooleanContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(bool) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- bool b = (bool)dataObject;
- cell.Text = b ? AddinCatalog.GetString ("Y") : AddinCatalog.GetString ("N");
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- bool bx = (bool)x;
- return bx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ByteContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ByteContentRenderer.cs
deleted file mode 100644
index e80833d189..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ByteContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class ByteContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(byte), typeof(sbyte) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- byte bx = (byte)x;
- return bx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DecimalContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DecimalContentRenderer.cs
deleted file mode 100644
index aab4d3f92a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DecimalContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class DecimalContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(decimal) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- decimal dx = (decimal)x;
- return dx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DoubleContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DoubleContentRenderer.cs
deleted file mode 100644
index f98fed5948..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/DoubleContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class DoubleContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(double) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- double dx = (double)x;
- return dx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/FloatContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/FloatContentRenderer.cs
deleted file mode 100644
index 8a1c9afb38..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/FloatContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class FloatContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(float) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- float fx = (float)x;
- return fx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IDataGridContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IDataGridContentRenderer.cs
deleted file mode 100644
index 0e5c3ca387..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IDataGridContentRenderer.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public interface IDataGridContentRenderer : IComparer
- {
- Type[] DataTypes { get; }
-
- void SetContent (CellRendererText cell, object dataObject);
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IntegerContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IntegerContentRenderer.cs
deleted file mode 100644
index 61d02d850d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/IntegerContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class IntegerContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(int), typeof(uint), typeof(short), typeof(ushort) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- int ix = (int)x;
- return ix.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/LongContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/LongContentRenderer.cs
deleted file mode 100644
index 4ad174ce57..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/LongContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class LongContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(long), typeof(ulong) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- long lx = (long)x;
- return lx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/NullContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/NullContentRenderer.cs
deleted file mode 100644
index b1a518eb26..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/NullContentRenderer.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class NullContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return Type.EmptyTypes; } //special case
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Markup = "<i>null</i>";
- }
-
- public int Compare (object x, object y)
- {
- return 0;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ObjectContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ObjectContentRenderer.cs
deleted file mode 100644
index e382b985ac..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/ObjectContentRenderer.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class ObjectContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return Type.EmptyTypes; } //special case
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- if (x is IComparable)
- return (x as IComparable).CompareTo (y);
- return 0;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/StringContentRenderer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/StringContentRenderer.cs
deleted file mode 100644
index 8b430f81c2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/StringContentRenderer.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public class StringContentRenderer : IDataGridContentRenderer
- {
- public Type[] DataTypes {
- get { return new Type[]{ typeof(string) }; }
- }
-
- public void SetContent (CellRendererText cell, object dataObject)
- {
- cell.Text = dataObject.ToString ();
- }
-
- public int Compare (object x, object y)
- {
- if (x == null && y == null) return 0;
- else if (x == null) return -1;
- else if (y == null) return 1;
-
- string sx = (string)x;
- return sx.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs
deleted file mode 100644
index afdd01edde..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Components;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui;
-
-namespace MonoDevelop.Database.Components
-{
- public class ImageVisualizerView : AbstractViewContent
- {
- private VBox vbox;
- private ScrolledWindow scrolledWindow;
- private Gtk.Image image;
-
- public ImageVisualizerView ()
- {
- vbox = new VBox (false, 6);
- vbox.BorderWidth = 6;
-
- image = new Gtk.Image ();
-
- scrolledWindow = new ScrolledWindow ();
- scrolledWindow.Add (image);
-
- vbox.PackStart (scrolledWindow, true, true, 0);
-
- vbox.ShowAll ();
- }
-
- public override string UntitledName {
- get { return AddinCatalog.GetString ("Image"); }
- }
-
- public override void Dispose ()
- {
- Control.Destroy ();
- }
-
- public override void Load (string filename)
- {
- throw new NotSupportedException ();
- }
-
- public override Widget Control {
- get { return vbox; }
- }
-
- public void Load (object dataObject)
- {
- byte[] blob = dataObject as byte[];
- if (blob != null) {
- try {
- Gdk.Pixbuf pixbuf = new Gdk.Pixbuf (blob);
- image.Pixbuf = pixbuf;
- return;
- } catch {}
- }
-
- image.Pixbuf = ImageService.GetIcon ("gtk-missing-image", IconSize.Dialog).ToPixbuf ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs
deleted file mode 100644
index ddbc99475b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Components;
-using MonoDevelop.Ide.Gui;
-
-namespace MonoDevelop.Database.Components
-{
- public class TextVisualizerView : AbstractViewContent
- {
- private VBox vbox;
- private ScrolledWindow scrolledWindow;
- private TextView textView;
-
- public TextVisualizerView ()
- {
- vbox = new VBox (false, 6);
- vbox.BorderWidth = 6;
-
- TextTagTable tagTable = new TextTagTable ();
- TextBuffer buffer = new TextBuffer (tagTable);
- textView = new TextView (buffer);
-
- scrolledWindow = new ScrolledWindow ();
- scrolledWindow.AddWithViewport (textView);
-
- vbox.PackStart (scrolledWindow, true, true, 0);
-
- vbox.ShowAll ();
- }
-
- public override string UntitledName {
- get { return AddinCatalog.GetString ("Image"); }
- }
-
- public override void Dispose ()
- {
- Control.Destroy ();
- }
-
- public override void Load (string filename)
- {
- throw new NotSupportedException ();
- }
-
- public override Widget Control {
- get { return vbox; }
- }
-
- public void Load (object dataObject)
- {
- if (dataObject != null) {
- Type type = dataObject.GetType ();
- if (type == typeof (byte[]))
- textView.Buffer.Text = System.Text.Encoding.UTF8.GetString (dataObject as byte[]);
- else
- textView.Buffer.Text = dataObject.ToString ();
-
- return;
- }
-
- textView.Buffer.Text = String.Empty;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs
deleted file mode 100644
index 88d72ff890..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-
-namespace MonoDevelop.Database.Components
-{
- public class ImageVisualizer : IDataGridVisualizer
- {
- public string Name {
- get { return AddinCatalog.GetString ("Image"); }
- }
-
- public bool CanVisualize (object dataObject)
- {
- if (dataObject == null)
- return false;
-
- return dataObject.GetType () == typeof (byte[]);
- }
-
- public void Visualize (object dataObject)
- {
- ImageVisualizerView view = new ImageVisualizerView ();
- view.Load (dataObject);
- IdeApp.Workbench.OpenDocument (view, true);
- }
- }
-
- public class TextVisualizer : IDataGridVisualizer
- {
- public string Name {
- get { return AddinCatalog.GetString ("Text"); }
- }
-
- public bool CanVisualize (object dataObject)
- {
- if (dataObject == null)
- return false;
-
- Type type = dataObject.GetType ();
- return type == typeof (string) || type == typeof (byte[]) || type.IsPrimitive;
- }
-
- public void Visualize (object dataObject)
- {
- TextVisualizerView view = new TextVisualizerView ();
- view.Load (dataObject);
- IdeApp.Workbench.OpenDocument (view, true);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/IDataGridVisualizer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/IDataGridVisualizer.cs
deleted file mode 100644
index 22443ad389..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/IDataGridVisualizer.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- public interface IDataGridVisualizer
- {
- string Name { get; }
-
- bool CanVisualize (object dataObject);
-
- void Visualize (object dataObject);
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionContextComboBox.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionContextComboBox.cs
deleted file mode 100644
index 6f12ed6278..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionContextComboBox.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public class DatabaseConnectionContextComboBox : ComboBox
- {
- private ListStore store;
-
- public DatabaseConnectionContextComboBox ()
- {
- store = new ListStore (typeof (string), typeof (object));
- Model = store;
-
- CellRendererText textRenderer = new CellRendererText ();
- PackStart (textRenderer, true);
- AddAttribute (textRenderer, "text", 0);
-
- foreach (DatabaseConnectionContext context in ConnectionContextService.DatabaseConnections)
- store.AppendValues (context.ConnectionSettings.Name, context);
- TreeIter iter;
- if (store.GetIterFirst (out iter))
- SetActiveIter (iter);
-
- ConnectionContextService.ConnectionContextAdded += new DatabaseConnectionContextEventHandler (OnConnectionAdded);
- ConnectionContextService.ConnectionContextRemoved += new DatabaseConnectionContextEventHandler (OnConnectionRemoved);
- ConnectionContextService.ConnectionContextEdited += new DatabaseConnectionContextEventHandler (OnConnectionEdited);
- ConnectionContextService.ConnectionContextRefreshed += new DatabaseConnectionContextEventHandler (OnConnectionRefreshed);
- }
-
- public DatabaseConnectionContext DatabaseConnection {
- get {
- TreeIter iter;
- if (GetActiveIter (out iter))
- return store.GetValue (iter, 1) as DatabaseConnectionContext;
- return null;
- }
- set {
- if (value == null)
- throw new ArgumentNullException ("DatabaseConnection");
-
- TreeIter iter = GetTreeIter (value);
- if (!iter.Equals (TreeIter.Zero))
- SetActiveIter (iter);
- }
- }
-
- public void AddDatabaseConnectionContext (DatabaseConnectionContext context)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
-
- store.AppendValues (context.ConnectionSettings.Name, context);
- }
-
- private void OnConnectionAdded (object sender, DatabaseConnectionContextEventArgs args)
- {
- TreeIter newIter = store.AppendValues (args.ConnectionContext.ConnectionSettings.Name, args.ConnectionContext);
- TreeIter iter;
- if (!GetActiveIter (out iter))
- SetActiveIter (newIter);
- }
-
- private void OnConnectionRemoved (object sender, DatabaseConnectionContextEventArgs args)
- {
- TreeIter iter = GetTreeIter (args.ConnectionContext);
- TreeIter selected;
- if (GetActiveIter (out selected)) {
- if (iter.Equals (selected)) {
- store.Remove (ref iter);
- if (store.GetIterFirst (out iter))
- SetActiveIter (iter);
- }
- }
- store.Remove (ref iter);
- }
-
- private void OnConnectionEdited (object sender, DatabaseConnectionContextEventArgs args)
- {
- TreeIter iter = GetTreeIter (args.ConnectionContext);
- store.SetValue (iter, 0, args.ConnectionContext.ConnectionSettings.Name);
- }
-
- private void OnConnectionRefreshed (object sender, DatabaseConnectionContextEventArgs args)
- {
- TreeIter iter = GetTreeIter (args.ConnectionContext);
- store.SetValue (iter, 0, args.ConnectionContext.ConnectionSettings.Name);
- }
-
- private TreeIter GetTreeIter (DatabaseConnectionContext context)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- object obj = store.GetValue (iter, 1);
- if (obj == context)
- return iter;
- } while (store.IterNext (ref iter));
- }
- return TreeIter.Zero;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionEditorWidget.cs
deleted file mode 100644
index b1ec8ba40b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/DatabaseConnectionEditorWidget.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// DatabaseConnectionEditorWidget.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2010 Lucian0
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-using Gtk;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Sql;
-using System;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.ToolboxItem(true)]
- public partial class DatabaseConnectionEditorWidget : Gtk.Bin
- {
- public event EventHandler SelectedDatabaseChanged;
-
- public DatabaseConnectionEditorWidget ()
- {
- this.Build ();
- this.comboConnection.Active = -1;
- }
-
- public DatabaseConnectionContext DatabaseConnection {
- get {
- return comboConnection.DatabaseConnection;
- }
- }
-
- protected virtual void OnButtonEditClicked (object sender, System.EventArgs e)
- {
- DatabaseConnectionSettings settings = null;
- DatabaseConnectionContext ctx;
- if (comboConnection.DatabaseConnection != null) {
- ctx = comboConnection.DatabaseConnection;
- if (ctx.DbFactory.GuiProvider.ShowEditConnectionDialog (comboConnection.DatabaseConnection.DbFactory,
- comboConnection.DatabaseConnection.ConnectionSettings,
- out settings)) {
- DatabaseConnectionContext newContext = new DatabaseConnectionContext (settings);
- ConnectionContextService.RemoveDatabaseConnectionContext (ctx);
- ConnectionContextService.AddDatabaseConnectionContext (newContext);
- }
- }
- }
-
- protected virtual void OnButtonNewClicked (object sender, System.EventArgs e)
- {
- DatabaseAvailableProvidersDialog provs = new DatabaseAvailableProvidersDialog ();
- if (provs.Run () == (int)ResponseType.Ok) {
- if (provs.SelectedProvider != null)
- provs.SelectedProvider.GuiProvider.ShowAddConnectionDialog (provs.SelectedProvider);
- }
- provs.Destroy ();
-
- }
-
- protected virtual void OnComboConnectionChanged (object sender, System.EventArgs e)
- {
- if (SelectedDatabaseChanged != null)
- SelectedDatabaseChanged (this, new EventArgs ());
- }
-
-
- }
-}
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ProjectDirectoryComboBox.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ProjectDirectoryComboBox.cs
deleted file mode 100644
index 0a557f872a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ProjectDirectoryComboBox.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System.IO;
-using MonoDevelop.Ide;
-using MonoDevelop.Projects;
-using MonoDevelop.Components;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public class ProjectDirectoryComboBox : ComboBox
- {
- private TreeStore store;
-
- public ProjectDirectoryComboBox ()
- {
- store = new TreeStore (typeof (Xwt.Drawing.Image), typeof (string), typeof (Project), typeof (string));
-
- var pixbuf = new CellRendererImage ();
- CellRendererText text = new CellRendererText ();
-
- this.PackStart (pixbuf, false);
- this.PackStart (text, false);
- this.AddAttribute (pixbuf, "image", 0);
- this.AddAttribute (text, "markup", 1);
-
- this.Model = store;
-
- PopulateCombo ();
- }
-
- public string SelectedDirectory {
- get {
- TreeIter iter;
- if (this.GetActiveIter (out iter))
- return store.GetValue (iter, 3) as string;
- return null;
- }
- }
-
- public Project SelectedProject {
- get {
- TreeIter iter;
- if (this.GetActiveIter (out iter))
- return store.GetValue (iter, 2) as Project;
- return null;
- }
- }
-
- private void PopulateCombo ()
- {
- Solution cmb = IdeApp.ProjectOperations.CurrentSelectedSolution;
- if (cmb != null) {
- SolutionItem selected = IdeApp.ProjectOperations.CurrentSelectedSolutionItem;
- TreeIter activeIter = TreeIter.Zero;
-
- //TODO: add support for recursive combines
- foreach (Project entry in IdeApp.Workspace.GetAllProjects ()) {
- if (!(entry is DotNetProject))
- continue;
-
- DotNetProject proj = (DotNetProject)entry;
- Xwt.Drawing.Image pixbuf = null;
-
- if (proj is DotNetProject && (proj as DotNetProject).LanguageBinding == null) {
- pixbuf = ImageService.GetIcon (Gtk.Stock.DialogError, IconSize.Menu);
- } else {
- pixbuf = ImageService.GetIcon (proj.StockIcon, IconSize.Menu);
- }
-
- TreeIter iter = store.AppendValues (pixbuf, "<b>" + proj.Name + "</b>", proj, proj.BaseDirectory);
- PopulateCombo (iter, proj.BaseDirectory, proj);
-
- if (proj == selected)
- activeIter = iter;
- }
-
- if (activeIter.Equals (TreeIter.Zero)) {
- if (store.GetIterFirst (out activeIter))
- this.SetActiveIter (activeIter);
- } else {
- this.SetActiveIter (activeIter);
- }
- }
- }
-
- private void PopulateCombo (TreeIter parent, string parentDir, Project project)
- {
- foreach (string dir in Directory.GetDirectories (parentDir)) {
- string name = System.IO.Path.GetFileName (dir);
- DirectoryInfo info = new DirectoryInfo (dir);
-
-
- //TODO: use the ProjectFile information
- if (name == "gtk-gui" || name == "bin" || info.Attributes.ToString ().Contains ("Hidden"))
- continue;
-
- var pixbuf = ImageService.GetIcon (Gtk.Stock.Directory, IconSize.Menu);
- TreeIter iter = store.AppendValues (parent, pixbuf, name, project, dir);
-
- PopulateCombo (iter, dir, project);
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs
deleted file mode 100644
index 9dec7826e5..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public class SelectColumnWidget : ScrolledWindow
- {
- public event EventHandler ColumnToggled;
-
- protected TreeView list;
- protected SortedColumnListStore store;
-
- private ColumnSchemaCollection columns;
-
- public SelectColumnWidget ()
- : this (true)
- {
- }
-
- public SelectColumnWidget (bool showCheckBoxes)
- {
- list = new TreeView ();
- list.HeadersVisible = true;
-
- InitializeColumns (showCheckBoxes);
-
- this.Add (list);
- }
-
- public bool SingleCheck {
- get { return store.SingleCheck; }
- set {
- if (store == null)
- return; //when init isn't called yet
- store.SingleCheck = value;
- }
- }
-
- public virtual void Clear ()
- {
- if (store != null)
- store.Clear ();
- }
-
- protected virtual void InitializeColumns (bool showCheckBoxes)
- {
- TreeViewColumn col = new TreeViewColumn ();
- col.Title = AddinCatalog.GetString ("Column");
-
- if (showCheckBoxes) {
- CellRendererToggle toggleRenderer = new CellRendererToggle ();
- toggleRenderer.Activatable = true;
- toggleRenderer.Toggled += new ToggledHandler (ItemToggled);
- col.PackStart (toggleRenderer, false);
- col.AddAttribute (toggleRenderer, "active", SortedColumnListStore.ColSelectIndex);
- }
-
- CellRendererText textRenderer = new CellRendererText ();
- col.PackStart (textRenderer, true);
- col.AddAttribute (textRenderer, "text", SortedColumnListStore.ColNameIndex);
-
- list.AppendColumn (col);
- }
-
- public void Initialize (ColumnSchemaCollection columns)
- {
- this.columns = columns;
-
- store = new SortedColumnListStore (columns);
- store.ColumnToggled += delegate (object sender, EventArgs args) {
- if (ColumnToggled != null)
- ColumnToggled (this, args);
- };
- list.Model = store.Store;
- }
-
- public ColumnSchema SelectedColumn {
- get {
- TreeIter iter;
- if (list.Selection.GetSelected (out iter))
- return store.GetColumnSchema (iter);
- return null;
- }
- }
-
- public IEnumerable<ColumnSchema> CheckedColumns {
- get { return store.CheckedColumns; }
- }
-
- public bool IsColumnChecked {
- get { return store.IsColumnChecked; }
- }
-
- public void SelectAll ()
- {
- store.SelectAll ();
- }
-
- public void DeselectAll ()
- {
- store.DeselectAll ();
- }
-
- public void Select (string name)
- {
- store.Select (name);
- }
-
- public void Select (ColumnSchema column)
- {
- store.Select (column);
- }
-
- private void ItemToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.Store.GetIterFromString (out iter, args.Path))
- store.ToggleSelect (iter);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectSchemaWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectSchemaWidget.cs
deleted file mode 100644
index 649e41b374..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectSchemaWidget.cs
+++ /dev/null
@@ -1,185 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Components")]
- [System.ComponentModel.ToolboxItem(true)]
- public class SelectSchemaWidget : ScrolledWindow
- {
- private TreeView list;
- private ListStore store;
-
- private const int columnSelected = 0;
- private const int columnObj = 1;
-
- public SelectSchemaWidget ()
- {
- store = new ListStore (typeof (bool), typeof (ISchemaContainer));
- list = new TreeView (store);
-
- TreeViewColumn col = new TreeViewColumn ();
-
- CellRendererToggle toggleRenderer = new CellRendererToggle ();
- toggleRenderer.Activatable = true;
- toggleRenderer.Toggled += new ToggledHandler (ItemToggled);
- col.PackStart (toggleRenderer, false);
-
- var pixbufRenderer = new CellRendererImage ();
- col.PackStart (pixbufRenderer, false);
-
- CellRendererText textRenderer = new CellRendererText ();
- col.PackStart (textRenderer, true);
-
- col.SetCellDataFunc (textRenderer, new CellLayoutDataFunc (TextDataFunc));
- col.SetCellDataFunc (pixbufRenderer, new CellLayoutDataFunc (PixbufDataFunc));
-
- list.AppendColumn (col);
- list.HeadersVisible = false;
-
- this.Add (list);
- }
-
- public void Append (IEnumerable<TableSchema> tables)
- {
- if (tables == null)
- throw new ArgumentNullException ("tables");
-
- List<ISchemaContainer> containers = new List<ISchemaContainer> ();
- foreach (TableSchema table in tables)
- containers.Add (new TableSchemaContainer (table));
- PopulateList (containers);
- }
-
- public void Append (IEnumerable<ViewSchema> views)
- {
- if (views == null)
- throw new ArgumentNullException ("views");
-
- List<ISchemaContainer> containers = new List<ISchemaContainer> ();
- foreach (ViewSchema view in views)
- containers.Add (new ViewSchemaContainer (view));
- PopulateList (containers);
- }
-
- public void Append (IEnumerable<ProcedureSchema> procedures)
- {
- if (procedures == null)
- throw new ArgumentNullException ("procedures");
-
- List<ISchemaContainer> containers = new List<ISchemaContainer> ();
- foreach (ProcedureSchema procedure in procedures)
- containers.Add (new ProcedureSchemaContainer (procedure));
- PopulateList (containers);
- }
-
- public IEnumerable<ISchemaContainer> CheckedSchemas {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, columnSelected);
- if (chk)
- yield return store.GetValue (iter, columnObj) as ISchemaContainer;
- } while (store.IterNext (ref iter));
- }
- }
- }
-
- public void SelectAll ()
- {
- SetSelectState (true);
- }
-
- public void DeselectAll ()
- {
- SetSelectState (false);
- }
-
- private void SetSelectState (bool state)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- store.SetValue (iter, columnSelected, state);
- } while (store.IterNext (ref iter));
- }
- }
-
- private void PopulateList (IEnumerable<ISchemaContainer> containers)
- {
- foreach (ISchemaContainer container in containers)
- store.AppendValues (true, container);
- }
-
- private void TextDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- ISchemaContainer schema = model.GetValue (iter, columnObj) as ISchemaContainer;
- textRenderer.Text = schema.Schema.Name;
- }
-
- private void PixbufDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- var pixbufRenderer = (CellRendererImage) cell;
- var schema = (ISchemaContainer) model.GetValue (iter, columnObj);
-
- string iconString = null;
- switch (schema.SchemaContainerType) {
- case SchemaContainerType.Table:
- iconString = "md-db-table";
- break;
- case SchemaContainerType.View:
- iconString = "md-db-view";
- break;
- case SchemaContainerType.Procedure:
- iconString = "md-db-procedure";
- break;
- case SchemaContainerType.Query:
- //TODO: iconString = Stock.Execute;
- break;
- }
-
- if (iconString != null)
- pixbufRenderer.Image = ImageService.GetIcon (iconString, IconSize.Menu);
- }
-
- private void ItemToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) store.GetValue (iter, columnSelected);
- store.SetValue (iter, columnSelected, !val);
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs
deleted file mode 100644
index d676c71d63..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs
+++ /dev/null
@@ -1,145 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Components")]
- [System.ComponentModel.ToolboxItem(true)]
- public class SelectTableWidget : ScrolledWindow
- {
- public event EventHandler TableToggled;
-
- protected TreeView list;
- protected SortedTableListStore store;
-
- private TableSchemaCollection tables;
-
- public SelectTableWidget ()
- : this (true)
- {
- }
-
- public SelectTableWidget (bool showCheckBoxes)
- {
- list = new TreeView ();
- list.HeadersVisible = true;
-
- InitializeTables (showCheckBoxes);
-
- this.Add (list);
- }
-
- public bool SingleCheck {
- get { return store.SingleCheck; }
- set {
- if (store == null)
- return; //when init isn't called yet
- store.SingleCheck = value;
- }
- }
-
- protected virtual void InitializeTables (bool showCheckBoxes)
- {
- TreeViewColumn col = new TreeViewColumn ();
- col.Title = AddinCatalog.GetString ("Table");
-
- if (showCheckBoxes) {
- CellRendererToggle toggleRenderer = new CellRendererToggle ();
- toggleRenderer.Activatable = true;
- toggleRenderer.Toggled += new ToggledHandler (ItemToggled);
- col.PackStart (toggleRenderer, false);
- col.AddAttribute (toggleRenderer, "active", SortedTableListStore.ColSelectIndex);
- }
-
- CellRendererText textRenderer = new CellRendererText ();
- col.PackStart (textRenderer, true);
- col.AddAttribute (textRenderer, "text", SortedTableListStore.ColNameIndex);
-
- list.AppendColumn (col);
- }
-
- public void Initialize (TableSchemaCollection tables)
- {
- this.tables = tables;
-
- store = new SortedTableListStore (tables);
- store.TableToggled += delegate (object sender, EventArgs args) {
- if (TableToggled != null)
- TableToggled (this, args);
- };
- list.Model = store.Store;
- }
-
- public TableSchema SelectedTable {
- get {
- TreeIter iter;
- if (list.Selection.GetSelected (out iter))
- return store.GetTableSchema (iter);
- return null;
- }
- }
-
- public IEnumerable<TableSchema> CheckedTables {
- get { return store.CheckedTables; }
- }
-
- public bool IsTableChecked {
- get { return store.IsTableChecked; }
- }
-
- public void SelectAll ()
- {
- store.SelectAll ();
- }
-
- public void DeselectAll ()
- {
- store.DeselectAll ();
- }
-
- public void Select (string name)
- {
- store.Select (name);
- }
-
- public void Select (TableSchema table)
- {
- store.Select (table);
- }
-
- private void ItemToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.Store.GetIterFromString (out iter, args.Path))
- store.ToggleSelect (iter);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedColumnListStore.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedColumnListStore.cs
deleted file mode 100644
index 618a3c6b0b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedColumnListStore.cs
+++ /dev/null
@@ -1,238 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public class SortedColumnListStore
- {
- public event EventHandler ColumnToggled;
-
- protected ColumnSchemaCollection columns;
- protected ListStore store;
-
- public const int ColSelectIndex = 0;
- public const int ColNameIndex = 1;
- public const int ColObjIndex = 2;
-
- protected bool singleCheck;
-
- public SortedColumnListStore (ColumnSchemaCollection columns)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
-
- this.columns = columns;
-
- store = new ListStore (typeof (bool), typeof (string), typeof (ColumnSchema));
- store.SetSortColumnId (ColNameIndex, SortType.Ascending);
- store.SetSortFunc (ColNameIndex, new TreeIterCompareFunc (SortName));
-
- foreach (ColumnSchema col in columns)
- AddColumn (col);
-
- columns.ItemAdded += new SortedCollectionItemEventHandler<ColumnSchema> (OnColumnAdded);
- columns.ItemRemoved += new SortedCollectionItemEventHandler<ColumnSchema> (OnColumnRemoved);
- }
-
- public ListStore Store {
- get { return store; }
- }
-
- public virtual void Clear ()
- {
- if (store != null)
- store.Clear ();
- }
-
- public virtual bool SingleCheck {
- get { return singleCheck; }
- set {
- if (value != singleCheck) {
- singleCheck = value;
- if (value)
- DeselectAll ();
- }
- }
- }
-
- public virtual ColumnSchema GetColumnSchema (TreeIter iter)
- {
- if (!iter.Equals (TreeIter.Zero))
- return store.GetValue (iter, ColObjIndex) as ColumnSchema;
- return null;
- }
-
- public virtual IEnumerable<ColumnSchema> CheckedColumns {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, ColSelectIndex);
- if (chk)
- yield return store.GetValue (iter, ColObjIndex) as ColumnSchema;
- } while (store.IterNext (ref iter));
- }
- }
- }
-
- public virtual bool IsColumnChecked {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, ColSelectIndex);
- if (chk)
- return true;
- } while (store.IterNext (ref iter));
- }
- return false;
- }
- }
-
- public virtual void SelectAll ()
- {
- SetSelectState (true);
- }
-
- public virtual void DeselectAll ()
- {
- SetSelectState (false);
- }
-
- public virtual void Select (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- ColumnSchema col = columns.Search (name);
-
- // FIXME: This is a workaround, last item on the list isn't find by columns.Search.
- // SortedCollectionBase.BinarySearchIndex Isn't working.
- if (col == null)
- if (columns[columns.Count -1].Name.IndexOf (name, StringComparison.OrdinalIgnoreCase) > -1)
- Select (columns[columns.Count -1]);
-
- if (col != null)
- Select (col);
- }
-
- public virtual void Select (ColumnSchema column)
- {
- if (column == null)
- throw new ArgumentNullException ("column");
-
- TreeIter iter = GetTreeIter (column);
- if (!iter.Equals (TreeIter.Zero)) {
- if (singleCheck)
- SetSelectState (false);
-
- store.SetValue (iter, ColSelectIndex, true);
- OnColumnToggled ();
- }
- }
-
- public virtual void ToggleSelect (TreeIter iter)
- {
- bool val = (bool) store.GetValue (iter, ColSelectIndex);
- bool newVal = !val;
-
- if (newVal && singleCheck)
- SetSelectState (false);
-
- store.SetValue (iter, ColSelectIndex, !val);
- OnColumnToggled ();
- }
-
- protected virtual void SetSelectState (bool state)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- store.SetValue (iter, ColSelectIndex, state);
- } while (store.IterNext (ref iter));
- }
- }
-
- protected virtual TreeIter GetTreeIter (ColumnSchema column)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- object obj = store.GetValue (iter, ColObjIndex);
-
- if (obj == column)
- return iter;
- } while (store.IterNext (ref iter));
- }
- return TreeIter.Zero;
- }
-
- protected virtual void OnColumnAdded (object sender, SortedCollectionItemEventArgs<ColumnSchema> args)
- {
- AddColumn (args.Item);
- }
-
- protected virtual void AddColumn (ColumnSchema column)
- {
- store.AppendValues (false, column.Name, column);
-
- column.Changed += delegate (object sender, EventArgs args) {
- TreeIter iter = GetTreeIter (sender as ColumnSchema);
- if (!iter.Equals (TreeIter.Zero))
- store.SetValue (iter, ColNameIndex, column.Name);
- };
- }
-
- protected virtual void OnColumnRemoved (object sender, SortedCollectionItemEventArgs<ColumnSchema> args)
- {
- TreeIter iter = GetTreeIter (args.Item);
- if (!iter.Equals (TreeIter.Zero))
- store.Remove (ref iter);
- }
-
- protected virtual int SortName (TreeModel model, TreeIter iter1, TreeIter iter2)
- {
- string name1 = model.GetValue (iter1, ColNameIndex) as string;
- string name2 = model.GetValue (iter2, ColNameIndex) as string;
-
- if (name1 == null && name2 == null) return 0;
- else if (name1 == null) return -1;
- else if (name2 == null) return 1;
-
- return name1.CompareTo (name2);
- }
-
- protected virtual void OnColumnToggled ()
- {
- if (ColumnToggled != null)
- ColumnToggled (this, EventArgs.Empty);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedTableListStore.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedTableListStore.cs
deleted file mode 100644
index c75f800a2e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SortedTableListStore.cs
+++ /dev/null
@@ -1,227 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Components
-{
- public class SortedTableListStore
- {
- public event EventHandler TableToggled;
-
- protected TableSchemaCollection tables;
- protected ListStore store;
-
- public const int ColSelectIndex = 0;
- public const int ColNameIndex = 1;
- public const int ColObjIndex = 2;
-
- protected bool singleCheck;
-
- public SortedTableListStore (TableSchemaCollection tables)
- {
- if (tables == null)
- throw new ArgumentNullException ("tables");
-
- this.tables = tables;
-
- store = new ListStore (typeof (bool), typeof (string), typeof (TableSchema));
- store.SetSortColumnId (ColNameIndex, SortType.Ascending);
- store.SetSortFunc (ColNameIndex, new TreeIterCompareFunc (SortName));
-
- foreach (TableSchema table in tables)
- AddTable (table);
-
- tables.ItemAdded += new SortedCollectionItemEventHandler<TableSchema> (OnTableAdded);
- tables.ItemRemoved += new SortedCollectionItemEventHandler<TableSchema> (OnTableRemoved);
- }
-
- public ListStore Store {
- get { return store; }
- }
-
- public virtual bool SingleCheck {
- get { return singleCheck; }
- set {
- if (value != singleCheck) {
- singleCheck = value;
- if (value)
- DeselectAll ();
- }
- }
- }
-
- public virtual TableSchema GetTableSchema (TreeIter iter)
- {
- if (!iter.Equals (TreeIter.Zero))
- return store.GetValue (iter, ColObjIndex) as TableSchema;
- return null;
- }
-
- public virtual IEnumerable<TableSchema> CheckedTables {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, ColSelectIndex);
- if (chk)
- yield return store.GetValue (iter, ColObjIndex) as TableSchema;
- } while (store.IterNext (ref iter));
- }
- }
- }
-
- public virtual bool IsTableChecked {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, ColSelectIndex);
- if (chk)
- return true;
- } while (store.IterNext (ref iter));
- }
- return false;
- }
- }
-
- public virtual void SelectAll ()
- {
- SetSelectState (true);
- OnTableToggled ();
- }
-
- public virtual void DeselectAll ()
- {
- SetSelectState (false);
- OnTableToggled ();
- }
-
- public virtual void Select (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- TableSchema table = tables.Search (name);
- if (table != null)
- Select (table);
- }
-
- public virtual void Select (TableSchema table)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
-
- TreeIter iter = GetTreeIter (table);
- if (!iter.Equals (TreeIter.Zero)) {
- if (singleCheck)
- SetSelectState (false);
-
- store.SetValue (iter, ColSelectIndex, true);
- OnTableToggled ();
- }
- }
-
- public virtual void ToggleSelect (TreeIter iter)
- {
- bool val = (bool) store.GetValue (iter, ColSelectIndex);
- bool newVal = !val;
-
- if (newVal && singleCheck)
- SetSelectState (false);
-
- store.SetValue (iter, ColSelectIndex, !val);
- OnTableToggled ();
- }
-
- protected virtual void SetSelectState (bool state)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- store.SetValue (iter, ColSelectIndex, state);
- } while (store.IterNext (ref iter));
- }
- }
-
- protected virtual TreeIter GetTreeIter (TableSchema table)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- object obj = store.GetValue (iter, ColObjIndex);
-
- if (obj == table)
- return iter;
- } while (store.IterNext (ref iter));
- }
- return TreeIter.Zero;
- }
-
- protected virtual void OnTableAdded (object sender, SortedCollectionItemEventArgs<TableSchema> args)
- {
- AddTable (args.Item);
- }
-
- protected virtual void AddTable (TableSchema table)
- {
- store.AppendValues (false, table.Name, table);
-
- table.Changed += delegate (object sender, EventArgs args) {
- TreeIter iter = GetTreeIter (sender as TableSchema);
- if (!iter.Equals (TreeIter.Zero))
- store.SetValue (iter, ColNameIndex, table.Name);
- };
- }
-
- protected virtual void OnTableRemoved (object sender, SortedCollectionItemEventArgs<TableSchema> args)
- {
- TreeIter iter = GetTreeIter (args.Item);
- if (!iter.Equals (TreeIter.Zero))
- store.Remove (ref iter);
- }
-
- protected virtual int SortName (TreeModel model, TreeIter iter1, TreeIter iter2)
- {
- string name1 = model.GetValue (iter1, ColNameIndex) as string;
- string name2 = model.GetValue (iter2, ColNameIndex) as string;
-
- if (name1 == null && name2 == null) return 0;
- else if (name1 == null) return -1;
- else if (name2 == null) return 1;
-
- return name1.CompareTo (name2);
- }
-
- protected virtual void OnTableToggled ()
- {
- if (TableToggled != null)
- TableToggled (this, EventArgs.Empty);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs
deleted file mode 100644
index 58f3f41b8f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs
+++ /dev/null
@@ -1,174 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using Mono.TextEditor;
-using System;
-using System.IO;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.SourceEditor;
-
-namespace MonoDevelop.Database.Components
-{
- //TODO: use the abstracted MD source editor widget
- //TODO: remove gtksourceview-sharp as dependency + from configure.in
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class SqlEditorWidget : Bin
- {
- public event EventHandler TextChanged;
- private Mono.TextEditor.TextEditor sourceView;
-
- public SqlEditorWidget()
- {
- this.Build();
-
- sourceView = new Mono.TextEditor.TextEditor ();
- // The SourceEditor Addin should be initialized before opening any Project.
- // Database Addin works with or without project opened.
- MonoDevelop.SourceEditor.Extension.TemplateExtensionNodeLoader.Init ();
- sourceView.Document.MimeType = "text/x-sql";
-
- // TODO: Set styling ?
- // sourceView.Options = new MonoDevelop.SourceEditor.StyledSourceEditorOptions (null);
- // sourceView.ShowLineNumbers = true;
-
- sourceView.Document.TextReplaced += BufferChanged;
- sourceView.DoPopupMenu = delegate (Gdk.EventButton e) {
- IdeApp.CommandService.ShowContextMenu (sourceView, e, "/MonoDevelop/Database/ContextMenu/SqlEditor");
- };
-
- scrolledwindow.Add (sourceView);
- ShowAll ();
- }
-
- public string SelectedText {
- get {
- if (sourceView.IsSomethingSelected)
- return sourceView.SelectedText;
- else
- return string.Empty;
- }
- }
-
- private void BufferChanged (object sender, DocumentChangeEventArgs args)
- {
- if (TextChanged != null)
- TextChanged (this, EventArgs.Empty);
- }
-
- public string Text {
- get { return sourceView.Document.Text; }
- set {
- if (value == null)
- sourceView.Document.Text = String.Empty;
- else
- sourceView.Document.Text = value;
- }
- }
-
- public bool Editable {
- get { return !sourceView.Document.ReadOnly; }
- set { sourceView.Document.ReadOnly = !value; }
- }
-
- [CommandHandler (SqlEditorCommands.ImportFromFile)]
- protected void OnImportFromFile ()
- {
- FileChooserDialog dlg = new FileChooserDialog (
- AddinCatalog.GetString ("Import From File"), null, FileChooserAction.Open,
- "gtk-cancel", ResponseType.Cancel,
- "gtk-open", ResponseType.Accept
- );
- dlg.SelectMultiple = false;
- dlg.LocalOnly = true;
- dlg.Modal = true;
-
- FileFilter filter = new FileFilter ();
- filter.AddPattern ("*.[sS][qQ][lL]");
- filter.Name = AddinCatalog.GetString ("SQL files");
- FileFilter filterAll = new FileFilter ();
- filterAll.AddPattern ("*");
- filterAll.Name = AddinCatalog.GetString ("All files");
- dlg.AddFilter (filter);
- dlg.AddFilter (filterAll);
-
- if (dlg.Run () == (int)ResponseType.Accept) {
- using (FileStream stream = File.Open (dlg.Filename, FileMode.Open)) {
- using (StreamReader reader = new StreamReader (stream)) {
- Text = reader.ReadToEnd ();
- }
- }
- }
- dlg.Destroy ();
- }
-
- [CommandHandler (SqlEditorCommands.ExportToFile)]
- protected void OnExportToFile ()
- {
- FileChooserDialog dlg = new FileChooserDialog (
- AddinCatalog.GetString ("Export To File"), null, FileChooserAction.Save,
- "gtk-cancel", ResponseType.Cancel,
- "gtk-save", ResponseType.Accept
- );
-
- dlg.SelectMultiple = false;
- dlg.LocalOnly = true;
- dlg.Modal = true;
-
- FileFilter filter = new FileFilter ();
- filter.AddPattern ("*.[sS][qQ][lL]");
- filter.Name = AddinCatalog.GetString ("SQL files");
- dlg.AddFilter (filter);
-
- if (dlg.Run () == (int)ResponseType.Accept) {
- if (File.Exists (dlg.Filename)) {
- bool overwrite = MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to overwrite the file '{0}'?", dlg.Filename), AlertButton.OverwriteFile);
- if (overwrite) {
- using (FileStream stream = File.Open (dlg.Filename, FileMode.Create)) {
- using (StreamWriter writer = new StreamWriter (stream)) {
- writer.Write (Text);
- writer.Flush ();
- }
- }
- }
- }
- }
- dlg.Destroy ();
- }
-
- [CommandUpdateHandler (SqlEditorCommands.ExportToFile)]
- protected void OnUpdateExportToFile (CommandInfo info)
- {
- info.Enabled = Text.Length > 0;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs
deleted file mode 100644
index 71e08a749e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Components
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Components")]
- [System.ComponentModel.ToolboxItem(true)]
- public class TableMappingWidget : ScrolledWindow
- {
- private TreeView list;
- private ListStore store;
-
- private const int tableSelected = 0;
- private const int tableObj = 1;
-
- public TableMappingWidget ()
- : this (true)
- {
- }
-
- public TableMappingWidget (bool showCheckBoxes)
- {
- store = new ListStore (typeof (bool), typeof (TableContainer));
- list = new TreeView (store);
-
- TreeViewColumn colName = new TreeViewColumn ();
- colName.Title = AddinCatalog.GetString ("Name");
-
- CellRendererToggle toggleRenderer = new CellRendererToggle ();
- toggleRenderer.Activatable = true;
- toggleRenderer.Toggled += new ToggledHandler (SelectToggled);
- colName.PackStart (toggleRenderer, false);
- CellRendererText nameRenderer = new CellRendererText ();
- colName.PackStart (nameRenderer, true);
-
- TreeViewColumn colClassName = new TreeViewColumn ();
- colClassName.Title = AddinCatalog.GetString ("Class Name");
- CellRendererText propNameRenderer = new CellRendererText ();
- propNameRenderer.Editable = true;
- propNameRenderer.Edited += new EditedHandler (ClassNameEdited);
- colClassName.PackStart (propNameRenderer, true);
-
- colName.SetCellDataFunc (nameRenderer, new CellLayoutDataFunc (NameDataFunc));
- colClassName.SetCellDataFunc (propNameRenderer, new CellLayoutDataFunc (ClassNameDataFunc));
-
- list.AppendColumn (colName);
- list.AppendColumn (colClassName);
- list.HeadersVisible = true;
-
- this.Add (list);
- }
-
- public void Append (IEnumerable<TableContainer> tables)
- {
- foreach (TableContainer table in tables)
- store.AppendValues (true, table);
- }
-
- public IEnumerable<TableContainer> CheckedTables {
- get {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- bool chk = (bool)store.GetValue (iter, tableSelected);
- if (chk)
- yield return store.GetValue (iter, tableObj) as TableContainer;
- } while (store.IterNext (ref iter));
- }
- }
- }
-
- public void SelectAll ()
- {
- SetSelectState (true);
- }
-
- public void DeselectAll ()
- {
- SetSelectState (false);
- }
-
- private void SetSelectState (bool state)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- store.SetValue (iter, tableSelected, state);
- } while (store.IterNext (ref iter));
- }
- }
-
- private void NameDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- TableContainer container = model.GetValue (iter, tableObj) as TableContainer;
- textRenderer.Text = container.TableSchema.Name;
- }
-
- private void ClassNameDataFunc (CellLayout layout, CellRenderer cell, TreeModel model, TreeIter iter)
- {
- CellRendererText textRenderer = cell as CellRendererText;
- TableContainer container = model.GetValue (iter, tableObj) as TableContainer;
- textRenderer.Text = container.ClassName;
- }
-
- private void SelectToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) store.GetValue (iter, tableSelected);
- store.SetValue (iter, tableSelected, !val);
- }
- }
-
- private void ClassNameEdited (object sender, EditedArgs args)
- {
- Gtk.TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- TableContainer container = store.GetValue (iter, tableObj) as TableContainer;
-
- if (args.NewText != null && args.NewText.Length > 0) {
- //TODO: check if valid class name
- container.ClassName = args.NewText;
- } else {
- //restore old name if new one is empty
- (sender as CellRendererText).Text = container.ClassName;
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs
deleted file mode 100644
index 1fa557e8ad..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs
+++ /dev/null
@@ -1,501 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class ConnectionSettingsWidget
- {
- private global::Gtk.Table table;
-
- private global::Gtk.Button buttonTest;
-
- private global::Gtk.CheckButton checkIntegratedSecurity;
-
- private global::Gtk.Entry entryName;
-
- private global::Gtk.Entry entryServer;
-
- private global::Gtk.Entry entryUsername;
-
- private global::Gtk.Expander expander;
-
- private global::Gtk.Table tableAdvanced;
-
- private global::Gtk.CheckButton checkCustom;
-
- private global::Gtk.Label label10;
-
- private global::Gtk.Label label11;
-
- private global::Gtk.ScrolledWindow scrolledwindow;
-
- private global::Gtk.TextView textConnectionString;
-
- private global::Gtk.SpinButton spinMaxPoolSize;
-
- private global::Gtk.SpinButton spinMinPoolSize;
-
- private global::Gtk.Label GtkLabel5;
-
- private global::Gtk.HBox hbox2;
-
- private global::Gtk.SpinButton spinPort;
-
- private global::Gtk.CheckButton checkDefaultPort;
-
- private global::Gtk.HBox hboxDatabase;
-
- private global::Gtk.ComboBoxEntry comboDatabase;
-
- private global::Gtk.Button buttonRefresh;
-
- private global::Gtk.Button buttonOpen;
-
- private global::Gtk.HBox hboxPassword;
-
- private global::Gtk.Entry entryPassword;
-
- private global::Gtk.CheckButton checkSavePassword;
-
- private global::Gtk.Label labelDatabase;
-
- private global::Gtk.Label labelName;
-
- private global::Gtk.Label labelPassword;
-
- private global::Gtk.Label labelPort;
-
- private global::Gtk.Label labelServer;
-
- private global::Gtk.Label labelTest;
-
- private global::Gtk.Label labelUsername;
-
- private global::Gtk.VBox VBoxMain;
-
- private global::Gtk.Label labelMessage;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.ConnectionSettingsWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Components.ConnectionSettingsWidget";
- // Container child MonoDevelop.Database.Components.ConnectionSettingsWidget.Gtk.Container+ContainerChild
- this.table = new global::Gtk.Table (((uint)(10)), ((uint)(2)), false);
- this.table.Name = "table";
- this.table.RowSpacing = ((uint)(6));
- this.table.ColumnSpacing = ((uint)(6));
- this.table.BorderWidth = ((uint)(6));
- // Container child table.Gtk.Table+TableChild
- this.buttonTest = new global::Gtk.Button ();
- this.buttonTest.CanFocus = true;
- this.buttonTest.Name = "buttonTest";
- this.buttonTest.UseUnderline = true;
- // Container child buttonTest.Gtk.Container+ContainerChild
- global::Gtk.Alignment w1 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w2 = new global::Gtk.HBox ();
- w2.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w3 = new global::Gtk.Image ();
- w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu);
- w2.Add (w3);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w5 = new global::Gtk.Label ();
- w5.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Test");
- w5.UseUnderline = true;
- w2.Add (w5);
- w1.Add (w2);
- this.buttonTest.Add (w1);
- this.table.Add (this.buttonTest);
- global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table[this.buttonTest]));
- w9.TopAttach = ((uint)(8));
- w9.BottomAttach = ((uint)(9));
- w9.XOptions = ((global::Gtk.AttachOptions)(4));
- w9.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.checkIntegratedSecurity = new global::Gtk.CheckButton ();
- this.checkIntegratedSecurity.CanFocus = true;
- this.checkIntegratedSecurity.Name = "checkIntegratedSecurity";
- this.checkIntegratedSecurity.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Use Integrated security");
- this.checkIntegratedSecurity.Active = true;
- this.checkIntegratedSecurity.DrawIndicator = true;
- this.checkIntegratedSecurity.UseUnderline = true;
- this.table.Add (this.checkIntegratedSecurity);
- global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table[this.checkIntegratedSecurity]));
- w10.TopAttach = ((uint)(5));
- w10.BottomAttach = ((uint)(6));
- w10.LeftAttach = ((uint)(1));
- w10.RightAttach = ((uint)(2));
- w10.XOptions = ((global::Gtk.AttachOptions)(4));
- w10.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.entryName = new global::Gtk.Entry ();
- this.entryName.CanDefault = true;
- this.entryName.CanFocus = true;
- this.entryName.Name = "entryName";
- this.entryName.IsEditable = true;
- this.entryName.ActivatesDefault = true;
- this.entryName.InvisibleChar = '●';
- this.table.Add (this.entryName);
- global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table[this.entryName]));
- w11.LeftAttach = ((uint)(1));
- w11.RightAttach = ((uint)(2));
- w11.XOptions = ((global::Gtk.AttachOptions)(4));
- w11.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.entryServer = new global::Gtk.Entry ();
- this.entryServer.CanFocus = true;
- this.entryServer.Name = "entryServer";
- this.entryServer.IsEditable = true;
- this.entryServer.InvisibleChar = '●';
- this.table.Add (this.entryServer);
- global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table[this.entryServer]));
- w12.TopAttach = ((uint)(1));
- w12.BottomAttach = ((uint)(2));
- w12.LeftAttach = ((uint)(1));
- w12.RightAttach = ((uint)(2));
- w12.XOptions = ((global::Gtk.AttachOptions)(4));
- w12.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.entryUsername = new global::Gtk.Entry ();
- this.entryUsername.CanFocus = true;
- this.entryUsername.Name = "entryUsername";
- this.entryUsername.IsEditable = true;
- this.entryUsername.InvisibleChar = '●';
- this.table.Add (this.entryUsername);
- global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table[this.entryUsername]));
- w13.TopAttach = ((uint)(3));
- w13.BottomAttach = ((uint)(4));
- w13.LeftAttach = ((uint)(1));
- w13.RightAttach = ((uint)(2));
- w13.XOptions = ((global::Gtk.AttachOptions)(4));
- w13.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.expander = new global::Gtk.Expander (null);
- this.expander.CanFocus = true;
- this.expander.Name = "expander";
- // Container child expander.Gtk.Container+ContainerChild
- this.tableAdvanced = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
- this.tableAdvanced.Name = "tableAdvanced";
- this.tableAdvanced.RowSpacing = ((uint)(6));
- this.tableAdvanced.ColumnSpacing = ((uint)(6));
- this.tableAdvanced.BorderWidth = ((uint)(6));
- // Container child tableAdvanced.Gtk.Table+TableChild
- this.checkCustom = new global::Gtk.CheckButton ();
- this.checkCustom.CanFocus = true;
- this.checkCustom.Name = "checkCustom";
- this.checkCustom.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Use custom connection string");
- this.checkCustom.DrawIndicator = true;
- this.checkCustom.UseUnderline = true;
- this.tableAdvanced.Add (this.checkCustom);
- global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.checkCustom]));
- w14.TopAttach = ((uint)(2));
- w14.BottomAttach = ((uint)(3));
- w14.RightAttach = ((uint)(2));
- w14.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableAdvanced.Gtk.Table+TableChild
- this.label10 = new global::Gtk.Label ();
- this.label10.Name = "label10";
- this.label10.Xalign = 0f;
- this.label10.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Min Pool Size:");
- this.tableAdvanced.Add (this.label10);
- global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.label10]));
- w15.XOptions = ((global::Gtk.AttachOptions)(4));
- w15.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableAdvanced.Gtk.Table+TableChild
- this.label11 = new global::Gtk.Label ();
- this.label11.Name = "label11";
- this.label11.Xalign = 0f;
- this.label11.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Max Pool Size:");
- this.tableAdvanced.Add (this.label11);
- global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.label11]));
- w16.TopAttach = ((uint)(1));
- w16.BottomAttach = ((uint)(2));
- w16.XOptions = ((global::Gtk.AttachOptions)(4));
- w16.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableAdvanced.Gtk.Table+TableChild
- this.scrolledwindow = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow.Sensitive = false;
- this.scrolledwindow.CanFocus = true;
- this.scrolledwindow.Name = "scrolledwindow";
- this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow.Gtk.Container+ContainerChild
- this.textConnectionString = new global::Gtk.TextView ();
- this.textConnectionString.CanFocus = true;
- this.textConnectionString.Name = "textConnectionString";
- this.scrolledwindow.Add (this.textConnectionString);
- this.tableAdvanced.Add (this.scrolledwindow);
- global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.scrolledwindow]));
- w18.TopAttach = ((uint)(3));
- w18.BottomAttach = ((uint)(4));
- w18.RightAttach = ((uint)(2));
- w18.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableAdvanced.Gtk.Table+TableChild
- this.spinMaxPoolSize = new global::Gtk.SpinButton (1, 100, 1);
- this.spinMaxPoolSize.CanFocus = true;
- this.spinMaxPoolSize.Name = "spinMaxPoolSize";
- this.spinMaxPoolSize.Adjustment.PageIncrement = 10;
- this.spinMaxPoolSize.ClimbRate = 1;
- this.spinMaxPoolSize.Numeric = true;
- this.spinMaxPoolSize.Value = 5;
- this.tableAdvanced.Add (this.spinMaxPoolSize);
- global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.spinMaxPoolSize]));
- w19.TopAttach = ((uint)(1));
- w19.BottomAttach = ((uint)(2));
- w19.LeftAttach = ((uint)(1));
- w19.RightAttach = ((uint)(2));
- w19.XOptions = ((global::Gtk.AttachOptions)(4));
- w19.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child tableAdvanced.Gtk.Table+TableChild
- this.spinMinPoolSize = new global::Gtk.SpinButton (1, 100, 1);
- this.spinMinPoolSize.CanFocus = true;
- this.spinMinPoolSize.Name = "spinMinPoolSize";
- this.spinMinPoolSize.Adjustment.PageIncrement = 10;
- this.spinMinPoolSize.ClimbRate = 1;
- this.spinMinPoolSize.Numeric = true;
- this.spinMinPoolSize.Value = 1;
- this.tableAdvanced.Add (this.spinMinPoolSize);
- global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.spinMinPoolSize]));
- w20.LeftAttach = ((uint)(1));
- w20.RightAttach = ((uint)(2));
- w20.XOptions = ((global::Gtk.AttachOptions)(4));
- w20.YOptions = ((global::Gtk.AttachOptions)(4));
- this.expander.Add (this.tableAdvanced);
- this.GtkLabel5 = new global::Gtk.Label ();
- this.GtkLabel5.Name = "GtkLabel5";
- this.GtkLabel5.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Advanced");
- this.GtkLabel5.UseUnderline = true;
- this.expander.LabelWidget = this.GtkLabel5;
- this.table.Add (this.expander);
- global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table[this.expander]));
- w22.TopAttach = ((uint)(7));
- w22.BottomAttach = ((uint)(8));
- w22.RightAttach = ((uint)(2));
- w22.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.hbox2 = new global::Gtk.HBox ();
- this.hbox2.Name = "hbox2";
- this.hbox2.Spacing = 6;
- // Container child hbox2.Gtk.Box+BoxChild
- this.spinPort = new global::Gtk.SpinButton (1, 65535, 1);
- this.spinPort.CanFocus = true;
- this.spinPort.Name = "spinPort";
- this.spinPort.Adjustment.PageIncrement = 10;
- this.spinPort.ClimbRate = 1;
- this.spinPort.Numeric = true;
- this.spinPort.Value = 1;
- this.hbox2.Add (this.spinPort);
- global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.spinPort]));
- w23.Position = 0;
- // Container child hbox2.Gtk.Box+BoxChild
- this.checkDefaultPort = new global::Gtk.CheckButton ();
- this.checkDefaultPort.CanFocus = true;
- this.checkDefaultPort.Name = "checkDefaultPort";
- this.checkDefaultPort.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Use default port");
- this.checkDefaultPort.DrawIndicator = true;
- this.checkDefaultPort.UseUnderline = true;
- this.hbox2.Add (this.checkDefaultPort);
- global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.checkDefaultPort]));
- w24.Position = 1;
- w24.Expand = false;
- w24.Fill = false;
- this.table.Add (this.hbox2);
- global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table[this.hbox2]));
- w25.TopAttach = ((uint)(2));
- w25.BottomAttach = ((uint)(3));
- w25.LeftAttach = ((uint)(1));
- w25.RightAttach = ((uint)(2));
- w25.XOptions = ((global::Gtk.AttachOptions)(4));
- w25.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.hboxDatabase = new global::Gtk.HBox ();
- this.hboxDatabase.Name = "hboxDatabase";
- this.hboxDatabase.Spacing = 6;
- // Container child hboxDatabase.Gtk.Box+BoxChild
- this.comboDatabase = global::Gtk.ComboBoxEntry.NewText ();
- this.comboDatabase.Name = "comboDatabase";
- this.hboxDatabase.Add (this.comboDatabase);
- global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxDatabase[this.comboDatabase]));
- w26.Position = 0;
- // Container child hboxDatabase.Gtk.Box+BoxChild
- this.buttonRefresh = new global::Gtk.Button ();
- this.buttonRefresh.CanFocus = true;
- this.buttonRefresh.Name = "buttonRefresh";
- this.buttonRefresh.UseStock = true;
- this.buttonRefresh.UseUnderline = true;
- this.buttonRefresh.Label = "gtk-refresh";
- this.hboxDatabase.Add (this.buttonRefresh);
- global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonRefresh]));
- w27.Position = 1;
- w27.Expand = false;
- w27.Fill = false;
- // Container child hboxDatabase.Gtk.Box+BoxChild
- this.buttonOpen = new global::Gtk.Button ();
- this.buttonOpen.CanFocus = true;
- this.buttonOpen.Name = "buttonOpen";
- this.buttonOpen.UseStock = true;
- this.buttonOpen.UseUnderline = true;
- this.buttonOpen.Label = "gtk-open";
- this.hboxDatabase.Add (this.buttonOpen);
- global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonOpen]));
- w28.Position = 2;
- w28.Expand = false;
- w28.Fill = false;
- this.table.Add (this.hboxDatabase);
- global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table[this.hboxDatabase]));
- w29.TopAttach = ((uint)(6));
- w29.BottomAttach = ((uint)(7));
- w29.LeftAttach = ((uint)(1));
- w29.RightAttach = ((uint)(2));
- w29.XOptions = ((global::Gtk.AttachOptions)(4));
- w29.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.hboxPassword = new global::Gtk.HBox ();
- this.hboxPassword.Name = "hboxPassword";
- this.hboxPassword.Spacing = 6;
- // Container child hboxPassword.Gtk.Box+BoxChild
- this.entryPassword = new global::Gtk.Entry ();
- this.entryPassword.CanFocus = true;
- this.entryPassword.Name = "entryPassword";
- this.entryPassword.IsEditable = true;
- this.entryPassword.Visibility = false;
- this.entryPassword.InvisibleChar = '●';
- this.hboxPassword.Add (this.entryPassword);
- global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxPassword[this.entryPassword]));
- w30.Position = 0;
- // Container child hboxPassword.Gtk.Box+BoxChild
- this.checkSavePassword = new global::Gtk.CheckButton ();
- this.checkSavePassword.CanFocus = true;
- this.checkSavePassword.Name = "checkSavePassword";
- this.checkSavePassword.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Save Password");
- this.checkSavePassword.Active = true;
- this.checkSavePassword.DrawIndicator = true;
- this.checkSavePassword.UseUnderline = true;
- this.hboxPassword.Add (this.checkSavePassword);
- global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxPassword[this.checkSavePassword]));
- w31.Position = 1;
- w31.Expand = false;
- this.table.Add (this.hboxPassword);
- global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table[this.hboxPassword]));
- w32.TopAttach = ((uint)(4));
- w32.BottomAttach = ((uint)(5));
- w32.LeftAttach = ((uint)(1));
- w32.RightAttach = ((uint)(2));
- w32.XOptions = ((global::Gtk.AttachOptions)(4));
- w32.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelDatabase = new global::Gtk.Label ();
- this.labelDatabase.Name = "labelDatabase";
- this.labelDatabase.Xalign = 0f;
- this.labelDatabase.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Database:");
- this.table.Add (this.labelDatabase);
- global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table[this.labelDatabase]));
- w33.TopAttach = ((uint)(6));
- w33.BottomAttach = ((uint)(7));
- w33.XOptions = ((global::Gtk.AttachOptions)(4));
- w33.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelName = new global::Gtk.Label ();
- this.labelName.Name = "labelName";
- this.labelName.Xalign = 0f;
- this.labelName.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name:");
- this.table.Add (this.labelName);
- global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table[this.labelName]));
- w34.XOptions = ((global::Gtk.AttachOptions)(4));
- w34.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelPassword = new global::Gtk.Label ();
- this.labelPassword.Name = "labelPassword";
- this.labelPassword.Xalign = 0f;
- this.labelPassword.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Password:");
- this.table.Add (this.labelPassword);
- global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table[this.labelPassword]));
- w35.TopAttach = ((uint)(4));
- w35.BottomAttach = ((uint)(5));
- w35.XOptions = ((global::Gtk.AttachOptions)(4));
- w35.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelPort = new global::Gtk.Label ();
- this.labelPort.Name = "labelPort";
- this.labelPort.Xalign = 0f;
- this.labelPort.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Port:");
- this.table.Add (this.labelPort);
- global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table[this.labelPort]));
- w36.TopAttach = ((uint)(2));
- w36.BottomAttach = ((uint)(3));
- w36.XOptions = ((global::Gtk.AttachOptions)(4));
- w36.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelServer = new global::Gtk.Label ();
- this.labelServer.Name = "labelServer";
- this.labelServer.Xalign = 0f;
- this.labelServer.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Server:");
- this.table.Add (this.labelServer);
- global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table[this.labelServer]));
- w37.TopAttach = ((uint)(1));
- w37.BottomAttach = ((uint)(2));
- w37.XOptions = ((global::Gtk.AttachOptions)(4));
- w37.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelTest = new global::Gtk.Label ();
- this.labelTest.Name = "labelTest";
- this.labelTest.Xalign = 0f;
- this.labelTest.Wrap = true;
- this.table.Add (this.labelTest);
- global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table[this.labelTest]));
- w38.TopAttach = ((uint)(8));
- w38.BottomAttach = ((uint)(9));
- w38.LeftAttach = ((uint)(1));
- w38.RightAttach = ((uint)(2));
- w38.XOptions = ((global::Gtk.AttachOptions)(4));
- w38.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.labelUsername = new global::Gtk.Label ();
- this.labelUsername.Name = "labelUsername";
- this.labelUsername.Xalign = 0f;
- this.labelUsername.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Username:");
- this.table.Add (this.labelUsername);
- global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table[this.labelUsername]));
- w39.TopAttach = ((uint)(3));
- w39.BottomAttach = ((uint)(4));
- w39.XOptions = ((global::Gtk.AttachOptions)(4));
- w39.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.VBoxMain = new global::Gtk.VBox ();
- this.VBoxMain.Name = "VBoxMain";
- this.VBoxMain.Spacing = 6;
- // Container child VBoxMain.Gtk.Box+BoxChild
- this.labelMessage = new global::Gtk.Label ();
- this.labelMessage.Name = "labelMessage";
- this.labelMessage.UseMarkup = true;
- this.VBoxMain.Add (this.labelMessage);
- global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.VBoxMain[this.labelMessage]));
- w40.Position = 0;
- w40.Fill = false;
- this.table.Add (this.VBoxMain);
- global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table[this.VBoxMain]));
- w41.TopAttach = ((uint)(9));
- w41.BottomAttach = ((uint)(10));
- w41.RightAttach = ((uint)(2));
- w41.XOptions = ((global::Gtk.AttachOptions)(4));
- this.Add (this.table);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.entryPassword.Changed += new global::System.EventHandler (this.PasswordChanged);
- this.buttonRefresh.Clicked += new global::System.EventHandler (this.RefreshClicked);
- this.buttonOpen.Clicked += new global::System.EventHandler (this.OpenClicked);
- this.spinPort.Changed += new global::System.EventHandler (this.PortChanged);
- this.checkDefaultPort.Toggled += new global::System.EventHandler (this.OnCheckDefaultPortToggled);
- this.spinMinPoolSize.Changed += new global::System.EventHandler (this.MinPoolSizeChanged);
- this.spinMaxPoolSize.Changed += new global::System.EventHandler (this.MaxPoolSizeChanged);
- this.entryUsername.Changed += new global::System.EventHandler (this.UsernameChanged);
- this.entryServer.Changed += new global::System.EventHandler (this.ServerChanged);
- this.entryName.Changed += new global::System.EventHandler (this.NameChanged);
- this.checkIntegratedSecurity.Toggled += new global::System.EventHandler (this.OnCheckIntegratedSecurityToggled);
- this.buttonTest.Clicked += new global::System.EventHandler (this.TestClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs
deleted file mode 100644
index df0c3bdc16..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs
+++ /dev/null
@@ -1,153 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class DataGrid
- {
- private global::Gtk.VBox vbox;
-
- private global::Gtk.ScrolledWindow scrolledwindow;
-
- private global::Gtk.TreeView grid;
-
- private global::Gtk.HBox hbox;
-
- private global::Gtk.Button buttonFirst;
-
- private global::Gtk.Button buttonPrevious;
-
- private global::Gtk.Entry entryCurrent;
-
- private global::Gtk.Label label1;
-
- private global::Gtk.Entry entryTotal;
-
- private global::Gtk.Button buttonNext;
-
- private global::Gtk.Button buttonLast;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.DataGrid
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Components.DataGrid";
- // Container child MonoDevelop.Database.Components.DataGrid.Gtk.Container+ContainerChild
- this.vbox = new global::Gtk.VBox ();
- this.vbox.Name = "vbox";
- this.vbox.Spacing = 5;
- this.vbox.BorderWidth = ((uint)(5));
- // Container child vbox.Gtk.Box+BoxChild
- this.scrolledwindow = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow.CanFocus = true;
- this.scrolledwindow.Name = "scrolledwindow";
- this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow.Gtk.Container+ContainerChild
- this.grid = new global::Gtk.TreeView ();
- this.grid.CanDefault = true;
- this.grid.CanFocus = true;
- this.grid.Name = "grid";
- this.grid.EnableSearch = false;
- this.scrolledwindow.Add (this.grid);
- this.vbox.Add (this.scrolledwindow);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox[this.scrolledwindow]));
- w2.Position = 0;
- // Container child vbox.Gtk.Box+BoxChild
- this.hbox = new global::Gtk.HBox ();
- this.hbox.Name = "hbox";
- this.hbox.Spacing = 5;
- // Container child hbox.Gtk.Box+BoxChild
- this.buttonFirst = new global::Gtk.Button ();
- this.buttonFirst.CanFocus = true;
- this.buttonFirst.Name = "buttonFirst";
- this.buttonFirst.UseStock = true;
- this.buttonFirst.UseUnderline = true;
- this.buttonFirst.Label = "gtk-goto-first";
- this.hbox.Add (this.buttonFirst);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox[this.buttonFirst]));
- w3.Position = 0;
- w3.Expand = false;
- w3.Fill = false;
- // Container child hbox.Gtk.Box+BoxChild
- this.buttonPrevious = new global::Gtk.Button ();
- this.buttonPrevious.CanFocus = true;
- this.buttonPrevious.Name = "buttonPrevious";
- this.buttonPrevious.UseStock = true;
- this.buttonPrevious.UseUnderline = true;
- this.buttonPrevious.Label = "gtk-go-back";
- this.hbox.Add (this.buttonPrevious);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox[this.buttonPrevious]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- // Container child hbox.Gtk.Box+BoxChild
- this.entryCurrent = new global::Gtk.Entry ();
- this.entryCurrent.CanFocus = true;
- this.entryCurrent.Name = "entryCurrent";
- this.entryCurrent.IsEditable = true;
- this.entryCurrent.InvisibleChar = '●';
- this.hbox.Add (this.entryCurrent);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.entryCurrent]));
- w5.Position = 2;
- w5.Expand = false;
- // Container child hbox.Gtk.Box+BoxChild
- this.label1 = new global::Gtk.Label ();
- this.label1.Name = "label1";
- this.label1.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("of");
- this.hbox.Add (this.label1);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox[this.label1]));
- w6.Position = 3;
- w6.Expand = false;
- w6.Fill = false;
- // Container child hbox.Gtk.Box+BoxChild
- this.entryTotal = new global::Gtk.Entry ();
- this.entryTotal.CanFocus = true;
- this.entryTotal.Name = "entryTotal";
- this.entryTotal.IsEditable = false;
- this.entryTotal.InvisibleChar = '●';
- this.hbox.Add (this.entryTotal);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox[this.entryTotal]));
- w7.Position = 4;
- w7.Expand = false;
- // Container child hbox.Gtk.Box+BoxChild
- this.buttonNext = new global::Gtk.Button ();
- this.buttonNext.CanFocus = true;
- this.buttonNext.Name = "buttonNext";
- this.buttonNext.UseStock = true;
- this.buttonNext.UseUnderline = true;
- this.buttonNext.Label = "gtk-go-forward";
- this.hbox.Add (this.buttonNext);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox[this.buttonNext]));
- w8.Position = 5;
- w8.Expand = false;
- w8.Fill = false;
- // Container child hbox.Gtk.Box+BoxChild
- this.buttonLast = new global::Gtk.Button ();
- this.buttonLast.CanFocus = true;
- this.buttonLast.Name = "buttonLast";
- this.buttonLast.UseStock = true;
- this.buttonLast.UseUnderline = true;
- this.buttonLast.Label = "gtk-goto-last";
- this.hbox.Add (this.buttonLast);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox[this.buttonLast]));
- w9.Position = 6;
- w9.Expand = false;
- w9.Fill = false;
- this.vbox.Add (this.hbox);
- global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox[this.hbox]));
- w10.Position = 1;
- w10.Expand = false;
- w10.Fill = false;
- this.Add (this.vbox);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonFirst.Clicked += new global::System.EventHandler (this.ButtonFirstClicked);
- this.buttonPrevious.Clicked += new global::System.EventHandler (this.ButtonPreviousClicked);
- this.entryCurrent.Activated += new global::System.EventHandler (this.EntryCurrentActivated);
- this.buttonNext.Clicked += new global::System.EventHandler (this.ButtonNextClicked);
- this.buttonLast.Clicked += new global::System.EventHandler (this.ButtonLastClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.cs
deleted file mode 100644
index 7f99f2ef41..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class DatabaseAvailableProvidersDialog
- {
- private global::Gtk.HBox hbox9;
-
- private global::Gtk.Label label3;
-
- private global::Gtk.ComboBox comboProviders;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog
- this.Name = "MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Available Providers");
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- // Internal child MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hbox9 = new global::Gtk.HBox ();
- this.hbox9.Name = "hbox9";
- this.hbox9.Spacing = 6;
- // Container child hbox9.Gtk.Box+BoxChild
- this.label3 = new global::Gtk.Label ();
- this.label3.Name = "label3";
- this.label3.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Choose a Provider");
- this.hbox9.Add (this.label3);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label3]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hbox9.Gtk.Box+BoxChild
- this.comboProviders = new global::Gtk.ComboBox ();
- this.comboProviders.Name = "comboProviders";
- this.hbox9.Add (this.comboProviders);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.comboProviders]));
- w3.Position = 1;
- w1.Add (this.hbox9);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.hbox9]));
- w4.Position = 0;
- w4.Expand = false;
- w4.Fill = false;
- // Internal child MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog.ActionArea
- global::Gtk.HButtonBox w5 = this.ActionArea;
- w5.Name = "dialog1_ActionArea";
- w5.Spacing = 10;
- w5.BorderWidth = ((uint)(5));
- w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
- w6.Expand = false;
- w6.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
- w7.Position = 1;
- w7.Expand = false;
- w7.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 469;
- this.DefaultHeight = 102;
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.cs
deleted file mode 100644
index d895980ca8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class DatabaseConnectionEditorWidget
- {
- private global::Gtk.HBox hbox3;
-
- private global::MonoDevelop.Database.Components.DatabaseConnectionContextComboBox comboConnection;
-
- private global::Gtk.Button buttonNew;
-
- private global::Gtk.Button buttonEdit;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.DatabaseConnectionEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Components.DatabaseConnectionEditorWidget";
- // Container child MonoDevelop.Database.Components.DatabaseConnectionEditorWidget.Gtk.Container+ContainerChild
- this.hbox3 = new global::Gtk.HBox ();
- this.hbox3.Name = "hbox3";
- this.hbox3.Spacing = 6;
- // Container child hbox3.Gtk.Box+BoxChild
- this.comboConnection = new global::MonoDevelop.Database.Components.DatabaseConnectionContextComboBox ();
- this.comboConnection.Name = "comboConnection";
- this.hbox3.Add (this.comboConnection);
- global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboConnection]));
- w1.Position = 0;
- // Container child hbox3.Gtk.Box+BoxChild
- this.buttonNew = new global::Gtk.Button ();
- this.buttonNew.CanFocus = true;
- this.buttonNew.Name = "buttonNew";
- this.buttonNew.UseUnderline = true;
- // Container child buttonNew.Gtk.Container+ContainerChild
- global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w3 = new global::Gtk.HBox ();
- w3.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w4 = new global::Gtk.Image ();
- w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.Menu);
- w3.Add (w4);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w6 = new global::Gtk.Label ();
- w6.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("_New");
- w6.UseUnderline = true;
- w3.Add (w6);
- w2.Add (w3);
- this.buttonNew.Add (w2);
- this.hbox3.Add (this.buttonNew);
- global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonNew]));
- w10.Position = 1;
- w10.Expand = false;
- w10.Fill = false;
- // Container child hbox3.Gtk.Box+BoxChild
- this.buttonEdit = new global::Gtk.Button ();
- this.buttonEdit.CanFocus = true;
- this.buttonEdit.Name = "buttonEdit";
- this.buttonEdit.UseUnderline = true;
- // Container child buttonEdit.Gtk.Container+ContainerChild
- global::Gtk.Alignment w11 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w12 = new global::Gtk.HBox ();
- w12.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w13 = new global::Gtk.Image ();
- w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
- w12.Add (w13);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w15 = new global::Gtk.Label ();
- w15.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("_Edit");
- w15.UseUnderline = true;
- w12.Add (w15);
- w11.Add (w12);
- this.buttonEdit.Add (w11);
- this.hbox3.Add (this.buttonEdit);
- global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonEdit]));
- w19.Position = 2;
- w19.Expand = false;
- w19.Fill = false;
- this.Add (this.hbox3);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Hide ();
- this.comboConnection.Changed += new global::System.EventHandler (this.OnComboConnectionChanged);
- this.buttonNew.Clicked += new global::System.EventHandler (this.OnButtonNewClicked);
- this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.cs
deleted file mode 100644
index 605c89fcf1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class DatabaseConnectionSettingsDialog
- {
- private global::Gtk.VBox vbox;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog
- this.Name = "MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog";
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.vbox = new global::Gtk.VBox ();
- this.vbox.Name = "vbox";
- this.vbox.Spacing = 6;
- w1.Add (this.vbox);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.vbox]));
- w2.Position = 0;
- // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.ActionArea
- global::Gtk.HButtonBox w3 = this.ActionArea;
- w3.Name = "dialog1_ActionArea";
- w3.Spacing = 6;
- w3.BorderWidth = ((uint)(5));
- w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel]));
- w4.Expand = false;
- w4.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 606;
- this.DefaultHeight = 355;
- this.Show ();
- this.buttonCancel.Clicked += new global::System.EventHandler (this.OnCancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OnOkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs
deleted file mode 100644
index cbf7593977..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs
+++ /dev/null
@@ -1,114 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class SelectColumnDialog
- {
- private global::Gtk.HBox hboxContent;
-
- private global::Gtk.VButtonBox vbuttonbox1;
-
- private global::Gtk.Button buttonSelectAll;
-
- private global::Gtk.Button buttonDeselectAll;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.SelectColumnDialog
- this.Name = "MonoDevelop.Database.Components.SelectColumnDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Select Column");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.DestroyWithParent = true;
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Components.SelectColumnDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "Dialog_Vbox";
- w1.BorderWidth = ((uint)(2));
- // Container child Dialog_Vbox.Gtk.Box+BoxChild
- this.hboxContent = new global::Gtk.HBox ();
- this.hboxContent.Name = "hboxContent";
- this.hboxContent.Spacing = 6;
- // Container child hboxContent.Gtk.Box+BoxChild
- this.vbuttonbox1 = new global::Gtk.VButtonBox ();
- this.vbuttonbox1.Name = "vbuttonbox1";
- this.vbuttonbox1.Spacing = 6;
- this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
- this.buttonSelectAll = new global::Gtk.Button ();
- this.buttonSelectAll.CanFocus = true;
- this.buttonSelectAll.Name = "buttonSelectAll";
- this.buttonSelectAll.UseUnderline = true;
- this.buttonSelectAll.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Select All");
- this.vbuttonbox1.Add (this.buttonSelectAll);
- global::Gtk.ButtonBox.ButtonBoxChild w2 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonSelectAll]));
- w2.Expand = false;
- w2.Fill = false;
- // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
- this.buttonDeselectAll = new global::Gtk.Button ();
- this.buttonDeselectAll.CanFocus = true;
- this.buttonDeselectAll.Name = "buttonDeselectAll";
- this.buttonDeselectAll.UseUnderline = true;
- this.buttonDeselectAll.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Deselect All");
- this.vbuttonbox1.Add (this.buttonDeselectAll);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonDeselectAll]));
- w3.Position = 1;
- w3.Expand = false;
- w3.Fill = false;
- this.hboxContent.Add (this.vbuttonbox1);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.vbuttonbox1]));
- w4.PackType = ((global::Gtk.PackType)(1));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- w1.Add (this.hboxContent);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.hboxContent]));
- w5.Position = 0;
- // Internal child MonoDevelop.Database.Components.SelectColumnDialog.ActionArea
- global::Gtk.HButtonBox w6 = this.ActionArea;
- w6.Name = "GtkDialog_ActionArea";
- w6.Spacing = 6;
- w6.BorderWidth = ((uint)(5));
- w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel]));
- w7.Expand = false;
- w7.Fill = false;
- // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk]));
- w8.Position = 1;
- w8.Expand = false;
- w8.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 400;
- this.DefaultHeight = 300;
- this.Show ();
- this.buttonSelectAll.Clicked += new global::System.EventHandler (this.SelectAllClicked);
- this.buttonDeselectAll.Clicked += new global::System.EventHandler (this.DeselectAllClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs
deleted file mode 100644
index cb67ba4cb4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class ShowImageDialog
- {
- private global::Gtk.ScrolledWindow scrolledwindow;
-
- private global::Gtk.Image image1;
-
- private global::Gtk.HBox hboxError;
-
- private global::Gtk.Image image;
-
- private global::Gtk.Label label;
-
- private global::Gtk.Button buttonClose;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.ShowImageDialog
- this.Name = "MonoDevelop.Database.Components.ShowImageDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Image");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Components.ShowImageDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.scrolledwindow = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow.CanFocus = true;
- this.scrolledwindow.Name = "scrolledwindow";
- this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow.Gtk.Container+ContainerChild
- global::Gtk.Viewport w2 = new global::Gtk.Viewport ();
- w2.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child GtkViewport.Gtk.Container+ContainerChild
- this.image1 = new global::Gtk.Image ();
- this.image1.Name = "image1";
- w2.Add (this.image1);
- this.scrolledwindow.Add (w2);
- w1.Add (this.scrolledwindow);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.scrolledwindow]));
- w5.Position = 0;
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.hboxError = new global::Gtk.HBox ();
- this.hboxError.Name = "hboxError";
- this.hboxError.Spacing = 6;
- // Container child hboxError.Gtk.Box+BoxChild
- this.image = new global::Gtk.Image ();
- this.image.Name = "image";
- this.image.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Menu);
- this.hboxError.Add (this.image);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxError[this.image]));
- w6.Position = 0;
- w6.Expand = false;
- w6.Fill = false;
- // Container child hboxError.Gtk.Box+BoxChild
- this.label = new global::Gtk.Label ();
- this.label.Name = "label";
- this.label.Xalign = 0f;
- this.label.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Unable to load object as Image");
- this.hboxError.Add (this.label);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxError[this.label]));
- w7.Position = 1;
- w1.Add (this.hboxError);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.hboxError]));
- w8.Position = 1;
- w8.Expand = false;
- w8.Fill = false;
- // Internal child MonoDevelop.Database.Components.ShowImageDialog.ActionArea
- global::Gtk.HButtonBox w9 = this.ActionArea;
- w9.Name = "dialog1_ActionArea";
- w9.Spacing = 6;
- w9.BorderWidth = ((uint)(5));
- w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonClose = new global::Gtk.Button ();
- this.buttonClose.CanDefault = true;
- this.buttonClose.CanFocus = true;
- this.buttonClose.Name = "buttonClose";
- this.buttonClose.UseStock = true;
- this.buttonClose.UseUnderline = true;
- this.buttonClose.Label = "gtk-close";
- this.AddActionWidget (this.buttonClose, -7);
- global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonClose]));
- w10.Expand = false;
- w10.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 400;
- this.DefaultHeight = 300;
- this.hboxError.Hide ();
- this.Show ();
- this.buttonClose.Clicked += new global::System.EventHandler (this.CloseClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs
deleted file mode 100644
index c5a26ac9fc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class ShowTextDialog
- {
- private global::Gtk.VBox vboxContent;
-
- private global::Gtk.Button button462;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.ShowTextDialog
- this.Name = "MonoDevelop.Database.Components.ShowTextDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Text");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Components.ShowTextDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "vbox";
- w1.BorderWidth = ((uint)(2));
- // Container child vbox.Gtk.Box+BoxChild
- this.vboxContent = new global::Gtk.VBox ();
- this.vboxContent.Name = "vboxContent";
- this.vboxContent.Spacing = 6;
- this.vboxContent.BorderWidth = ((uint)(6));
- w1.Add (this.vboxContent);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent]));
- w2.Position = 0;
- // Internal child MonoDevelop.Database.Components.ShowTextDialog.ActionArea
- global::Gtk.HButtonBox w3 = this.ActionArea;
- w3.Name = "GtkDialog_ActionArea";
- w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.button462 = new global::Gtk.Button ();
- this.button462.CanFocus = true;
- this.button462.Name = "button462";
- this.button462.UseUnderline = true;
- this.button462.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("button462");
- this.AddActionWidget (this.button462, 0);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.button462]));
- w4.Expand = false;
- w4.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 400;
- this.DefaultHeight = 300;
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SqlEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SqlEditorWidget.cs
deleted file mode 100644
index 9db2b136c7..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SqlEditorWidget.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class SqlEditorWidget
- {
- private global::Gtk.ScrolledWindow scrolledwindow;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.SqlEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Components.SqlEditorWidget";
- // Container child MonoDevelop.Database.Components.SqlEditorWidget.Gtk.Container+ContainerChild
- this.scrolledwindow = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow.CanFocus = true;
- this.scrolledwindow.Name = "scrolledwindow";
- this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
- this.Add (this.scrolledwindow);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs
deleted file mode 100644
index 2e75e4d5d4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Components
-{
- public partial class WaitDialog
- {
- private global::Gtk.VBox vbox;
-
- private global::Gtk.HBox hbox2;
-
- private global::Gtk.Image image;
-
- private global::Gtk.Label label;
-
- private global::Gtk.ProgressBar progressbar;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Components.WaitDialog
- this.Name = "MonoDevelop.Database.Components.WaitDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("WaitDialog");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(6));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.Modal = true;
- this.BorderWidth = ((uint)(1));
- this.Resizable = false;
- this.AllowGrow = false;
- this.Decorated = false;
- this.SkipTaskbarHint = true;
- // Container child MonoDevelop.Database.Components.WaitDialog.Gtk.Container+ContainerChild
- this.vbox = new global::Gtk.VBox ();
- this.vbox.Name = "vbox";
- this.vbox.Spacing = 6;
- this.vbox.BorderWidth = ((uint)(6));
- // Container child vbox.Gtk.Box+BoxChild
- this.hbox2 = new global::Gtk.HBox ();
- this.hbox2.Name = "hbox2";
- this.hbox2.Spacing = 6;
- // Container child hbox2.Gtk.Box+BoxChild
- this.image = new global::Gtk.Image ();
- this.image.Name = "image";
- this.image.Xalign = 0f;
- this.image.Yalign = 0f;
- this.image.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_alarm", global::Gtk.IconSize.Dialog);
- this.hbox2.Add (this.image);
- global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.image]));
- w1.Position = 0;
- w1.Expand = false;
- w1.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.label = new global::Gtk.Label ();
- this.label.Name = "label";
- this.label.Xalign = 0f;
- this.label.Yalign = 0f;
- this.label.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Please wait");
- this.hbox2.Add (this.label);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label]));
- w2.Position = 1;
- this.vbox.Add (this.hbox2);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox[this.hbox2]));
- w3.Position = 0;
- w3.Expand = false;
- w3.Fill = false;
- // Container child vbox.Gtk.Box+BoxChild
- this.progressbar = new global::Gtk.ProgressBar ();
- this.progressbar.Name = "progressbar";
- this.vbox.Add (this.progressbar);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox[this.progressbar]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- this.Add (this.vbox);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 400;
- this.DefaultHeight = 114;
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/generated.cs
deleted file mode 100644
index 559a39ec59..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/generated.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class BinContainer
- {
- private Gtk.Widget child;
-
- private Gtk.UIManager uimanager;
-
- public static BinContainer Attach (Gtk.Bin bin)
- {
- BinContainer bc = new BinContainer ();
- bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested);
- bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated);
- bin.Added += new Gtk.AddedHandler (bc.OnAdded);
- return bc;
- }
-
- private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
- {
- if ((this.child != null)) {
- args.Requisition = this.child.SizeRequest ();
- }
- }
-
- private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
- {
- if ((this.child != null)) {
- this.child.Allocation = args.Allocation;
- }
- }
-
- private void OnAdded (object sender, Gtk.AddedArgs args)
- {
- this.child = args.Widget;
- }
-
- public void SetUiManager (Gtk.UIManager uim)
- {
- this.uimanager = uim;
- this.child.Realized += new System.EventHandler (this.OnRealized);
- }
-
- private void OnRealized (object sender, System.EventArgs args)
- {
- if ((this.uimanager != null)) {
- Gtk.Widget w;
- w = this.child.Toplevel;
- if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) {
- ((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
- this.uimanager = null;
- }
- }
- }
- }
-
- internal class IconLoader
- {
- public static Gdk.Pixbuf LoadIcon (Gtk.Widget widget, string name, Gtk.IconSize size)
- {
- Gdk.Pixbuf res = widget.RenderIcon (name, size, null);
- if ((res != null)) {
- return res;
- } else {
- int sz;
- int sy;
- global::Gtk.Icon.SizeLookup (size, out sz, out sy);
- try {
- return Gtk.IconTheme.Default.LoadIcon (name, sz, 0);
- } catch (System.Exception) {
- if ((name != "gtk-missing-image")) {
- return Stetic.IconLoader.LoadIcon (widget, "gtk-missing-image", size);
- } else {
- Gdk.Pixmap pmap = new Gdk.Pixmap (Gdk.Screen.Default.RootWindow, sz, sz);
- Gdk.GC gc = new Gdk.GC (pmap);
- gc.RgbFgColor = new Gdk.Color (255, 255, 255);
- pmap.DrawRectangle (gc, true, 0, 0, sz, sz);
- gc.RgbFgColor = new Gdk.Color (0, 0, 0);
- pmap.DrawRectangle (gc, false, 0, 0, (sz - 1), (sz - 1));
- gc.SetLineAttributes (3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
- gc.RgbFgColor = new Gdk.Color (255, 0, 0);
- pmap.DrawLine (gc, (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)), ((sz - 1) - (sz / 4)));
- pmap.DrawLine (gc, ((sz - 1) - (sz / 4)), (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)));
- return Gdk.Pixbuf.FromDrawable (pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz);
- }
- }
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/gui.stetic
deleted file mode 100644
index a515c6ac46..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,1416 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="MonoDevelop.Deployment, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="Mono.TextEditor, Version=1.0.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" internal="true" />
- </import>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Components.SelectColumnDialog" design-size="400 300">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Select Column</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="DestroyWithParent">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="Dialog_Vbox">
- <property name="MemberName">vbox</property>
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.HBox" id="hboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.VButtonBox" id="vbuttonbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonSelectAll">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextOnly</property>
- <property name="Label" translatable="yes">Select All</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="SelectAllClicked" />
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonDeselectAll">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextOnly</property>
- <property name="Label" translatable="yes">Deselect All</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="DeselectAllClicked" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="PackType">End</property>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="GtkDialog_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Components.DataGrid" design-size="737 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.VBox" id="vbox">
- <property name="MemberName" />
- <property name="Spacing">5</property>
- <property name="BorderWidth">5</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="grid">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="EnableSearch">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox">
- <property name="MemberName" />
- <property name="Spacing">5</property>
- <child>
- <widget class="Gtk.Button" id="buttonFirst">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-goto-first</property>
- <signal name="Clicked" handler="ButtonFirstClicked" />
- <property name="label">gtk-goto-first</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonPrevious">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-go-back</property>
- <signal name="Clicked" handler="ButtonPreviousClicked" />
- <property name="label">gtk-go-back</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryCurrent">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Activated" handler="EntryCurrentActivated" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">of</property>
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryTotal">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">False</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="Position">4</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonNext">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-go-forward</property>
- <signal name="Clicked" handler="ButtonNextClicked" />
- <property name="label">gtk-go-forward</property>
- </widget>
- <packing>
- <property name="Position">5</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonLast">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-goto-last</property>
- <signal name="Clicked" handler="ButtonLastClicked" />
- <property name="label">gtk-goto-last</property>
- </widget>
- <packing>
- <property name="Position">6</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <placeholder />
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Components.ShowImageDialog" design-size="400 300">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Image</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">1</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.Viewport" id="GtkViewport">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Image" id="image1">
- <property name="MemberName" />
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hboxError">
- <property name="MemberName">hboxError</property>
- <property name="Visible">False</property>
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="image">
- <property name="MemberName" />
- <property name="Pixbuf">stock:gtk-dialog-error Menu</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Unable to load object as Image</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">1</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonClose">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-close</property>
- <property name="ResponseId">-7</property>
- <signal name="Clicked" handler="CloseClicked" />
- <property name="label">gtk-close</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Components.ShowTextDialog" design-size="400 300">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Text</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">1</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="vbox">
- <property name="MemberName">vbox</property>
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <placeholder />
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="GtkDialog_ActionArea">
- <property name="MemberName" />
- <property name="Size">1</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="button462">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextOnly</property>
- <property name="Label" translatable="yes">button462</property>
- <property name="UseUnderline">True</property>
- <property name="ResponseId">0</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog" design-size="606 355">
- <property name="MemberName" />
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <placeholder />
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="OnCancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OnOkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Window" id="MonoDevelop.Database.Components.WaitDialog" design-size="400 114">
- <property name="MemberName" />
- <property name="Title" translatable="yes">WaitDialog</property>
- <property name="TypeHint">Dock</property>
- <property name="WindowPosition">Center</property>
- <property name="Modal">True</property>
- <property name="BorderWidth">1</property>
- <property name="Resizable">False</property>
- <property name="AllowGrow">False</property>
- <property name="Decorated">False</property>
- <property name="SkipTaskbarHint">True</property>
- <child>
- <widget class="Gtk.VBox" id="vbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="image">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="Pixbuf">stock:stock_alarm Dialog</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LabelProp" translatable="yes">Please wait</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ProgressBar" id="progressbar">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Components.SqlEditorWidget" design-size="300 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.Viewport" id="GtkViewport">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <placeholder />
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Components.ConnectionSettingsWidget" design-size="559 324">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.Table" id="table">
- <property name="MemberName" />
- <property name="NRows">10</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonTest">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-apply Menu</property>
- <property name="Label" translatable="yes">Test</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="TestClicked" />
- </widget>
- <packing>
- <property name="TopAttach">8</property>
- <property name="BottomAttach">9</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkIntegratedSecurity">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Use Integrated security</property>
- <property name="Active">True</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- <signal name="Toggled" handler="OnCheckIntegratedSecurityToggled" />
- </widget>
- <packing>
- <property name="TopAttach">5</property>
- <property name="BottomAttach">6</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryName">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="ActivatesDefault">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="NameChanged" />
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryServer">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="ServerChanged" />
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryUsername">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="UsernameChanged" />
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Expander" id="expander">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <child>
- <widget class="Gtk.Table" id="tableAdvanced">
- <property name="MemberName" />
- <property name="NRows">4</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.CheckButton" id="checkCustom">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Use custom connection string</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label10">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Min Pool Size:</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label11">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Max Pool Size:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TextView" id="textConnectionString">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Text" translatable="yes" />
- </widget>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.SpinButton" id="spinMaxPoolSize">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Lower">1</property>
- <property name="Upper">100</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- <property name="Value">5</property>
- <signal name="Changed" handler="MaxPoolSizeChanged" />
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.SpinButton" id="spinMinPoolSize">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Lower">1</property>
- <property name="Upper">100</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- <property name="Value">1</property>
- <signal name="Changed" handler="MinPoolSizeChanged" />
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel5">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Advanced</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">7</property>
- <property name="BottomAttach">8</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.SpinButton" id="spinPort">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Lower">1</property>
- <property name="Upper">65535</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- <property name="Value">1</property>
- <signal name="Changed" handler="PortChanged" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkDefaultPort">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Use default port</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- <signal name="Toggled" handler="OnCheckDefaultPortToggled" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hboxDatabase">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboDatabase">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRefresh">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-refresh</property>
- <signal name="Clicked" handler="RefreshClicked" />
- <property name="label">gtk-refresh</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOpen">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-open</property>
- <signal name="Clicked" handler="OpenClicked" />
- <property name="label">gtk-open</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">6</property>
- <property name="BottomAttach">7</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hboxPassword">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Entry" id="entryPassword">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="Visibility">False</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="PasswordChanged" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkSavePassword">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Save Password</property>
- <property name="Active">True</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">4</property>
- <property name="BottomAttach">5</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelDatabase">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Database:</property>
- </widget>
- <packing>
- <property name="TopAttach">6</property>
- <property name="BottomAttach">7</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelName">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Name:</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelPassword">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Password:</property>
- </widget>
- <packing>
- <property name="TopAttach">4</property>
- <property name="BottomAttach">5</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelPort">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Port:</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelServer">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Server:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelTest">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Wrap">True</property>
- </widget>
- <packing>
- <property name="TopAttach">8</property>
- <property name="BottomAttach">9</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelUsername">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Username:</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="VBoxMain">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="labelMessage">
- <property name="MemberName" />
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">9</property>
- <property name="BottomAttach">10</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">True</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Components.DatabaseConnectionEditorWidget" design-size="300 31">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <child>
- <widget class="Gtk.HBox" id="hbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="MonoDevelop.Database.Components.DatabaseConnectionContextComboBox" id="comboConnection">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- <signal name="Changed" handler="OnComboConnectionChanged" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonNew">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-new Menu</property>
- <property name="Label" translatable="yes">_New</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnButtonNewClicked" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonEdit">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-edit Menu</property>
- <property name="Label" translatable="yes">_Edit</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnButtonEditClicked" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Components.DatabaseAvailableProvidersDialog" design-size="469 102">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Available Providers</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.HBox" id="hbox9">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label3">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Choose a Provider</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboProviders">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">10</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
-</stetic-interface>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/objects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/objects.xml
deleted file mode 100644
index bef5a52b32..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Components/gtk-gui/objects.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<objects attr-sync="on">
- <object type="MonoDevelop.Database.Components.SelectTableWidget" palette-category="MonoDevelop.Database.Components" allow-children="false" base-type="Gtk.ScrolledWindow">
- <itemgroups>
- <itemgroup label="SelectTableWidget Properties">
- <property name="SingleCheck" />
- </itemgroup>
- </itemgroups>
- <signals>
- <itemgroup label="SelectTableWidget Signals">
- <signal name="TableToggled" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Components.SelectSchemaWidget" palette-category="MonoDevelop.Database.Components" allow-children="false" base-type="Gtk.ScrolledWindow">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Components.DatabaseConnectionContextComboBox" palette-category="widget" allow-children="false" base-type="Gtk.ComboBox">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Components.ColumnMappingWidget" palette-category="widget" allow-children="false" base-type="Gtk.ScrolledWindow">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Components.SelectColumnWidget" palette-category="widget" allow-children="false" base-type="Gtk.ScrolledWindow">
- <itemgroups>
- <itemgroup label="SelectColumnWidget Properties">
- <property name="SingleCheck" />
- </itemgroup>
- </itemgroups>
- <signals>
- <itemgroup label="SelectColumnWidget Signals">
- <signal name="ColumnToggled" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Components.TableMappingWidget" palette-category="MonoDevelop.Database.Components" allow-children="false" base-type="Gtk.ScrolledWindow">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Components.ProjectDirectoryComboBox" palette-category="widget" allow-children="false" base-type="Gtk.ComboBox">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Components.DataGrid" palette-category="MonoDevelop.Database.Components" allow-children="false" base-type="Gtk.Bin">
- <itemgroups>
- <itemgroup label="DataGrid Properties">
- <property name="ShowNavigator" />
- <property name="EnableNavigator" />
- <property name="PageSize" />
- <property name="LimitPageSize" />
- </itemgroup>
- </itemgroups>
- <signals />
- </object>
- <object type="MonoDevelop.Database.Components.DatabaseConnectionEditorWidget" palette-category="General" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="DatabaseConnectionEditorWidget Signals">
- <signal name="SelectedDatabaseChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Components.SqlEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups>
- <itemgroup label="SqlEditorWidget Properties">
- <property name="Text" />
- <property name="Editable" />
- </itemgroup>
- </itemgroups>
- <signals>
- <itemgroup label="SqlEditorWidget Signals">
- <signal name="TextChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Components.ConnectionSettingsWidget" palette-category="MonoDevelop.Database.Components" allow-children="false" base-type="Gtk.Bin">
- <itemgroups>
- <itemgroup label="ConnectionSettingsWidget Properties">
- <property name="EnableServerEntry" />
- <property name="EnablePortEntry" />
- <property name="EnableIntegratedSecurity" />
- <property name="EnableUsernameEntry" />
- <property name="EnablePasswordEntry" />
- <property name="EnableRefreshButton" />
- <property name="EnableOpenButton" />
- <property name="EnableTestButton" />
- </itemgroup>
- </itemgroups>
- <signals>
- <itemgroup label="ConnectionSettingsWidget Signals">
- <signal name="NeedsValidation" />
- </itemgroup>
- </signals>
- </object>
-</objects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs
deleted file mode 100644
index 18b544ef28..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.ConnectionManager.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MonoDevelop Database ConnectionManager")]
-[assembly: AssemblyDescription ("Database ConnectionManager Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs.in
deleted file mode 100644
index 9e0952694b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("Mono.Data.ConnectionManager")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")] \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ConnectionManagerCommands.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ConnectionManagerCommands.cs
deleted file mode 100644
index 75d9be8e4d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ConnectionManagerCommands.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public enum ConnectionManagerCommands
- {
- AddConnectionByProvider,
- CreateDatabaseByProvider,
-
- EditConnection,
- RemoveConnection,
- ConnectConnection,
- DisconnectConnection,
-
- Query,
- SelectAll,
- SelectColumns,
- EmptyTable,
- RenameDatabase,
-
- CreateTable,
- CreateView,
- CreateProcedure,
- CreateConstraint,
- CreateUser,
- CreateTrigger,
-
- AlterDatabase,
- AlterTable,
- AlterView,
- AlterProcedure,
- AlterConstraint,
- AlterUser,
- AlterTrigger,
-
- DropDatabase,
- DropTable,
- DropView,
- DropProcedure,
- DropConstraint,
- DropUser,
- DropTrigger,
-
- ShowTableDefinitionInNewWindow,
- ShowTableDefinitionInClipboard,
- QuerySelectInNewWindow,
- QuerySelectInClipboard,
- QueryInsertInNewWindow,
- QueryInsertInClipboard,
- QueryUpdateInNewWindow,
- QueryUpdateInClipboard,
- QueryDeleteInNewWindow,
- QueryDeleteInClipboard,
- TableDefinitionInNewWindow,
- TableDefinitionInClipboard,
- ExecProcedure
- }
-
- internal class AddConnectionHandler : AbstractDatabaseProviderList
- {
- protected IDbFactory factory;
-
- protected override void Run (object ob)
- {
- factory = (IDbFactory)ob;
- factory.GuiProvider.ShowAddConnectionDialog (factory);
- }
- }
-
- internal class CreateDatabaseHandler : AbstractDatabaseProviderList
- {
- protected IDbFactory factory;
-
- protected override void Run (object ob)
- {
- factory = (IDbFactory)ob;
- factory.GuiProvider.ShowCreateDatabaseDialog (factory);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ToolbarCommands.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ToolbarCommands.cs
deleted file mode 100644
index d584d78c14..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Commands/ToolbarCommands.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public enum ToolbarCommands
- {
- ToggleSystemObjects
- //TODO: add default handler
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/ConnectionManagerPad.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/ConnectionManagerPad.cs
deleted file mode 100644
index 0bdadf57a6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/ConnectionManagerPad.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.IO;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ConnectionManagerPad : TreeViewPad
- {
- private VBox vbox;
-
- public ConnectionManagerPad ()
- {
- vbox = new VBox ();
-
- Toolbar toolbar = IdeApp.CommandService.CreateToolbar ("/MonoDevelop/Database/ToolBar/ConnectionManagerPad");
- toolbar.ToolbarStyle = ToolbarStyle.Icons;
-
- vbox.PackStart (toolbar, false, true, 0);
- }
-
- public override void Initialize (NodeBuilder[] builders, TreePadOption[] options, string contextMenuPath)
- {
- base.Initialize (builders, options, contextMenuPath);
-
- vbox.PackStart (base.Control, true, true, 0);
- vbox.ShowAll ();
-
- TreeView.Clear ();
- TreeView.LoadTree (ConnectionContextService.DatabaseConnections);
- }
-
- public override Widget Control {
- get { return vbox; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/FakeNodes.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/FakeNodes.cs
deleted file mode 100644
index b7e8c3914c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/FakeNodes.cs
+++ /dev/null
@@ -1,305 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public abstract class BaseNode
- {
- public event EventHandler RefreshEvent;
- protected DatabaseConnectionContext context;
-
- public BaseNode (DatabaseConnectionContext context)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
-
- this.context = context;
- }
-
- public DatabaseConnectionContext ConnectionContext {
- get { return context; }
- }
-
- public void Refresh ()
- {
- if (RefreshEvent != null)
- RefreshEvent (this, EventArgs.Empty);
- }
- }
-
- public class TableNode : BaseNode
- {
- protected TableSchema table;
-
- public TableNode (DatabaseConnectionContext context, TableSchema table)
- : base (context)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
-
- this.table = table;
- }
-
- public TableSchema Table {
- get { return table; }
- }
- }
-
- public class TablesNode : BaseNode
- {
- public TablesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class ViewNode : BaseNode
- {
- protected ViewSchema view;
-
- public ViewNode (DatabaseConnectionContext context, ViewSchema view)
- : base (context)
- {
- if (view == null)
- throw new ArgumentNullException ("view");
-
- this.view = view;
- }
-
- public ViewSchema View {
- get { return view; }
- }
- }
-
- public class ViewsNode : BaseNode
- {
- public ViewsNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class ProcedureNode : BaseNode
- {
- protected ProcedureSchema procedure;
-
- public ProcedureNode (DatabaseConnectionContext context, ProcedureSchema procedure)
- : base (context)
- {
- if (procedure == null)
- throw new ArgumentNullException ("procedure");
-
- this.procedure = procedure;
- }
-
- public ProcedureSchema Procedure {
- get { return procedure; }
- }
- }
-
- public class ProceduresNode : BaseNode
- {
- public ProceduresNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class AggregatesNode : BaseNode
- {
- public AggregatesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class GroupsNode : BaseNode
- {
- public GroupsNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class LanguagesNode : BaseNode
- {
- public LanguagesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class OperatorsNode : BaseNode
- {
- public OperatorsNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class RulesNode : BaseNode
- {
- public RulesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class RolesNode : BaseNode
- {
- public RolesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class SequencesNode : BaseNode
- {
- public SequencesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class UserNode : BaseNode
- {
- protected UserSchema user;
-
- public UserNode (DatabaseConnectionContext context, UserSchema user)
- : base (context)
- {
- if (user == null)
- throw new ArgumentNullException ("user");
-
- this.user = user;
- }
-
- public UserSchema User {
- get { return user; }
- }
- }
-
- public class UsersNode : BaseNode
- {
- public UsersNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class TypesNode : BaseNode
- {
- public TypesNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class ColumnNode : BaseNode
- {
- protected ColumnSchema column;
-
- public ColumnNode (DatabaseConnectionContext context, ColumnSchema column)
- : base (context)
- {
- if (column == null)
- throw new ArgumentNullException ("column");
-
- this.column = column;
- }
-
- public ColumnSchema Column {
- get { return column; }
- }
- }
-
- public class ColumnsNode : BaseNode
- {
- protected ISchema schema;
-
- public ColumnsNode (DatabaseConnectionContext context, ISchema schema)
- : base (context)
- {
- if (schema == null)
- throw new ArgumentNullException ("schema");
-
- this.schema = schema;
- }
-
- public ISchema Schema {
- get { return schema; }
- }
- }
-
- public class ConstraintsNode : BaseNode
- {
- protected ISchema schema;
-
- public ConstraintsNode (DatabaseConnectionContext context, ISchema schema)
- : base (context)
- {
- if (schema == null)
- throw new ArgumentNullException ("schema");
-
- this.schema = schema;
- }
-
- public ISchema Schema {
- get { return schema; }
- }
- }
-
- public class TriggersNode : BaseNode
- {
- public TriggersNode (DatabaseConnectionContext context)
- : base (context)
- {
- }
- }
-
- public class ParametersNode : BaseNode
- {
- private ProcedureSchema procedure;
-
- public ParametersNode (DatabaseConnectionContext context, ProcedureSchema procedure)
- : base (context)
- {
- if (procedure == null)
- throw new ArgumentNullException ("procedure");
-
- this.procedure = procedure;
- }
-
- public ProcedureSchema Procedure {
- get { return procedure; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Makefile.am
deleted file mode 100644
index eac24b5347..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/Makefile.am
+++ /dev/null
@@ -1,68 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.ConnectionManager.dll
-REFS = \
- $(GLIB_SHARP_LIBS) \
- $(GTK_SHARP_LIBS) \
- $(MONO_ADDINS_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Query.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:System \
- -r:System.Data \
- -r:System.Xml
-
-FILES = \
- AssemblyInfo.cs \
- Commands/ConnectionManagerCommands.cs \
- Commands/ToolbarCommands.cs \
- ConnectionManagerPad.cs \
- FakeNodes.cs \
- gtk-gui/generated.cs \
- NodeBuilders/AggregatesNodeBuilder.cs \
- NodeBuilders/ColumnNodeBuilder.cs \
- NodeBuilders/ColumnsNodeBuilder.cs \
- NodeBuilders/ConnectionContextCollectionNodeBuilder.cs \
- NodeBuilders/ConnectionContextNodeBuilder.cs \
- NodeBuilders/ConstraintNodeBuilder.cs \
- NodeBuilders/ConstraintsNodeBuilder.cs \
- NodeBuilders/GroupsNodeBuilder.cs \
- NodeBuilders/LanguagesNodeBuilder.cs \
- NodeBuilders/OperatorsNodeBuilder.cs \
- NodeBuilders/ParameterNodeBuilder.cs \
- NodeBuilders/ParametersNodeBuilder.cs \
- NodeBuilders/ProcedureNodeBuilder.cs \
- NodeBuilders/ProceduresNodeBuilder.cs \
- NodeBuilders/RolesNodeBuilder.cs \
- NodeBuilders/RulesNodeBuilder.cs \
- NodeBuilders/SequencesNodeBuilder.cs \
- NodeBuilders/TableNodeBuilder.cs \
- NodeBuilders/TablesNodeBuilder.cs \
- NodeBuilders/TriggersNodeBuilder.cs \
- NodeBuilders/TypesNodeBuilder.cs \
- NodeBuilders/UserNodeBuilder.cs \
- NodeBuilders/UsersNodeBuilder.cs \
- NodeBuilders/ViewNodeBuilder.cs \
- NodeBuilders/ViewsNodeBuilder.cs
-
-RES = \
- gtk-gui/gui.stetic \
- MonoDevelop.Database.ConnectionManager.addin.xml
-
-all: $(ASSEMBLY)
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml
deleted file mode 100644
index b460e4e94d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml
+++ /dev/null
@@ -1,452 +0,0 @@
-<Addin id = "Database.ConnectionManager"
- namespace = "MonoDevelop"
- name = "MonoDevelop Database ConnectionManager"
- author = "Christian Hergert, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database ConnectionManager Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.ConnectionManager.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Query" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Ide/Pads">
- <SolutionPad id = "ConnectionManagerPad" class = "MonoDevelop.Database.ConnectionManager.ConnectionManagerPad" defaultPlacement = "Left" _label = "Database Browser" icon = "md-db-database">
- <PadOption id = "ShowSystemObjects" _label = "Show System Objects" defaultValue = "False"/>
- <PadOption id = "ShowDatabaseName" _label = "Show Database Name" defaultValue = "False"/>
- <NodeBuilder id = "AggregatesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.AggregatesNodeBuilder"/>
- <NodeBuilder id = "ColumnNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ColumnNodeBuilder"/>
- <NodeBuilder id = "ColumnsNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ColumnsNodeBuilder"/>
- <NodeBuilder id = "ConnectionContextCollectionNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ConnectionContextCollectionNodeBuilder"/>
- <NodeBuilder id = "ConnectionContextNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ConnectionContextNodeBuilder"/>
- <NodeBuilder id = "ConstraintNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ConstraintNodeBuilder"/>
- <NodeBuilder id = "ConstraintsNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ConstraintsNodeBuilder"/>
- <NodeBuilder id = "GroupsNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.GroupsNodeBuilder"/>
- <NodeBuilder id = "LanguagesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.LanguagesNodeBuilder"/>
- <NodeBuilder id = "OperatorsNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.OperatorsNodeBuilder"/>
- <NodeBuilder id = "ParameterNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ParameterNodeBuilder"/>
- <NodeBuilder id = "ParametersNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ParametersNodeBuilder"/>
- <NodeBuilder id = "ProcedureNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ProcedureNodeBuilder"/>
- <NodeBuilder id = "ProceduresNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ProceduresNodeBuilder"/>
- <NodeBuilder id = "RolesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.RolesNodeBuilder"/>
- <NodeBuilder id = "RulesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.RulesNodeBuilder"/>
- <NodeBuilder id = "SequencesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.SequencesNodeBuilder"/>
- <NodeBuilder id = "TableNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.TableNodeBuilder"/>
- <NodeBuilder id = "TablesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.TablesNodeBuilder"/>
- <NodeBuilder id = "TriggersNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.TriggersNodeBuilder"/>
- <NodeBuilder id = "TypesNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.TypesNodeBuilder"/>
- <NodeBuilder id = "ViewNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ViewNodeBuilder"/>
- <NodeBuilder id = "ViewsNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.ViewsNodeBuilder"/>
- <NodeBuilder id = "UserNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.UserNodeBuilder"/>
- <NodeBuilder id = "UsersNodeBuilder" class = "MonoDevelop.Database.ConnectionManager.UsersNodeBuilder"/>
- </SolutionPad>
- </Extension>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ToolBar/ConnectionManagerPad" name = "Connection Manager pad toolbar">
- <Description>Connection manager pad toolbar items.</Description>
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <Extension path = "/MonoDevelop/Ide/WorkbenchContexts/Edit">
- <ContextPad id = "ConnectionManagerPad"/>
- </Extension>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/AggregatesNode" name = "Aggregates context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ColumnsNode" name = "Columns context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ColumnNode" name = "Column context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConnectionsNode" name = "Connections context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConnectionNode" name = "Connection context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConstraintNode" name = "Constraint context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConstraintsNode" name = "Constraints context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/GroupsNode" name = "Groups context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/LanguagesNode" name = "Languages context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/OperatorsNode" name = "Operators context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ParameterNode" name = "Parameter context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ParametersNode" name = "Parameters context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ProcedureNode" name = "Procedure context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ProceduresNode" name = "Procedures context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/RolesNode" name = "Roles context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/RulesNode" name = "Rules context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/SequencesNode" name = "Sequences context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TableNode" name = "Table context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TablesNode" name = "Tables context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TriggerNode" name = "Trigger context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TriggersNode" name = "Triggers context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TypesNode" name = "Types context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/UserNode" name = "User context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/UsersNode" name = "Users context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ViewNode" name = "View context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ViewsNode" name = "Views context menu">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <Extension path = "/MonoDevelop/Ide/Commands">
- <Category _name = "Database" id = "Database">
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AddConnectionByProvider"
- defaultHandler = "MonoDevelop.Database.ConnectionManager.AddConnectionHandler"
- type = "array"
- _label = "Database Provider List" />
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.EditConnection"
- _label = "Edit Connection"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.RemoveConnection"
- _label = "Remove"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.ConnectConnection"
- _label = "Connect"
- icon = "gtk-connect"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DisconnectConnection"
- _label = "Disconnect"
- icon = "gtk-disconnect"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.SelectAll"
- _label = "Select *"
- icon = "md-db-execute"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.SelectColumns"
- _label = "Select x,y,..."
- icon = "md-db-execute"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.EmptyTable"
- _label = "Empty Table"
- icon = "gtk-clear"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.Query"
- _label = "Query Database"
- icon = "md-db-execute"/>
- <!--
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.RenameDatabase"
- _label = "Rename Database">
- -->
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateDatabaseByProvider"
- defaultHandler = "MonoDevelop.Database.ConnectionManager.CreateDatabaseHandler"
- type = "array"
- _label = "Database Provider List" />
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateTable"
- _label = "Create Table"
- icon = "gtk-add"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateView"
- _label = "Create View"
- icon = "gtk-add"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateProcedure"
- _label = "Create Procedure"
- icon = "gtk-add"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateConstraint"
- _label = "Create Constraint"
- icon = "gtk-add"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateTrigger"
- _label = "Create Trigger"
- icon = "gtk-add"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateUser"
- _label = "Create User"
- icon = "gtk-add"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterDatabase"
- _label = "Alter Database"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterTable"
- _label = "Alter Table"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterView"
- _label = "Alter View"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterProcedure"
- _label = "Alter Procedure"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterConstraint"
- _label = "Alter Constraint"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterTrigger"
- _label = "Alter Trigger"
- icon = "gtk-edit"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterUser"
- _label = "Alter User"
- icon = "gtk-edit"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropDatabase"
- _label = "Drop Database"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropTable"
- _label = "Drop Table"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropView"
- _label = "Drop View"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropProcedure"
- _label = "Drop Procedure"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropTrigger"
- _label = "Drop Trigger"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropConstraint"
- _label = "Drop Constraint"
- icon = "gtk-remove"/>
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropUser"
- _label = "Drop User"
- icon = "gtk-remove"/>
-
- <!--TODO: make this item a toggle button + other icon? -->
- <Command id = "MonoDevelop.Database.ConnectionManager.ToolbarCommands.ToggleSystemObjects"
- _label = "Toggle System Objects"
- icon = "gtk-no"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropUser"
- _label = "Drop User"
- icon = "gtk-remove"/>
-
- <!-- Query Table Commands-->
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.ShowTableDefinitionInNewWindow"
- _label = "Show Table Definition in _New Window"
- icon = "gtk-edit"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.ShowTableDefinitionInClipboard"
- _label = "Show Table Definition in _Clipboard"
- icon = "gtk-edit"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QuerySelectInNewWindow"
- _label = "SELECT Query in _New Window"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QuerySelectInClipboard"
- _label = "SELECT Query in _Clipboard"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryInsertInNewWindow"
- _label = "INSERT INTO in _New Window"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryInsertInClipboard"
- _label = "INSERT INTO in _Clipboard"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryUpdateInNewWindow"
- _label = "UPDATE in _New Window"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryUpdateInClipboard"
- _label = "UPDATE in _Clipboard"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryDeleteInNewWindow"
- _label = "DELETE in _New Window"
- icon = "md-db-execute"/>
-
- <Command id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryDeleteInClipboard"
- _label = "DELETE in _Clipboard"
- icon = "md-db-execute"/>
-
-
- </Category>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConnectionsNode">
- <ItemSet id = "MonoDevelop.Database.ConnectionManager.AddConnection" _label = "Add Database Connection">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AddConnectionByProvider" />
- </ItemSet>
- <ItemSet id = "MonoDevelop.Database.ConnectionManager.CreateDatabase" _label = "Create Database">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateDatabaseByProvider" />
- </ItemSet>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConnectionNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.ConnectConnection"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DisconnectConnection"/>
- <SeparatorItem id = "DisconnectSeparator"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.Query"/>
- <SeparatorItem id = "QuerySeparator"/>
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <!--<CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.RenameDatabase"/>-->
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.EditConnection"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.RemoveConnection"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropDatabase"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TablesNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateTable"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ViewsNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateView"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ProceduresNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateProcedure"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/UsersNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateUser"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConstraintsNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateConstraint"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TriggersNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateTrigger"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TableNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.SelectAll"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.SelectColumns"/>
- <SeparatorItem id = "SelectSeparator" />
- <ItemSet id = "MonoDevelop.Database.ConnectionManager.QueryTable" _label = "Query Table">
- <ItemSet id="MonoDevelop.Database.ConnectionManager.QueryTableSelect" _label = "_SELECT">
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QuerySelectInNewWindow" />
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QuerySelectInClipboard" />
- </ItemSet>
-
- <ItemSet id="MonoDevelop.Database.ConnectionManager.QueryTableSelect" _label = "_INSERT">
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryInsertInNewWindow" />
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryInsertInClipboard" />
- </ItemSet>
-
- <ItemSet id="MonoDevelop.Database.ConnectionManager.QueryTableSelect" _label = "_UPDATE">
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryUpdateInNewWindow" />
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryUpdateInClipboard" />
- </ItemSet>
-
- <ItemSet id="MonoDevelop.Database.ConnectionManager.QueryTableSelect" _label = "_DELETE">
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryDeleteInNewWindow" />
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.QueryDeleteInClipboard" />
- </ItemSet>
-
- </ItemSet>
- <ItemSet id = "MonoDevelop.Database.ConnectionManager.ShowTableDefinition" _label = "Show Table Definition">
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.ShowTableDefinitionInNewWindow" />
- <CommandItem id="MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.ShowTableDefinitionInClipboard" />
- </ItemSet>
- <SeparatorItem id = "QuerySeparator" />
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterTable"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.EmptyTable"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropTable"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ViewNode">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.SelectAll"/>
- <SeparatorItem id = "SelectSeparator" />
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterView"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropView"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ProcedureNode">
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterProcedure"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropProcedure"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/UserNode">
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterUser"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropUser"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TriggerNode">
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterTrigger"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropTrigger"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConstraintNode">
- <CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AlterConstraint"/>
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.DropConstraint"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/MainMenu/Tools/Database">
- <ItemSet id = "MonoDevelop.Database.ConnectionManager.ToolsAddConnection" _label = "Add Database Connection" insertbefore="MonoDevelop.Database.Query.ToolCommands.Query">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.AddConnectionByProvider" />
- </ItemSet>
- <ItemSet id = "MonoDevelop.Database.ConnectionManager.ToolsCreateDatabase" _label = "Create Database">
- <CommandItem id = "MonoDevelop.Database.ConnectionManager.ConnectionManagerCommands.CreateDatabaseByProvider" />
- </ItemSet>
- <SeparatorItem id = "Separator" />
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.csproj
deleted file mode 100644
index 5a02d49799..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.csproj
+++ /dev/null
@@ -1,247 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{4717940A-3AD8-4D4C-88C8-5A6111939FAA}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.ConnectionManager</AssemblyName>
- <RootNamespace>MonoDevelop.Database.ConnectionManager</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="Mono.Posix" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Data" />
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Private>False</Private>
- <Package>mono-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VersionControl, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="ICSharpCode.NRefactory, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49">
- <Private>False</Private>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Xwt, Version=0.1.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Private>False</Private>
- <Package>monodevelop</Package>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Query\MonoDevelop.Database.Query.csproj">
- <Project>{5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}</Project>
- <Name>MonoDevelop.Database.Query</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="ConnectionManagerPad.cs" />
- <Compile Include="NodeBuilders\ConnectionContextCollectionNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ConnectionContextNodeBuilder.cs" />
- <Compile Include="NodeBuilders\TablesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ViewsNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ProceduresNodeBuilder.cs" />
- <Compile Include="NodeBuilders\UsersNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ConstraintsNodeBuilder.cs" />
- <Compile Include="FakeNodes.cs" />
- <Compile Include="NodeBuilders\TableNodeBuilder.cs" />
- <Compile Include="NodeBuilders\UserNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ProcedureNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ViewNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ColumnNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ColumnsNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ConstraintNodeBuilder.cs" />
- <Compile Include="NodeBuilders\AggregatesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\GroupsNodeBuilder.cs" />
- <Compile Include="NodeBuilders\LanguagesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\OperatorsNodeBuilder.cs" />
- <Compile Include="NodeBuilders\RolesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\RulesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\SequencesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\TriggersNodeBuilder.cs" />
- <Compile Include="NodeBuilders\TypesNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ParametersNodeBuilder.cs" />
- <Compile Include="NodeBuilders\ParameterNodeBuilder.cs" />
- <Compile Include="Commands\ConnectionManagerCommands.cs" />
- <Compile Include="Commands\ToolbarCommands.cs" />
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.ConnectionManager.addin.xml">
- <LogicalName>MonoDevelop.Database.ConnectionManager.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <GtkDesignInfo gettextClass="AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
- <ItemGroup>
- <None Include="ChangeLog" />
- </ItemGroup>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs
deleted file mode 100644
index 3597541ad9..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class AggregatesNodeBuilder : TypeNodeBuilder
- {
- public AggregatesNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (AggregatesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/AggregatesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (AggregatesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Aggregates");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Aggregates");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class AggregatesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs
deleted file mode 100644
index 5db1f37044..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ColumnNodeBuilder : TypeNodeBuilder
- {
- public ColumnNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ColumnSchema); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ColumnNode"; }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Column");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- ColumnSchema column = dataObject as ColumnSchema;
-
- nodeInfo.Label = column.Name + " (" + column.DataType.Name + ")";
- nodeInfo.Icon = Context.GetIcon ("md-db-column");
- //TODO: icon based on column type
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- ColumnNode node = state as ColumnNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
- ISchemaProvider provider = node.Column.SchemaProvider;
-
- if (provider.IsSchemaActionSupported (SchemaType.Constraint, SchemaActions.Schema))
- DispatchService.GuiDispatch (delegate {
- builder.AddChild (new ConstraintsNode (node.ConnectionContext, node.Column));
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs
deleted file mode 100644
index ee18c0c0cc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ColumnsNodeBuilder : TypeNodeBuilder
- {
- public ColumnsNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ColumnsNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ColumnsNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ColumnsNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Columns");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Columns");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- ColumnsNode node = state as ColumnsNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
- ISchema schema = node.Schema;
-
- ColumnSchemaCollection columns = null;
- if (schema is TableSchema)
- columns = node.ConnectionContext.SchemaProvider.GetTableColumns (schema as TableSchema);
- else if (schema is ViewSchema)
- columns = node.ConnectionContext.SchemaProvider.GetViewColumns (schema as ViewSchema);
-
- if (columns == null)
- return;
-
- DispatchService.GuiDispatch (delegate {
- foreach (ColumnSchema column in columns) {
- builder.AddChild (column);
- }
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- }
-
- public class ColumnsNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs
deleted file mode 100644
index 47780ce0ae..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs
+++ /dev/null
@@ -1,168 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using MonoDevelop.Core;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ConnectionContextCollectionNodeBuilder : TypeNodeBuilder
- {
- private ITreeBuilder builder;
-
- public ConnectionContextCollectionNodeBuilder ()
- : base ()
- {
- ConnectionContextService.ConnectionContextAdded += (DatabaseConnectionContextEventHandler)DispatchService.GuiDispatch (new DatabaseConnectionContextEventHandler (OnConnectionAdded));
- ConnectionContextService.ConnectionContextRemoved += (DatabaseConnectionContextEventHandler)DispatchService.GuiDispatch (new DatabaseConnectionContextEventHandler (OnConnectionRemoved));
- }
-
- public override Type NodeDataType {
- get { return typeof (DatabaseConnectionContextCollection); }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ConnectionContextCollectionCommandHandler); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConnectionsNode"; }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Database Connections");
- }
-
- public override void BuildNode (ITreeBuilder builder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Database Connections");
- nodeInfo.Icon = Context.GetIcon ("md-db-connection");
-
- this.builder = builder;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- DatabaseConnectionContextCollection collection = (DatabaseConnectionContextCollection) dataObject;
- LoggingService.LogDebug ("BuildChildNodes CONTEXT " + collection.Count);
-
- foreach (DatabaseConnectionContext context in collection)
- builder.AddChild (context);
- builder.Expanded = true;
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- LoggingService.LogDebug ("HasChildNodes CONTEXT");
- DatabaseConnectionContextCollection collection = (DatabaseConnectionContextCollection) dataObject;
- return collection.Count > 0;
- }
-
- private void OnConnectionAdded (object sender, DatabaseConnectionContextEventArgs args)
- {
- builder.AddChild (args.ConnectionContext);
- }
-
- private void OnConnectionRemoved (object sender, DatabaseConnectionContextEventArgs args)
- {
- ITreeBuilder builder = Context.GetTreeBuilder (args.ConnectionContext);
- if (builder.MoveToObject (args.ConnectionContext)) {
- builder.Remove ();
- builder.MoveToParent ();
- builder.UpdateAll ();
- }
- }
- }
-
- public class ConnectionContextCollectionCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
-// [CommandHandler (ConnectionManagerCommands.CreateDatabase)]
-// protected void OnCreateDatabase ()
-// {
-// CreateDatabaseDialog dlg = new CreateDatabaseDialog ();
-// if (dlg.Run () == (int)ResponseType.Ok) {
-// DatabaseConnectionContext context = dlg.DatabaseConnection;
-// WaitDialog.ShowDialog ("Creating database ...");
-// ThreadPool.QueueUserWorkItem (new WaitCallback (OnCreateDatabaseThreaded), context);
-// }
-// dlg.Destroy ();
-// }
-
-// [CommandUpdateHandler (ConnectionManagerCommands.CreateDatabase)]
-// protected void OnUpdateCreateDatabase (CommandInfo info)
-// {
-// info.Enabled = DbFactoryService.DbFactoryCount > 0;
-// }
-
-// [CommandHandler (ConnectionManagerCommands.AddConnection)]
-// protected void OnAddConnection ()
-// {
-// DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog ();
-// if (dlg.Run () == (int)ResponseType.Ok)
-// ConnectionContextService.AddDatabaseConnectionContext (dlg.ConnectionSettings);
-// dlg.Destroy ();
-// }
-
-// [CommandUpdateHandler (ConnectionManagerCommands.AddConnection)]
-// protected void OnUpdateAddConnection (CommandInfo info)
-// {
-// info.Enabled = DbFactoryService.DbFactoryCount > 0;
-// }
-
-// private void OnCreateDatabaseThreaded (object state)
-// {
-// DatabaseConnectionContext context = state as DatabaseConnectionContext;
-//
-// ISchemaProvider schemaProvider = context.SchemaProvider;
-// DatabaseSchema db = new DatabaseSchema (schemaProvider);
-// db.Name = context.ConnectionSettings.Database;
-//
-// schemaProvider.CreateDatabase (db);
-//
-// DispatchService.GuiDispatch (delegate () {
-// WaitDialog.HideDialog ();
-// ConnectionContextService.AddDatabaseConnectionContext (context);
-// });
-// }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs
deleted file mode 100644
index 633381690d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs
+++ /dev/null
@@ -1,292 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Database.Query;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ConnectionContextNodeBuilder : TypeNodeBuilder
- {
- public ConnectionContextNodeBuilder ()
- : base ()
- {
-
- }
-
- public override Type NodeDataType {
- get { return typeof (DatabaseConnectionContext); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConnectionNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ConnectionContextCommandHandler); }
- }
-
- public override void GetNodeAttributes (ITreeNavigator treeNavigator, object dataObject, ref NodeAttributes attributes)
- {
- attributes |= NodeAttributes.AllowRename;
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- DatabaseConnectionContext context = dataObject as DatabaseConnectionContext;
- return context.ConnectionSettings.Name;
- }
-
- public override void BuildNode (ITreeBuilder builder, object dataObject, NodeInfo nodeInfo)
- {
- DatabaseConnectionContext context = dataObject as DatabaseConnectionContext;
-
- if (((bool)builder.Options["ShowDatabaseName"]))
- nodeInfo.Label = string.Format ("{0} - ({1})",
- context.ConnectionSettings.Name, context.ConnectionSettings.Database);
- else
- nodeInfo.Label = context.ConnectionSettings.Name;
-
- if (context.HasConnectionPool) {
- IConnectionPool pool = context.ConnectionPool;
- if (pool.IsInitialized) {
- nodeInfo.Icon = Context.GetIcon ("md-db-database-ok");
- } else if (pool.HasErrors) {
- nodeInfo.Icon = Context.GetIcon ("md-db-database-error");
- MessageService.ShowError (AddinCatalog.GetString ("Unable to connect:") + Environment.NewLine + pool.Error);
- } else {
- nodeInfo.Icon = Context.GetIcon ("md-db-database");
- }
- } else {
- nodeInfo.Icon = Context.GetIcon ("md-db-database");
- }
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- QueryService.EnsureConnection (state as DatabaseConnectionContext, new DatabaseConnectionContextCallback (BuildChildNodesGui), state);
- }
-
- private void BuildChildNodesGui (DatabaseConnectionContext context, bool connected, object state)
- {
- ITreeBuilder builder = Context.GetTreeBuilder (state);
-
- builder.Update ();
- if (connected) {
- ISchemaProvider provider = context.SchemaProvider;
-
- if (provider.IsSchemaActionSupported (SchemaType.Table, SchemaActions.Schema))
- builder.AddChild (new TablesNode (context));
-
- if (provider.IsSchemaActionSupported (SchemaType.View, SchemaActions.Schema))
- builder.AddChild (new ViewsNode (context));
-
- if (provider.IsSchemaActionSupported (SchemaType.Procedure, SchemaActions.Schema))
- builder.AddChild (new ProceduresNode (context));
-
- if (provider.IsSchemaActionSupported (SchemaType.User, SchemaActions.Schema))
- builder.AddChild (new UsersNode (context));
-
- //TODO: custom datatypes, sequences, roles, operators, languages, groups and aggregates
-
- builder.Expanded = true;
- }
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
- }
-
- public class ConnectionContextCommandHandler : NodeCommandHandler
- {
- public override void RenameItem (string newName)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- if (context.ConnectionSettings.Name != newName) {
- if (ConnectionContextService.DatabaseConnections.Contains (newName)) {
- MessageService.ShowError (String.Format (
- "Unable to rename connection '{0}' to '{1}'! (duplicate name)",
- context.ConnectionSettings.Name, newName
- ));
- } else {
- context.ConnectionSettings.Name = newName;
- context.Refresh ();
- }
- }
- }
-
- [CommandHandler (ConnectionManagerCommands.RemoveConnection)]
- protected void OnRemoveConnection ()
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove connection '{0}'?", context.ConnectionSettings.Name),
- AlertButton.Remove)) {
- ConnectionContextService.RemoveDatabaseConnectionContext (context);
- }
- }
-
- [CommandHandler (ConnectionManagerCommands.EditConnection)]
- protected void OnEditConnection ()
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- DatabaseConnectionSettings newSettings;
- if (context.DbFactory.GuiProvider.ShowEditConnectionDialog (context.DbFactory,
- context.ConnectionSettings,
- out newSettings)) {
- DatabaseConnectionContext newContext = new DatabaseConnectionContext (newSettings);
- ConnectionContextService.RemoveDatabaseConnectionContext (context);
- ConnectionContextService.AddDatabaseConnectionContext (newContext);
- newContext.Refresh ();
- }
-
- }
-
- [CommandHandler (ConnectionManagerCommands.DisconnectConnection)]
- protected void OnDisconnectConnection ()
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- if (context.HasConnectionPool) {
- context.ConnectionPool.Close ();
- context.Refresh ();
- CurrentNode.Expanded = false;
- }
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.DisconnectConnection)]
- protected void OnUpdateDisconnectConnection (CommandInfo info)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- info.Enabled = context.HasConnectionPool && context.ConnectionPool.IsInitialized;
- }
-
- [CommandHandler (ConnectionManagerCommands.ConnectConnection)]
- protected void OnConnectConnection ()
- {
- CurrentNode.Expanded = true;
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.ConnectConnection)]
- protected void OnUpdateConnectConnection (CommandInfo info)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- if (context.HasConnectionPool)
- info.Enabled = !context.ConnectionPool.IsInitialized;
- else
- info.Enabled = true;
- }
-
- public override void ActivateItem ()
- {
- OnQueryCommand ();
- }
-
- [CommandHandler (ConnectionManagerCommands.Query)]
- protected void OnQueryCommand ()
- {
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = (DatabaseConnectionContext) CurrentNode.DataItem;
-
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.DropDatabase)]
- protected void OnDropDatabase ()
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- AlertButton dropButton = new AlertButton (AddinCatalog.GetString ("Drop"), Gtk.Stock.Delete);
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to drop database '{0}'", context.ConnectionSettings.Database),
- dropButton
- )) {
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnDropDatabaseThreaded), CurrentNode.DataItem);
- }
- }
-
- private void OnDropDatabaseThreaded (object state)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- try {
- context.ConnectionPool.Initialize ();
- ISchemaProvider provider = context.SchemaProvider;
- DatabaseSchema db = provider.CreateDatabaseSchema (context.ConnectionSettings.Database);
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)context.SchemaProvider;
- schemaProvider.DropDatabase (db);
- ConnectionContextService.RemoveDatabaseConnectionContext (context);
- } catch (Exception ex) {
- DispatchService.GuiDispatch (delegate {
- MessageService.ShowException (ex);
- });
- }
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.DropDatabase)]
- protected void OnUpdateDropDatabase (CommandInfo info)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- //info.Enabled = context.DbFactory.IsActionSupported ("Database", SchemaActions.Drop);
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.AlterDatabase)]
- protected void OnUpdateAlterDatabase (CommandInfo info)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- //info.Enabled = context.DbFactory.IsActionSupported ("Database", SchemaActions.Alter);
- }
-
- [CommandHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnRenameDatabase ()
- {
- //TODO: show a dialog, since inline tree renaming for this node renames the custom name
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.RenameDatabase)]
- protected void OnUpdateRenameDatabase (CommandInfo info)
- {
- DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
- //info.Enabled = context.DbFactory.IsActionSupported ("Database", SchemaActions.Rename);
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs
deleted file mode 100644
index e8d28e7be1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ConstraintNodeBuilder : TypeNodeBuilder
- {
- public ConstraintNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ConstraintSchema); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConstraintNode"; }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Constraint");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- ConstraintSchema constraint = dataObject as ConstraintSchema;
-
- nodeInfo.Label = constraint.Name;
- nodeInfo.Icon = Context.GetIcon ("md-db-constraint");
- //TODO: icon based on constraint type
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs
deleted file mode 100644
index 754c7a30fa..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs
+++ /dev/null
@@ -1,115 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ConstraintsNodeBuilder : TypeNodeBuilder
- {
- public ConstraintsNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ConstraintsNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ConstraintsNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ConstraintsNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Constraints");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Constraints");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- ConstraintsNode node = state as ConstraintsNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
-
- ConstraintSchemaCollection constraints = null;
- if (node.Schema is TableSchema) {
- constraints = (node.Schema as TableSchema).Constraints;
- } else if (node.Schema is ColumnSchema) {
- constraints = (node.Schema as ColumnSchema).Constraints;
- }
-
- if (constraints == null)
- return;
-
- DispatchService.GuiDispatch (delegate {
- foreach (ConstraintSchema constraint in constraints)
- builder.AddChild (constraint);
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- }
-
- public class ConstraintsNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs
deleted file mode 100644
index 2a8b7a3bd1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class GroupsNodeBuilder : TypeNodeBuilder
- {
- public GroupsNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (GroupsNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/GroupsNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (GroupsNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Groups");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Groups");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class GroupsNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs
deleted file mode 100644
index 6e5059d68a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class LanguagesNodeBuilder : TypeNodeBuilder
- {
- public LanguagesNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (LanguagesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/LanguagesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (LanguagesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Languages");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Languages");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class LanguagesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs
deleted file mode 100644
index 7023cca13c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class OperatorsNodeBuilder : TypeNodeBuilder
- {
- public OperatorsNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (OperatorsNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/OperatorsNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (OperatorsNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Operators");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Operators");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class OperatorsNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs
deleted file mode 100644
index 7fc6d9862d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ParameterNodeBuilder : TypeNodeBuilder
- {
- public ParameterNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ParameterSchema); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ParameterNode"; }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Parameter");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- ParameterSchema parameter = dataObject as ParameterSchema;
-
- nodeInfo.Label = parameter.Name + " (" + parameter.ParameterType.ToString () + ")";
- nodeInfo.Icon = Context.GetIcon ("md-db-column");
- //TODO: icon based on column type
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs
deleted file mode 100644
index b38ff15d90..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ParametersNodeBuilder : TypeNodeBuilder
- {
- public ParametersNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ParametersNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ParametersNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ParametersNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Parameters");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Parameters");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- ParametersNode node = state as ParametersNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
-
- ParameterSchemaCollection parameters = node.ConnectionContext.SchemaProvider.GetProcedureParameters (node.Procedure);
-
- DispatchService.GuiDispatch (delegate {
- foreach (ParameterSchema parameter in parameters) {
- builder.AddChild (parameter);
- }
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- }
-
- public class ParametersNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs
deleted file mode 100644
index fa5023af7a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs
+++ /dev/null
@@ -1,222 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ProcedureNodeBuilder : TypeNodeBuilder
- {
- public ProcedureNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ProcedureNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ProcedureNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ProcedureNodeCommandHandler); }
- }
-
- public override void GetNodeAttributes (ITreeNavigator treeNavigator, object dataObject, ref NodeAttributes attributes)
- {
- attributes |= NodeAttributes.AllowRename;
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- ProcedureNode node = dataObject as ProcedureNode;
- return node.Procedure.Name;
- }
-
- public override void BuildNode (ITreeBuilder builder, object dataObject, NodeInfo nodeInfo)
- {
- ProcedureNode node = dataObject as ProcedureNode;
-
- nodeInfo.Label = node.Procedure.Name;
- if (node.Procedure.IsFunction)
- nodeInfo.Icon = Context.GetIcon ("md-db-function");
- else
- nodeInfo.Icon = Context.GetIcon ("md-db-procedure");
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- ProcedureNode node = state as ProcedureNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
- ISchemaProvider provider = node.ConnectionContext.SchemaProvider;
-
- if (provider.IsSchemaActionSupported (SchemaType.Constraint, SchemaActions.Schema))
- DispatchService.GuiDispatch (delegate {
- builder.AddChild (new ParametersNode (node.ConnectionContext, node.Procedure));
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- ProcedureNode node = dataObject as ProcedureNode;
- return node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.ProcedureParameter, SchemaActions.Schema);
- }
-
- }
-
- public class ProcedureNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- public override void RenameItem (string newName)
- {
- ProcedureNode node = (ProcedureNode)CurrentNode.DataItem;
- if (node.Procedure.Name != newName)
- ThreadPool.QueueUserWorkItem (new WaitCallback (RenameItemThreaded), new object[]{ node, newName });
- }
-
- private void RenameItemThreaded (object state)
- {
- object[] objs = state as object[];
-
- ProcedureNode node = objs[0] as ProcedureNode;
- string newName = objs[1] as string;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.Procedure.SchemaProvider;
-
- if (provider.IsValidName (newName)) {
- provider.RenameProcedure (node.Procedure, newName);
- node.Refresh ();
- } else {
- DispatchService.GuiDispatch (delegate () {
- MessageService.ShowError (String.Format (
- "Unable to rename procedure '{0}' to '{1}'!",
- node.Procedure.Name, newName
- ));
- });
- }
- node.Refresh ();
- }
-
- protected void OnRefreshParent ()
- {
- if (CurrentNode.MoveToParent ()) {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- node.Refresh ();
- }
- }
-
- [CommandHandler (ConnectionManagerCommands.AlterProcedure)]
- protected void OnAlterProcedure ()
- {
- ProcedureNode node = CurrentNode.DataItem as ProcedureNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- ProcedureSchema alterProc = (ProcedureSchema)node.Procedure.Clone ();
- if (fac.GuiProvider.ShowProcedureEditorDialog (schemaProvider, alterProc, false))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnAlterProcedureThreaded), alterProc);
- }
-
- private void OnAlterProcedureThreaded (object state)
- {
- ProcedureNode node = CurrentNode.DataItem as ProcedureNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- ProcedureAlterSchema alterSchema = new ProcedureAlterSchema (node.Procedure, (ProcedureSchema)((ProcedureSchema)state).Clone ());
- schemaProvider.AlterProcedure (alterSchema);
- OnRefreshParent ();
- }
-
- [CommandHandler (ConnectionManagerCommands.DropProcedure)]
- protected void OnDropProcedure ()
- {
- ProcedureNode node = (ProcedureNode)CurrentNode.DataItem;
- AlertButton dropButton = new AlertButton (AddinCatalog.GetString ("Drop"), Gtk.Stock.Delete);
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to drop procedure '{0}'", node.Procedure.Name),
- dropButton
- )) {
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnDropProcedureThreaded), CurrentNode.DataItem);
- }
- }
-
- private void OnDropProcedureThreaded (object state)
- {
- ProcedureNode node = (ProcedureNode)state;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- provider.DropProcedure (node.Procedure);
- OnRefreshParent ();
- }
-
- [CommandHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnRenameProcedure ()
- {
- Tree.StartLabelEdit ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.DropProcedure)]
- protected void OnUpdateDropProcedure (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- //info.Enabled = node.ConnectionContext.DbFactory.IsActionSupported ("Procedure", SchemaActions.Drop);
- }
-
- [CommandUpdateHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnUpdateRenameProcedure (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- //info.Enabled = node.ConnectionContext.DbFactory.IsActionSupported ("Procedure", SchemaActions.Rename);
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.AlterProcedure)]
- protected void OnUpdateAlterProcedure (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- //info.Enabled = node.ConnectionContext.DbFactory.IsActionSupported ("Procedure", SchemaActions.Alter);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs
deleted file mode 100644
index 4a69757230..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs
+++ /dev/null
@@ -1,153 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ProceduresNodeBuilder : TypeNodeBuilder
- {
- private EventHandler RefreshHandler;
- public ProceduresNodeBuilder ()
- : base ()
- {
- RefreshHandler += new EventHandler(OnRefreshEvent);
- }
-
- public override Type NodeDataType {
- get { return typeof (ProceduresNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ProceduresNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ProceduresNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Procedures");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Procedures");
- nodeInfo.Icon = Context.GetIcon ("md-db-procedure");
-
- BaseNode node = (BaseNode) dataObject;
- node.RefreshEvent += RefreshHandler;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- BaseNode node = state as BaseNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
-
- bool showSystemObjects = (bool)builder.Options["ShowSystemObjects"];
- ProcedureSchemaCollection procedures = node.ConnectionContext.SchemaProvider.GetProcedures ();
- DispatchService.GuiDispatch (delegate {
- foreach (ProcedureSchema procedure in procedures) {
- if (procedure.IsSystemProcedure && !showSystemObjects)
- continue;
-
- builder.AddChild (new ProcedureNode (node.ConnectionContext, procedure));
- }
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- private void OnRefreshEvent (object sender, EventArgs args)
- {
- DispatchService.GuiDispatch (delegate {
- ITreeBuilder builder = Context.GetTreeBuilder (sender);
- builder.UpdateChildren ();
- });
- }
- }
-
- public class ProceduresNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- [CommandHandler (ConnectionManagerCommands.CreateProcedure)]
- protected void OnCreateProcedure ()
- {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- ProcedureSchema proc = schemaProvider.CreateProcedureSchema ("NewProcedure");
-
- if (fac.GuiProvider.ShowProcedureEditorDialog (schemaProvider, proc, true))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnCreateProcedureThreaded), new object[] {schemaProvider, proc, node} as object);
- }
-
- private void OnCreateProcedureThreaded (object state)
- {
- object[] objs = state as object[];
-
- IEditSchemaProvider provider = objs[0] as IEditSchemaProvider;
- ProcedureSchema proc = objs[1] as ProcedureSchema;
- BaseNode node = objs[2] as BaseNode;
-
- provider.CreateProcedure (proc);
- node.Refresh ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.CreateProcedure)]
- protected void OnUpdateCreateProcedure (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.Procedure, SchemaActions.Create);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs
deleted file mode 100644
index d0f7b867e2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class RolesNodeBuilder : TypeNodeBuilder
- {
- public RolesNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (RolesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/RolesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (RolesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Roles");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Roles");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class RolesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs
deleted file mode 100644
index e3cb083523..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class RulesNodeBuilder : TypeNodeBuilder
- {
- public RulesNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (RulesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/RulesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (RulesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Rules");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Rules");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class RulesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs
deleted file mode 100644
index e1c0241cc6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class SequencesNodeBuilder : TypeNodeBuilder
- {
- public SequencesNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (SequencesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/SequencesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (SequencesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Sequences");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Sequences");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class SequencesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs
deleted file mode 100644
index 9b8ec62216..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs
+++ /dev/null
@@ -1,448 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using SQL = MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Database.Query;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class TableNodeBuilder : TypeNodeBuilder
- {
- public TableNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (TableNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TableNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (TableNodeCommandHandler); }
- }
-
- public override void GetNodeAttributes (ITreeNavigator treeNavigator, object dataObject, ref NodeAttributes attributes)
- {
- attributes |= NodeAttributes.AllowRename;
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- TableNode node = dataObject as TableNode;
- return node.Table.Name;
- }
-
- public override void BuildNode (ITreeBuilder builder, object dataObject, NodeInfo nodeInfo)
- {
- TableNode node = dataObject as TableNode;
-
- nodeInfo.Label = node.Table.Name;
- nodeInfo.Icon = Context.GetIcon ("md-db-table");
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- TableNode node = state as TableNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
- ISchemaProvider provider = node.ConnectionContext.SchemaProvider;
-
- if (provider.IsSchemaActionSupported (SQL.SchemaType.TableColumn, SchemaActions.Schema))
- DispatchService.GuiDispatch (delegate {
- builder.AddChild (new ColumnsNode (node.ConnectionContext, node.Table));
- });
-
- if (provider.IsSchemaActionSupported (SQL.SchemaType.Constraint, SchemaActions.Schema))
- DispatchService.GuiDispatch (delegate {
- builder.AddChild (new ConstraintsNode (node.ConnectionContext, node.Table));
- });
-
- if (provider.IsSchemaActionSupported (SQL.SchemaType.Trigger, SchemaActions.Schema))
- DispatchService.GuiDispatch (delegate {
- builder.AddChild (new TriggersNode (node.ConnectionContext));
- });
-
- //TODO: rules
-
- DispatchService.GuiDispatch (delegate {
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- }
-
- public class TableNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- public override void ActivateItem ()
- {
- OnQueryCommand ();
- }
-
- public override void RenameItem (string newName)
- {
- TableNode node = (TableNode)CurrentNode.DataItem;
- if (node.Table.Name != newName)
- ThreadPool.QueueUserWorkItem (new WaitCallback (RenameItemThreaded), new object[]{ node, newName });
- }
-
- private void RenameItemThreaded (object state)
- {
- object[] objs = state as object[];
-
- TableNode node = objs[0] as TableNode;
- string newName = objs[1] as string;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.Table.SchemaProvider;
-
- if (provider.IsValidName (newName)) {
- provider.RenameTable (node.Table, newName);
- node.Refresh ();
- } else {
- DispatchService.GuiDispatch (delegate () {
- MessageService.ShowError (String.Format (
- "Unable to rename table '{0}' to '{1}'!",
- node.Table.Name, newName
- ));
- });
- }
- node.Refresh ();
- }
-
- [CommandHandler (ConnectionManagerCommands.Query)]
- protected void OnQueryCommand ()
- {
- TableNode node = (TableNode)CurrentNode.DataItem;
-
- IdentifierExpression tableId = new IdentifierExpression (node.Table.Name);
- SelectStatement sel = new SelectStatement (new FromTableClause (tableId));
-
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = node.ConnectionContext;
-
- IDbFactory fac = DbFactoryService.GetDbFactory (node.ConnectionContext.ConnectionSettings);
- view.Text = fac.Dialect.GetSql (sel);
-
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.SelectColumns)]
- protected void OnSelectColumnsCommand ()
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnSelectColumnsCommandGetColumns), CurrentNode.DataItem);
- }
-
- private void OnSelectColumnsCommandGetColumns (object state)
- {
- TableNode node = (TableNode)state;
-
- ColumnSchemaCollection columns = node.Table.Columns; //this can invoke the schema provider, so it must be in bg thread
-
- DispatchService.GuiDispatch (delegate () {
- SelectColumnDialog dlg = new SelectColumnDialog (true, columns);
- if (dlg.Run () == (int)Gtk.ResponseType.Ok) {
- IdentifierExpression tableId = new IdentifierExpression (node.Table.Name);
- List<IdentifierExpression> cols = new List<IdentifierExpression> ();
- foreach (ColumnSchema schema in dlg.CheckedColumns)
- cols.Add (new IdentifierExpression (schema.Name));
-
- SelectStatement sel = new SelectStatement (new FromTableClause (tableId), cols);
-
- IPooledDbConnection conn = node.ConnectionContext.ConnectionPool.Request ();
- IDbCommand command = conn.CreateCommand (sel);
-
- conn.ExecuteTableAsync (command, new ExecuteCallback<DataTable> (OnSelectCommandThreaded), null);
- }
- dlg.Destroy ();
- });
- }
-
- [CommandHandler (ConnectionManagerCommands.SelectAll)]
- protected void OnSelectAllCommand ()
- {
- TableNode node = (TableNode)CurrentNode.DataItem;
-
- IdentifierExpression tableId = new IdentifierExpression (node.Table.Name);
- SelectStatement sel = new SelectStatement (new FromTableClause (tableId));
-
- IPooledDbConnection conn = node.ConnectionContext.ConnectionPool.Request ();
- IDbCommand command = conn.CreateCommand (sel);
- conn.ExecuteTableAsync (command, new ExecuteCallback<DataTable> (OnSelectCommandThreaded), null);
- }
-
- private void OnSelectCommandThreaded (IPooledDbConnection connection, DataTable table, object state)
- {
- connection.Release ();
-
- DispatchService.GuiDispatch (delegate () {
- QueryResultView view = new QueryResultView (table);
- IdeApp.Workbench.OpenDocument (view, true);
- });
- }
-
- [CommandHandler (ConnectionManagerCommands.EmptyTable)]
- protected void OnEmptyTable ()
- {
- TableNode node = (TableNode)CurrentNode.DataItem;
-
- AlertButton emptyButton = new AlertButton (AddinCatalog.GetString ("Empty Table"));
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to empty table '{0}'", node.Table.Name),
- emptyButton
- )) {
- IdentifierExpression tableId = new IdentifierExpression (node.Table.Name);
- DeleteStatement del = new DeleteStatement (new FromTableClause (tableId));
-
- IPooledDbConnection conn = node.ConnectionContext.ConnectionPool.Request ();
- IDbCommand command = conn.CreateCommand (del);
- conn.ExecuteNonQueryAsync (command, new ExecuteCallback<int> (OnEmptyTableCallback), null);
- }
- }
-
- private void OnEmptyTableCallback (IPooledDbConnection connection, int result, object state)
- {
- connection.Release ();
-
- DispatchService.GuiDispatch (delegate () {
- IdeApp.Workbench.StatusBar.ShowMessage (AddinCatalog.GetString ("Table emptied"));
- });
- }
-
- [CommandHandler (ConnectionManagerCommands.DropTable)]
- protected void OnDropTable ()
- {
- TableNode node = (TableNode)CurrentNode.DataItem;
- AlertButton dropButton = new AlertButton (AddinCatalog.GetString ("Drop"), Gtk.Stock.Delete);
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to drop table '{0}'", node.Table.Name),
- dropButton
- )) {
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnDropTableThreaded), CurrentNode.DataItem);
- }
- }
-
- private void OnDropTableThreaded (object state)
- {
- TableNode node = (TableNode)state;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- provider.DropTable (node.Table);
- OnRefreshParent ();
- }
-
- protected void OnRefreshParent ()
- {
- if (CurrentNode.MoveToParent ()) {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- node.Refresh ();
- }
- }
-
- [CommandHandler (ConnectionManagerCommands.AlterTable)]
- protected void OnAlterTable ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- if (fac.GuiProvider.ShowTableEditorDialog (schemaProvider, node.Table, false))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnAlterTableThreaded), CurrentNode.DataItem);
- }
-
- private void OnAlterTableThreaded (object state)
- {
-// TableNode node = (TableNode)state;
-// IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-//
-// provider.AlterTable (node.Table);
- }
-
- [CommandHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnRenameTable ()
- {
- Tree.StartLabelEdit ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.DropTable)]
- protected void OnUpdateDropTable (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SQL.SchemaType.Table, SchemaActions.Drop);
- }
-
- [CommandUpdateHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnUpdateRenameTable (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SQL.SchemaType.Table, SchemaActions.Rename);
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.AlterTable)]
- protected void OnUpdateAlterTable (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SQL.SchemaType.Table, SchemaActions.Alter);
- }
-
- [CommandHandler (ConnectionManagerCommands.QuerySelectInNewWindow)]
- protected void OnSelectQueryOnNewWindow ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = node.ConnectionContext;
- view.TextEditor.Insert (0, schemaProvider.GetSelectQuery (node.Table));
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.QuerySelectInClipboard)]
- protected void OnSelectQueryOnClipboard ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- Gtk.Clipboard clp = Clipboard.Get (Gdk.Selection.Clipboard);
- clp.Text = schemaProvider.GetSelectQuery (node.Table);
- MessageService.ShowMessage (AddinCatalog.GetString ("SELECT statement has been copied to Clipboard."));
- }
-
- [CommandHandler (ConnectionManagerCommands.QueryUpdateInNewWindow)]
- protected void OnUpdateQueryOnNewWindow ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = node.ConnectionContext;
- view.TextEditor.Insert (0, schemaProvider.GetUpdateQuery (node.Table));
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.QueryUpdateInClipboard)]
- protected void OnUpdateQueryOnClipboard ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- Gtk.Clipboard clp = Clipboard.Get (Gdk.Selection.Clipboard);
- clp.Text = schemaProvider.GetUpdateQuery (node.Table);
- MessageService.ShowMessage (AddinCatalog.GetString ("UPDATE Statement has been copied to Clipboard."));
- }
-
- [CommandHandler (ConnectionManagerCommands.QueryInsertInNewWindow)]
- protected void OnInsertQueryOnNewWindow ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = node.ConnectionContext;
- view.TextEditor.Insert (0, schemaProvider.GetInsertQuery (node.Table));
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.QueryInsertInClipboard)]
- protected void OnInsertQueryOnClipboard ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- Gtk.Clipboard clp = Clipboard.Get (Gdk.Selection.Clipboard);
- clp.Text = schemaProvider.GetInsertQuery (node.Table);
- MessageService.ShowMessage (AddinCatalog.GetString ("INSERT INTO Statement has been copied to Clipboard."));
- }
-
- [CommandHandler (ConnectionManagerCommands.QueryDeleteInNewWindow)]
- protected void OnDeleteQueryOnNewWindow ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = node.ConnectionContext;
- view.TextEditor.Insert (0, schemaProvider.GetDeleteQuery (node.Table));
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.QueryDeleteInClipboard)]
- protected void OnDeleteQueryOnClipboard ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- Gtk.Clipboard clp = Clipboard.Get (Gdk.Selection.Clipboard);
- clp.Text = schemaProvider.GetDeleteQuery (node.Table);
- MessageService.ShowMessage (AddinCatalog.GetString ("DELETE Statement has been copied to Clipboard."));
- }
-
- [CommandHandler (ConnectionManagerCommands.ShowTableDefinitionInNewWindow)]
- protected void OnShowDefinitionOnNewWindow ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- SqlQueryView view = new SqlQueryView ();
- view.SelectedConnectionContext = node.ConnectionContext;
- view.TextEditor.Insert (0, schemaProvider.GetTableCreateStatement (node.Table));
- IdeApp.Workbench.OpenDocument (view, true);
- }
-
- [CommandHandler (ConnectionManagerCommands.ShowTableDefinitionInClipboard)]
- protected void OnShowDefinitionOnClipboard ()
- {
- TableNode node = CurrentNode.DataItem as TableNode;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- Gtk.Clipboard clp = Clipboard.Get (Gdk.Selection.Clipboard);
- clp.Text = schemaProvider.GetTableCreateStatement (node.Table);
- MessageService.ShowMessage (AddinCatalog.GetString ("CREATE Statement has been copied to Clipboard."));
- }
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs
deleted file mode 100644
index 771490f435..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs
+++ /dev/null
@@ -1,183 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class TablesNodeBuilder : TypeNodeBuilder
- {
- private EventHandler RefreshHandler;
-
- public TablesNodeBuilder ()
- : base ()
- {
- RefreshHandler += new EventHandler(OnRefreshEvent);
- }
-
- public override Type NodeDataType {
- get { return typeof (TablesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TablesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (TablesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Tables");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Tables");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
- BaseNode node = (BaseNode) dataObject;
- node.RefreshEvent += RefreshHandler;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- BaseNode node = state as BaseNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
- bool showSystemObjects = (bool)builder.Options["ShowSystemObjects"];
- TableSchemaCollection tables = node.ConnectionContext.SchemaProvider.GetTables ();
-
- DispatchService.GuiDispatch (delegate {
- foreach (TableSchema table in tables) {
- if (table.IsSystemTable && !showSystemObjects)
- continue;
-
- builder.AddChild (new TableNode (node.ConnectionContext, table));
- }
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- private void OnRefreshEvent (object sender, EventArgs args)
- {
- DispatchService.GuiDispatch (delegate {
- ITreeBuilder builder = Context.GetTreeBuilder (sender);
- builder.UpdateChildren ();
- // builder.UpdateChildren ();
- // builder.ExpandToNode ();
- });
- }
-
- }
-
- public class TablesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- [CommandHandler (ConnectionManagerCommands.CreateTable)]
- protected void OnCreateTable ()
- {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- // Need to detect if it is a previous (saved) table with the same name.
- string name = AddinCatalog.GetString("NewTable");
- int lastIdx = 0;
- TableSchemaCollection tables = schemaProvider.GetTables ();
- for (int t = tables.Count-1; t > -1; t--) {
- if (tables[t].Name.ToLower () == name.ToLower ()) {
- name = string.Concat (name, "1");
- break;
- } else if (tables[t].Name.StartsWith (name, StringComparison.OrdinalIgnoreCase)) {
- string idx = tables[t].Name.Substring (name.Length);
- int newIdx;
- if (int.TryParse (idx, out newIdx)) {
- lastIdx = newIdx;
- break;
- }
-
- }
- }
- if (lastIdx != 0)
- name = String.Concat (name, lastIdx+1);
-
- TableSchema table = schemaProvider.CreateTableSchema (name);
- if (fac.GuiProvider.ShowTableEditorDialog (schemaProvider, table, true))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnCreateTableThreaded), new object[] {schemaProvider, table, node} as object);
- }
-
- private void OnCreateTableThreaded (object state)
- {
- object[] objs = state as object[];
-
- ISchemaProvider provider = objs[0] as ISchemaProvider;
- TableSchema table = objs[1] as TableSchema;
- BaseNode node = objs[2] as BaseNode;
-
- LoggingService.LogDebug ("ADD TABLE: {0}", table.Definition);
-
- IPooledDbConnection conn = provider.ConnectionPool.Request ();
- conn.ExecuteNonQuery (table.Definition);
- conn.Release ();
- node.Refresh ();
-
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.CreateTable)]
- protected void OnUpdateCreateTable (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.Table, SchemaActions.Create);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs
deleted file mode 100644
index afd59e1411..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class TriggersNodeBuilder : TypeNodeBuilder
- {
- public TriggersNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (TriggersNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TriggersNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (TriggersNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Triggers");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Triggers");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class TriggersNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.CreateTrigger)]
- protected void OnUpdateCreateTrigger (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.Trigger, SchemaActions.Create);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs
deleted file mode 100644
index 9c7c1bf475..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class TypesNodeBuilder : TypeNodeBuilder
- {
- public TypesNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (TypesNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/TypesNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (TypesNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Types");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Types");
- nodeInfo.Icon = Context.GetIcon ("md-db-tables");
-
- BaseNode node = (BaseNode) dataObject;
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- //TODO:
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class TypesNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs
deleted file mode 100644
index a563e2606b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs
+++ /dev/null
@@ -1,201 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class UserNodeBuilder : TypeNodeBuilder
- {
-
- public UserNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (UserNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/UserNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (UserNodeCommandHandler); }
- }
-
- public override void GetNodeAttributes (ITreeNavigator treeNavigator, object dataObject, ref NodeAttributes attributes)
- {
- attributes |= NodeAttributes.AllowRename;
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- UserNode node = dataObject as UserNode;
- return node.User.Name;
- }
-
- public override void BuildNode (ITreeBuilder builder, object dataObject, NodeInfo nodeInfo)
- {
- UserNode node = dataObject as UserNode;
- // node.RefreshEvent += (EventHandler)DispatchService.GuiDispatch (RefreshHandler);
-
- nodeInfo.Label = node.User.Name;
- nodeInfo.Icon = Context.GetIcon ("md-db-user");
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return false;
- }
-
- }
-
- public class UserNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- public override void RenameItem (string newName)
- {
- UserNode node = (UserNode)CurrentNode.DataItem;
- if (node.User.Name != newName)
- ThreadPool.QueueUserWorkItem (new WaitCallback (RenameItemThreaded), new object[]{ node, newName });
- }
-
- private void RenameItemThreaded (object state)
- {
- object[] objs = state as object[];
-
- UserNode node = objs[0] as UserNode;
- string newName = objs[1] as string;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.User.SchemaProvider;
-
- if (provider.IsValidName (newName)) {
- provider.RenameUser (node.User, newName);
- node.Refresh ();
- } else {
- DispatchService.GuiDispatch (delegate () {
- MessageService.ShowError (String.Format (
- "Unable to rename user '{0}' to '{1}'!",
- node.User.Name, newName
- ));
- });
- }
- node.Refresh ();
- }
-
- protected void OnRefreshParent ()
- {
- if (CurrentNode.MoveToParent ()) {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- node.Refresh ();
- }
- }
-
- [CommandHandler (ConnectionManagerCommands.AlterUser)]
- protected void OnAlterUser ()
- {
- UserNode node = CurrentNode.DataItem as UserNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- if (fac.GuiProvider.ShowUserEditorDialog (schemaProvider, node.User, false))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnAlterUserThreaded), CurrentNode.DataItem);
- }
-
- private void OnAlterUserThreaded (object state)
- {
-// UserNode node = (UserNode)state;
-// IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-//
-// provider.AlterUser (node.User);
- }
-
- [CommandHandler (ConnectionManagerCommands.DropUser)]
- protected void OnDropUser ()
- {
- UserNode node = (UserNode)CurrentNode.DataItem;
- AlertButton dropButton = new AlertButton (AddinCatalog.GetString ("Drop"), Gtk.Stock.Delete);
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to drop user '{0}'", node.User.Name),
- dropButton
- )) {
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnDropUserThreaded), CurrentNode.DataItem);
- }
- }
-
- private void OnDropUserThreaded (object state)
- {
- UserNode node = (UserNode)state;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- provider.DropUser (node.User);
- OnRefreshParent ();
- }
-
- [CommandHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnRenameUser ()
- {
- Tree.StartLabelEdit ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.DropUser)]
- protected void OnUpdateDropUser (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.User, SchemaActions.Drop);
- }
-
- [CommandUpdateHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnUpdateRenameUser (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.User, SchemaActions.Rename);
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.AlterUser)]
- protected void OnUpdateAlterUser (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.User, SchemaActions.Alter);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs
deleted file mode 100644
index 43c40df5d8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs
+++ /dev/null
@@ -1,148 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class UsersNodeBuilder : TypeNodeBuilder
- {
- private EventHandler RefreshHandler;
- public UsersNodeBuilder ()
- : base ()
- {
- RefreshHandler += new EventHandler(OnRefreshEvent);
- }
-
- public override Type NodeDataType {
- get { return typeof (UsersNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/UsersNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (UsersNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Users");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Users");
- nodeInfo.Icon = Context.GetIcon ("md-db-users");
-
- BaseNode node = (BaseNode) dataObject;
- RefreshHandler += new EventHandler(OnRefreshEvent);
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- BaseNode node = state as BaseNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
-
- UserSchemaCollection users = node.ConnectionContext.SchemaProvider.GetUsers ();
- DispatchService.GuiDispatch (delegate {
- foreach (UserSchema user in users)
- builder.AddChild (new UserNode (node.ConnectionContext, user));
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- private void OnRefreshEvent (object sender, EventArgs args)
- {
- DispatchService.GuiDispatch (delegate {
- ITreeBuilder builder = Context.GetTreeBuilder (sender);
- builder.UpdateChildren ();
- });
- }
- }
-
- public class UsersNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- [CommandHandler (ConnectionManagerCommands.CreateUser)]
- protected void OnCreateUser ()
- {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- UserSchema user = schemaProvider.CreateUserSchema ("NewUser");
-
- if (fac.GuiProvider.ShowUserEditorDialog (schemaProvider, user, true))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnCreateUserThreaded), new object[] {schemaProvider, user, node} as object);
- }
-
- private void OnCreateUserThreaded (object state)
- {
- object[] objs = state as object[];
-
- IEditSchemaProvider provider = objs[0] as IEditSchemaProvider;
- UserSchema user = objs[1] as UserSchema;
- BaseNode node = objs[2] as BaseNode;
-
- provider.CreateUser (user);
- node.Refresh ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.CreateUser)]
- protected void OnUpdateCreateUser (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.User, SchemaActions.Create);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs
deleted file mode 100644
index e0d608c56f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs
+++ /dev/null
@@ -1,219 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ViewNodeBuilder : TypeNodeBuilder
- {
-
- public ViewNodeBuilder ()
- : base ()
- {
- }
-
- public override Type NodeDataType {
- get { return typeof (ViewNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ViewNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ViewNodeCommandHandler); }
- }
-
- public override void GetNodeAttributes (ITreeNavigator treeNavigator, object dataObject, ref NodeAttributes attributes)
- {
- attributes |= NodeAttributes.AllowRename;
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- ViewNode node = dataObject as ViewNode;
- return node.View.Name;
- }
-
- public override void BuildNode (ITreeBuilder builder, object dataObject, NodeInfo nodeInfo)
- {
- ViewNode node = dataObject as ViewNode;
-
- nodeInfo.Label = node.View.Name;
- nodeInfo.Icon = Context.GetIcon ("md-db-view");
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- ViewNode node = state as ViewNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
- ISchemaProvider provider = node.ConnectionContext.SchemaProvider;
-
- if (provider.IsSchemaActionSupported (SchemaType.ViewColumn, SchemaActions.Schema))
- DispatchService.GuiDispatch (delegate {
- builder.AddChild (new ColumnsNode (node.ConnectionContext, node.View));
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- ViewNode node = dataObject as ViewNode;
- return node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.ViewColumn, SchemaActions.Schema);
- }
-
- }
-
- public class ViewNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- public override void RenameItem (string newName)
- {
- ViewNode node = (ViewNode)CurrentNode.DataItem;
- if (node.View.Name != newName)
- ThreadPool.QueueUserWorkItem (new WaitCallback (RenameItemThreaded), new object[]{ node, newName });
- }
-
- private void RenameItemThreaded (object state)
- {
- object[] objs = state as object[];
-
- ViewNode node = objs[0] as ViewNode;
- string newName = objs[1] as string;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.View.SchemaProvider;
-
- if (provider.IsValidName (newName)) {
- provider.RenameView (node.View, newName);
- node.Refresh ();
- } else {
- DispatchService.GuiDispatch (delegate () {
- MessageService.ShowError (String.Format (
- "Unable to rename view '{0}' to '{1}'!",
- node.View.Name, newName
- ));
- });
- }
- node.Refresh ();
- }
-
- protected void OnRefreshParent ()
- {
- if (CurrentNode.MoveToParent ()) {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- node.Refresh ();
- }
- }
-
- [CommandHandler (ConnectionManagerCommands.AlterView)]
- protected void OnAlterView ()
- {
- ViewNode node = CurrentNode.DataItem as ViewNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- if (fac.GuiProvider.ShowViewEditorDialog (schemaProvider, node.View, false))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnAlterViewThreaded), CurrentNode.DataItem);
- }
-
- private void OnAlterViewThreaded (object state)
- {
-// ViewNode node = (ViewNode)state;
-// IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-//
-// provider.AlterView (node.View);
- }
-
- [CommandHandler (ConnectionManagerCommands.DropView)]
- protected void OnDropView ()
- {
- ViewNode node = (ViewNode)CurrentNode.DataItem;
- AlertButton dropButton = new AlertButton (AddinCatalog.GetString ("Drop"), Gtk.Stock.Delete);
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to drop view '{0}'", node.View.Name),
- dropButton
- )) {
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnDropViewThreaded), CurrentNode.DataItem);
- }
- }
-
- private void OnDropViewThreaded (object state)
- {
- ViewNode node = (ViewNode)state;
- IEditSchemaProvider provider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
-
- provider.DropView (node.View);
- OnRefreshParent ();
- }
-
- [CommandHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnRenameView ()
- {
- Tree.StartLabelEdit ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.DropView)]
- protected void OnUpdateDropView (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.View, SchemaActions.Drop);
- }
-
- [CommandUpdateHandler (MonoDevelop.Ide.Commands.EditCommands.Rename)]
- protected void OnUpdateRenameView (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.View, SchemaActions.Rename);
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.AlterView)]
- protected void OnUpdateAlterView (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.View, SchemaActions.Alter);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs
deleted file mode 100644
index 18fd11c0d2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs
+++ /dev/null
@@ -1,153 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui.Components;
-
-namespace MonoDevelop.Database.ConnectionManager
-{
- public class ViewsNodeBuilder : TypeNodeBuilder
- {
- private EventHandler RefreshHandler;
- public ViewsNodeBuilder ()
- : base ()
- {
- RefreshHandler += new EventHandler(OnRefreshEvent);
- }
-
- public override Type NodeDataType {
- get { return typeof (ViewsNode); }
- }
-
- public override string ContextMenuAddinPath {
- get { return "/MonoDevelop/Database/ContextMenu/ConnectionManagerPad/ViewsNode"; }
- }
-
- public override Type CommandHandlerType {
- get { return typeof (ViewsNodeCommandHandler); }
- }
-
- public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
- {
- return AddinCatalog.GetString ("Views");
- }
-
- public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
- {
- nodeInfo.Label = AddinCatalog.GetString ("Views");
- nodeInfo.Icon = Context.GetIcon ("md-db-views");
-
- BaseNode node = (BaseNode) dataObject;
-
- }
-
- public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
- {
- ThreadPool.QueueUserWorkItem (new WaitCallback (BuildChildNodesThreaded), dataObject);
- }
-
- private void BuildChildNodesThreaded (object state)
- {
- BaseNode node = state as BaseNode;
- ITreeBuilder builder = Context.GetTreeBuilder (state);
-
- bool showSystemObjects = (bool)builder.Options["ShowSystemObjects"];
- ViewSchemaCollection views = node.ConnectionContext.SchemaProvider.GetViews ();
- DispatchService.GuiDispatch (delegate {
- foreach (ViewSchema view in views) {
- if (view.IsSystemView && !showSystemObjects)
- continue;
-
- builder.AddChild (new ViewNode (node.ConnectionContext, view));
- }
- builder.Expanded = true;
- });
- }
-
- public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
- {
- return true;
- }
-
- private void OnRefreshEvent (object sender, EventArgs args)
- {
- DispatchService.GuiDispatch (delegate {
- ITreeBuilder builder = Context.GetTreeBuilder (sender);
- builder.UpdateChildren ();
- });
- }
- }
-
- public class ViewsNodeCommandHandler : NodeCommandHandler
- {
- public override DragOperation CanDragNode ()
- {
- return DragOperation.None;
- }
-
- [CommandHandler (ConnectionManagerCommands.CreateView)]
- protected void OnCreateView ()
- {
- BaseNode node = CurrentNode.DataItem as BaseNode;
- IDbFactory fac = node.ConnectionContext.DbFactory;
- IEditSchemaProvider schemaProvider = (IEditSchemaProvider)node.ConnectionContext.SchemaProvider;
- ViewSchema view = schemaProvider.CreateViewSchema ("NewView");
-
- if (fac.GuiProvider.ShowViewEditorDialog (schemaProvider, view, true))
- ThreadPool.QueueUserWorkItem (new WaitCallback (OnCreateViewThreaded), new object[] {schemaProvider, view, node} as object);
- }
-
- private void OnCreateViewThreaded (object state)
- {
- object[] objs = state as object[];
-
- IEditSchemaProvider provider = objs[0] as IEditSchemaProvider;
- ViewSchema view = objs[1] as ViewSchema;
- BaseNode node = objs[2] as BaseNode;
-
- provider.CreateView (view);
- node.Refresh ();
- }
-
- [CommandUpdateHandler (ConnectionManagerCommands.CreateView)]
- protected void OnUpdateCreateView (CommandInfo info)
- {
- BaseNode node = (BaseNode)CurrentNode.DataItem;
- info.Enabled = node.ConnectionContext.SchemaProvider.IsSchemaActionSupported (SchemaType.View, SchemaActions.Create);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/generated.cs
deleted file mode 100644
index 8463caae89..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/generated.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/gui.stetic
deleted file mode 100644
index 956b58b612..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
-</stetic-interface> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs
deleted file mode 100644
index 7b40c03a3d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Designer.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MonoDevelop Database Designer")]
-[assembly: AssemblyDescription ("Database Designer Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs.in
deleted file mode 100644
index 23bd6c895c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Designer")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/CreateDatabaseDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/CreateDatabaseDialog.cs
deleted file mode 100644
index e2cba46957..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/CreateDatabaseDialog.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class CreateDatabaseDialog : Gtk.Dialog
- {
- private DatabaseConnectionContext context;
-
- private ConnectionSettingsWidget settingsWidget;
-
- public CreateDatabaseDialog (IDbFactory factory)
- {
- this.Build();
-
- settingsWidget = CreateConnectionSettingsWidget (factory);
- vboxConnection.PackStart (settingsWidget, true, true, 0);
-
- settingsWidget.NeedsValidation += Validate;
- settingsWidget.EnableRefreshButton = false;
-
- ShowAll ();
- }
-
- public DatabaseConnectionContext DatabaseConnection {
- get { return context; }
- set { context = value; }
-
- }
-
- protected internal Notebook Notebook {
- get { return notebook; }
- }
-
- protected virtual ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory)
- {
- return new ConnectionSettingsWidget (factory);
- }
-
- protected virtual void OkClicked (object sender, EventArgs e)
- {
- if (context.IsTemporary) {
- try {
- //make it a real connection context and fill in the database
- IConnectionPool pool = DbFactoryService.CreateConnectionPool (DatabaseConnection);
- pool.Initialize ();
- ISchemaProvider provider = DbFactoryService.CreateSchemaProvider (DatabaseConnection,
- pool);
-
- DatabaseSchema db = provider.CreateDatabaseSchema (settingsWidget.ConnectionSettings.Database);
- OnBeforeDatabaseCreation (db);
- ((AbstractEditSchemaProvider)provider).CreateDatabase (db);
-
- context.ConnectionSettings.Database = settingsWidget.ConnectionSettings.Database;
- context.ConnectionSettings.Name = settingsWidget.ConnectionSettings.Name;
- context.IsTemporary = false;
- MessageService.ShowMessage (AddinCatalog.GetString ("Database has been created."));
- ConnectionContextService.AddDatabaseConnectionContext (context);
- } catch (Exception ex) {
- QueryService.RaiseException (ex);
- Respond (ResponseType.Close);
- return;
- }
- }
- Respond (ResponseType.Ok);
-
- }
-
- protected virtual void CancelClicked (object sender, EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Destroy ();
- }
-
- protected virtual void Validate (object sender, EventArgs e)
- {
- buttonOk.Sensitive = settingsWidget.ValidateFields ();
- }
-
- protected virtual void OnBeforeDatabaseCreation (DatabaseSchema schema)
- {
-
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/PreviewDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/PreviewDialog.cs
deleted file mode 100644
index 3b449f4edb..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/PreviewDialog.cs
+++ /dev/null
@@ -1,114 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.IO;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class PreviewDialog : Gtk.Dialog
- {
- public PreviewDialog (string sql)
- {
- this.Build();
-
- sqlEditor.TextChanged += new EventHandler (SqlChanged);
- sqlEditor.Text = sql;
- }
-
- public string Text {
- get { return sqlEditor.Text; }
- set { sqlEditor.Text = value; }
- }
-
- protected virtual void CancelClicked (object sender, EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Hide ();
- }
-
- protected virtual void OkClicked (object sender, EventArgs e)
- {
- Respond (ResponseType.Ok);
- Hide ();
- }
-
- protected virtual void SqlChanged (object sender, EventArgs e)
- {
- buttonOk.Sensitive = sqlEditor.Text.Length > 0;
- }
- protected virtual void OnButton21Clicked (object sender, System.EventArgs e)
- {
- FileChooserDialog dlg = new FileChooserDialog (
- AddinCatalog.GetString ("Save Script"), null, FileChooserAction.Save,
- "gtk-cancel", ResponseType.Cancel,
- "gtk-save", ResponseType.Accept
- );
- dlg.SelectMultiple = false;
- dlg.LocalOnly = true;
- dlg.Modal = true;
-
- FileFilter filter = new FileFilter ();
- filter.AddPattern ("*.sql");
- filter.Name = AddinCatalog.GetString ("SQL Scripts");
- FileFilter filterAll = new FileFilter ();
- filterAll.AddPattern ("*");
- filterAll.Name = AddinCatalog.GetString ("All files");
- dlg.AddFilter (filter);
- dlg.AddFilter (filterAll);
-
- try {
- if (dlg.Run () == (int)ResponseType.Accept) {
- if (File.Exists (dlg.Filename)) {
- if (!MessageService.Confirm (AddinCatalog.GetString (@"File {0} already exists.
- Do you want to overwrite\nthe existing file?", dlg.Filename),
- AlertButton.Yes))
- return;
- else
- File.Delete (dlg.Filename);
- }
- using (StreamWriter writer = File.CreateText (dlg.Filename)) {
- writer.Write (Text);
- writer.Close ();
- }
-
- }
- } finally {
- dlg.Destroy ();
- }
-
-
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs
deleted file mode 100644
index c1d8424292..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs
+++ /dev/null
@@ -1,242 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.IO;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class ProcedureEditorDialog : Gtk.Dialog
- {
- private SchemaActions action;
-
- private Notebook notebook;
-
- private IEditSchemaProvider schemaProvider;
- private ProcedureSchema procedure;
-
- private CommentEditorWidget commentEditor;
- private SqlEditorWidget sqlEditor;
- private ProcedureEditorSettings settings;
-
- public ProcedureEditorDialog (IEditSchemaProvider schemaProvider, bool create, ProcedureEditorSettings settings)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.settings = settings;
- this.schemaProvider = schemaProvider;
- this.action = create ? SchemaActions.Create : SchemaActions.Alter;
-
- this.Build();
-
- if (create)
- Title = AddinCatalog.GetString ("Create Procedure");
- else
- Title = AddinCatalog.GetString ("Alter Procedure");
-
- notebook = new Notebook ();
-
- sqlEditor = new SqlEditorWidget ();
- sqlEditor.TextChanged += new EventHandler (SqlChanged);
- notebook.AppendPage (sqlEditor, new Label (AddinCatalog.GetString ("Definition")));
-
- if (settings.ShowComment) {
- commentEditor = new CommentEditorWidget ();
- notebook.AppendPage (commentEditor, new Label (AddinCatalog.GetString ("Comment")));
- }
-
- if (!settings.ShowName) {
- nameLabel.Visible = false;
- entryName.Visible = false;
- }
-
- vboxContent.PackStart (notebook, true, true, 0);
- vboxContent.ShowAll ();
- SetWarning (null);
- }
-
- public void Initialize (ProcedureSchema procedure)
- {
- if (procedure == null)
- throw new ArgumentNullException ("procedure");
-
- this.procedure = procedure;
- entryName.Text = procedure.Name;
-
- if (action == SchemaActions.Alter) {
- sqlEditor.Text = schemaProvider.GetProcedureAlterStatement (procedure);
- if (commentEditor != null)
- commentEditor.Comment = procedure.Comment;
- } else
- sqlEditor.Text = procedure.Definition;
- }
-
- protected virtual void OkClicked (object sender, EventArgs e)
- {
- if (settings.ShowName)
- procedure.Name = entryName.Text;
- procedure.Definition = sqlEditor.Text;
-
- if (settings.ShowComment)
- procedure.Comment = commentEditor.Comment;
-
- Respond (ResponseType.Ok);
- Hide ();
- }
-
- protected virtual void CancelClicked (object sender, EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Hide ();
- }
-
- protected virtual void NameChanged (object sender, EventArgs e)
- {
- CheckState ();
- }
-
- protected virtual void SqlChanged (object sender, EventArgs e)
- {
- CheckState ();
- }
-
- private void CheckState ()
- {
- buttonOk.Sensitive = entryName.Text.Length > 0 && sqlEditor.Text.Length > 0;
- //TODO: check for duplicate name
- }
-
- protected virtual void SetWarning (string msg)
- {
- if (msg == null) {
- hboxWarning.Hide ();
- labelWarning.Text = "";
- } else {
- hboxWarning.ShowAll ();
- labelWarning.Text = msg;
- }
- }
- protected virtual void OnButtonSaveClicked (object sender, System.EventArgs e)
- {
- FileChooserDialog dlg = new FileChooserDialog (
- AddinCatalog.GetString ("Save Script"), null, FileChooserAction.Save,
- "gtk-cancel", ResponseType.Cancel,
- "gtk-save", ResponseType.Accept
- );
- dlg.SelectMultiple = false;
- dlg.LocalOnly = true;
- dlg.Modal = true;
-
- FileFilter filter = new FileFilter ();
- filter.AddPattern ("*.sql");
- filter.Name = AddinCatalog.GetString ("SQL Scripts");
- FileFilter filterAll = new FileFilter ();
- filterAll.AddPattern ("*");
- filterAll.Name = AddinCatalog.GetString ("All files");
- dlg.AddFilter (filter);
- dlg.AddFilter (filterAll);
-
- try {
- if (dlg.Run () == (int)ResponseType.Accept) {
- if (File.Exists (dlg.Filename)) {
- if (!MessageService.Confirm (AddinCatalog.GetString (@"File {0} already exists.
- Do you want to overwrite\nthe existing file?", dlg.Filename),
- AlertButton.Yes))
- return;
- else
- File.Delete (dlg.Filename);
- }
- using (StreamWriter writer = File.CreateText (dlg.Filename)) {
- writer.Write (sqlEditor.Text);
- writer.Close ();
- }
-
- }
- } finally {
- dlg.Destroy ();
- }
- }
-
- protected virtual void OnButtonOpenClicked (object sender, System.EventArgs e)
- {
- FileChooserDialog dlg = new FileChooserDialog (
- AddinCatalog.GetString ("Open Script"), null, FileChooserAction.Open,
- "gtk-cancel", ResponseType.Cancel,
- "gtk-open", ResponseType.Accept
- );
- dlg.SelectMultiple = false;
- dlg.LocalOnly = true;
- dlg.Modal = true;
-
- FileFilter filter = new FileFilter ();
- filter.AddPattern ("*.sql");
- filter.Name = AddinCatalog.GetString ("SQL Scripts");
- FileFilter filterAll = new FileFilter ();
- filterAll.AddPattern ("*");
- filterAll.Name = AddinCatalog.GetString ("All files");
- dlg.AddFilter (filter);
- dlg.AddFilter (filterAll);
-
- try {
- if (dlg.Run () == (int)ResponseType.Accept) {
-
- using (StreamReader reader = File.OpenText (dlg.Filename)) {
- sqlEditor.Text = reader.ReadToEnd ();
- reader.Close ();
- }
-
- }
- } finally {
- dlg.Destroy ();
- }
- }
-
- }
-
- public class ProcedureEditorSettings
- {
- bool showComment = false;
- bool showName = true;
-
- public bool ShowComment {
- get { return showComment; }
- set { showComment = value; }
- }
-
- public bool ShowName {
- get { return showName; }
- set { showName = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs
deleted file mode 100644
index f76727aab6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs
+++ /dev/null
@@ -1,340 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class TableEditorDialog : Gtk.Dialog
- {
- private SchemaActions action;
-
- private IEditSchemaProvider schemaProvider;
- private TableSchemaCollection tables;
- private TableSchema table;
- private TableSchema originalTable;
- private ColumnSchemaCollection columns;
- private ConstraintSchemaCollection constraints;
- private IndexSchemaCollection indexes;
- private TriggerSchemaCollection triggers;
- private DataTypeSchemaCollection dataTypes;
-
- private Notebook notebook;
-
- private ColumnsEditorWidget columnEditor;
- private ConstraintsEditorWidget constraintEditor;
- private IndicesEditorWidget indexEditor;
- private TriggersEditorWidget triggerEditor;
- private CommentEditorWidget commentEditor;
- TableEditorSettings settings;
-
- public TableEditorDialog (IEditSchemaProvider schemaProvider, bool create, TableEditorSettings settings)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.action = create ? SchemaActions.Create : SchemaActions.Alter;
- this.settings = settings;
-
- this.Build();
-
- if (create)
- Title = AddinCatalog.GetString ("Create Table");
- else
- Title = AddinCatalog.GetString ("Alter Table");
-
- notebook = new Notebook ();
- vboxContent.PackStart (notebook, true, true, 0);
-
- notebook.Sensitive = false;
- ThreadPool.QueueUserWorkItem (new WaitCallback (InitializeThreaded));
- vboxContent.ShowAll ();
- }
-
- public void Initialize (TableSchema table)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
-
- this.originalTable = table;
- this.table = table;
-
- SetWarning (null);
- columnEditor = new ColumnsEditorWidget (schemaProvider, action, settings.ColumnSettings);
- columnEditor.ContentChanged += new EventHandler (OnContentChanged);
- // When primary Key are selected on the "Column Editor", it has to refresh the "Primary Key" Widget.
- columnEditor.PrimaryKeyChanged += delegate(object sender, EventArgs e) {
- if (constraintEditor != null)
- constraintEditor.RefreshConstraints ();
- };
-
- notebook.AppendPage (columnEditor, new Label (AddinCatalog.GetString ("Columns")));
-
- if (settings.ShowConstraints) {
- constraintEditor = new ConstraintsEditorWidget (schemaProvider, action, settings.ConstraintSettings);
- constraintEditor.ContentChanged += new EventHandler (OnContentChanged);
- notebook.AppendPage (constraintEditor, new Label (AddinCatalog.GetString ("Constraints")));
- // If Primary Key are changed on it has to refresh the "Column Editor" Widget to select the correct
- // columns
- constraintEditor.PrimaryKeyChanged += delegate(object sender, EventArgs e) {
- columnEditor.RefreshConstraints ();
- };
- }
-
- //TODO: Implement Index
- /*
- if (settings.ShowIndices) {
- indexEditor = new IndicesEditorWidget (schemaProvider, action);
- indexEditor.ContentChanged += OnContentChanged;
- notebook.AppendPage (indexEditor, new Label (AddinCatalog.GetString ("Indexes")));
- }
- */
-
- if (settings.ShowTriggers) {
- triggerEditor = new TriggersEditorWidget (schemaProvider, action);
- triggerEditor.ContentChanged += new EventHandler (OnContentChanged);
- notebook.AppendPage (triggerEditor, new Label (AddinCatalog.GetString ("Triggers")));
- }
-
- if (settings.ShowComment) {
- commentEditor = new CommentEditorWidget ();
- notebook.AppendPage (commentEditor, new Label (AddinCatalog.GetString ("Comment")));
- }
- notebook.Page = 0;
-
- entryName.Text = originalTable.Name;
-
- WaitDialog.ShowDialog ("Loading table data ...");
- }
-
- private void InitializeThreaded (object state)
- {
- tables = schemaProvider.GetTables ();
- dataTypes = schemaProvider.GetDataTypes ();
- columns = originalTable.Columns;
- constraints = originalTable.Constraints;
- triggers = originalTable.Triggers;
- //TODO: indices
- indexes = new IndexSchemaCollection ();
-
- System.Text.StringBuilder builder = new System.Text.StringBuilder ();
- builder.Append ("Loading editor for TABLE ");
- builder.Append (originalTable.Name);
- builder.AppendLine ();
- builder.Append (" columns = ");
- builder.Append (columns.Count);
- builder.AppendLine ();
- builder.Append ("constraints = ");
- builder.Append (constraints.Count);
- builder.AppendLine ();
-
- try {
- foreach (ColumnSchema col in columns) {
- int dummy = col.Constraints.Count; //get column constraints
- builder.Append ("CONSTRAINTS ");
- builder.Append (col.Name);
- builder.Append (" ");
- builder.Append (dummy);
- builder.AppendLine ();
- }
- LoggingService.LogDebug (builder.ToString ());
- } catch (Exception ee) {
- LoggingService.LogDebug (builder.ToString ());
- LoggingService.LogError (ee.ToString ());
- }
-
- if (action == SchemaActions.Alter) //make a duplicate if we are going to alter the table
- this.table = originalTable.Clone () as TableSchema;
-
- DispatchService.GuiDispatch (delegate () {
- InitializeGui ();
- });
- }
-
- private void InitializeGui ()
- {
- notebook.Sensitive = true;
- WaitDialog.HideDialog ();
-
- LoggingService.LogDebug ("TableEditorDialog: entering InitializeGui");
- columnEditor.Initialize (table, columns, constraints, dataTypes);
-
- if (constraintEditor != null)
- constraintEditor.Initialize (tables, table, columns, constraints, dataTypes);
- if (triggerEditor != null)
- triggerEditor.Initialize (table, triggers);
- LoggingService.LogDebug ("TableEditorDialog: leaving InitializeGui");
- }
-
- protected virtual void CancelClicked (object sender, System.EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Hide ();
- }
-
- protected virtual void OkClicked (object sender, System.EventArgs e)
- {
- columnEditor.FillSchemaObjects ();
- if (constraintEditor != null)
- constraintEditor.FillSchemaObjects ();
- if (triggerEditor != null)
- triggerEditor.FillSchemaObjects ();
- if (commentEditor != null)
- table.Comment = commentEditor.Comment;
-
- if (action == SchemaActions.Create)
- table.Definition = schemaProvider.GetTableCreateStatement (table);
-// else
-// table.Definition = schemaProvider.GetTableAlterStatement (table);
-
- if (checkPreview.Active) {
- // Preview Dialog: If it's canceled the response to the previous dialog should be None to know that it
- // isn't OK and don't close the table editor dialog.
- PreviewDialog dlg = new PreviewDialog (table.Definition);
- int resp = 0;
- while ((resp = dlg.Run ()) != (int)ResponseType.Ok)
- if (resp == (int)ResponseType.Cancel)
- break;
- else
- Respond (ResponseType.Cancel);
-
- if (resp == (int)ResponseType.Ok) {
- table.Definition = dlg.Text;
- Respond (ResponseType.Ok);
- Hide ();
- } else
- Respond (ResponseType.None);
-
- dlg.Destroy ();
- } else {
- Respond (ResponseType.Ok);
- Hide ();
- }
- }
-
- protected virtual void NameChanged (object sender, System.EventArgs e)
- {
- table.Name = entryName.Text;
- }
-
- protected virtual void OnContentChanged (object sender, EventArgs args)
- {
- string msg;
-
- bool val = entryName.Text.Length > 0;
- if (!val) {
- msg = AddinCatalog.GetString ("No name specified.");
- goto sens;
- }
-
- val &= columnEditor.ValidateSchemaObjects (out msg);
- if (!val) goto sens;
-
- if (constraintEditor != null) {
- val &= constraintEditor.ValidateSchemaObjects (out msg);
- if (!val) goto sens;
- }
-
- if (triggerEditor != null) {
- val &= triggerEditor.ValidateSchemaObjects (out msg);
- if (!val) goto sens;
- }
-
- //TODO: validate indexEditor
- sens:
- SetWarning (msg);
- buttonOk.Sensitive = val;
- }
-
- protected virtual void SetWarning (string msg)
- {
- if (msg == null) {
- hboxWarning.Hide ();
- labelWarning.Text = "";
- } else {
- hboxWarning.ShowAll ();
- labelWarning.Text = msg;
- }
- }
- }
-
- public class TableEditorSettings
- {
- private bool showConstraints = true;
- private bool showComment = false;
- private bool showTriggers = true;
- private bool showIndices = true;
-
- private ConstraintEditorSettings constraintSettings;
- private ColumnEditorSettings columnSettings;
-
- public TableEditorSettings ()
- {
- constraintSettings = new ConstraintEditorSettings ();
- columnSettings = new ColumnEditorSettings ();
- }
-
- public ConstraintEditorSettings ConstraintSettings {
- get { return constraintSettings; }
- }
-
- public ColumnEditorSettings ColumnSettings {
- get { return columnSettings; }
- }
-
- public bool ShowConstraints {
- get {
- return constraintSettings.ShowPrimaryKeyConstraints |
- constraintSettings.ShowForeignKeyConstraints |
- constraintSettings.ShowCheckConstraints |
- constraintSettings.ShowUniqueConstraints;
- }
- }
-
- public bool ShowComment {
- get { return showComment; }
- set { showComment = value; }
- }
-
- public bool ShowTriggers {
- get { return showTriggers; }
- set { showTriggers = value; }
- }
-
- public bool ShowIndices {
- get { return showIndices; }
- set { showIndices = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs
deleted file mode 100644
index b5fdf98b1e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class UserEditorDialog : Gtk.Dialog
- {
- private SchemaActions action;
-
- private Notebook notebook;
-
- private ISchemaProvider schemaProvider;
- private UserSchema user;
-
- public UserEditorDialog (ISchemaProvider schemaProvider, UserSchema user, bool create)
- {
- this.Build();
-
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
- if (user == null)
- throw new ArgumentNullException ("user");
-
- this.schemaProvider = schemaProvider;
- this.user = user;
- this.action = create ? SchemaActions.Create : SchemaActions.Alter;
-
- this.Build();
-
- if (create)
- Title = AddinCatalog.GetString ("Create User");
- else
- Title = AddinCatalog.GetString ("Alter User");
-
- notebook = new Notebook ();
- vboxContent.PackStart (notebook, true, true, 0);
- vboxContent.ShowAll ();
- }
-
- protected virtual void OkClicked (object sender, System.EventArgs e)
- {
- }
-
- protected virtual void CancelClicked (object sender, System.EventArgs e)
- {
- }
-
- protected virtual void NameChanged (object sender, System.EventArgs e)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs
deleted file mode 100644
index 34161fae6f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs
+++ /dev/null
@@ -1,146 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class ViewEditorDialog : Gtk.Dialog
- {
- private SchemaActions action;
-
- private Notebook notebook;
-
- private ISchemaProvider schemaProvider;
- private ViewSchema view;
-
- private CommentEditorWidget commentEditor;
- private SqlEditorWidget sqlEditor;
-
- public ViewEditorDialog (ISchemaProvider schemaProvider, bool create, ViewEditorSettings settings)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
-
- this.schemaProvider = schemaProvider;
- this.action = create ? SchemaActions.Create : SchemaActions.Alter;
-
- this.Build();
-
- if (create)
- Title = AddinCatalog.GetString ("Create View");
- else
- Title = AddinCatalog.GetString ("Alter View");
-
- notebook = new Notebook ();
-
- sqlEditor = new SqlEditorWidget ();
- sqlEditor.TextChanged += new EventHandler (SqlChanged);
- notebook.AppendPage (sqlEditor, new Label (AddinCatalog.GetString ("Definition")));
-
- if (settings.ShowComment) {
- commentEditor = new CommentEditorWidget ();
- notebook.AppendPage (commentEditor, new Label (AddinCatalog.GetString ("Comment")));
- }
-
- notebook.Page = 0;
-
- entryName.Text = view.Name;
-
- vboxContent.PackStart (notebook, true, true, 0);
- vboxContent.ShowAll ();
- SetWarning (null);
- }
-
- public void Initialize (ViewSchema view)
- {
- if (view == null)
- throw new ArgumentNullException ("view");
- this.view = view;
-
- if (action == SchemaActions.Alter) {
-// sqlEditor.Text = schemaProvider.GetViewAlterStatement (view);
- commentEditor.Comment = view.Comment;
- }
- }
-
- protected virtual void CancelClicked (object sender, System.EventArgs e)
- {
- Respond (ResponseType.Cancel);
- Hide ();
- }
-
- protected virtual void OkClicked (object sender, System.EventArgs e)
- {
- view.Name = entryName.Text;
- view.Definition = sqlEditor.Text;
- view.Comment = commentEditor.Comment;
-
- Respond (ResponseType.Ok);
- Hide ();
- }
-
- protected virtual void NameChanged (object sender, System.EventArgs e)
- {
- CheckState ();
- }
-
- protected virtual void SqlChanged (object sender, EventArgs e)
- {
- CheckState ();
- }
-
- private void CheckState ()
- {
- buttonOk.Sensitive = entryName.Text.Length > 0 && sqlEditor.Text.Length > 0;
- //TODO: check for duplicate name
- }
-
- protected virtual void SetWarning (string msg)
- {
- if (msg == null) {
- hboxWarning.Hide ();
- labelWarning.Text = "";
- } else {
- hboxWarning.ShowAll ();
- labelWarning.Text = msg;
- }
- }
- }
-
- public class ViewEditorSettings
- {
- private bool showComment = false;
-
- public bool ShowComment {
- get { return showComment; }
- set { showComment = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Makefile.am
deleted file mode 100644
index 987ffc8ef4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Makefile.am
+++ /dev/null
@@ -1,63 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Designer.dll
-REFS = \
- $(GTK_SHARP_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:System
-
-FILES = \
- AssemblyInfo.cs \
- Dialogs/CreateDatabaseDialog.cs \
- Dialogs/PreviewDialog.cs \
- Dialogs/ProcedureEditorDialog.cs \
- Dialogs/TableEditorDialog.cs \
- Dialogs/UserEditorDialog.cs \
- Dialogs/ViewEditorDialog.cs \
- gtk-gui/generated.cs \
- gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.ColumnsEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.CommentEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.ConstraintsEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs \
- gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.IndicesEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs \
- gtk-gui/MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs \
- gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs \
- gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs \
- gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs \
- Widgets/CheckConstraintEditorWidget.cs \
- Widgets/ColumnsEditorWidget.cs \
- Widgets/CommentEditorWidget.cs \
- Widgets/ConstraintsEditorWidget.cs \
- Widgets/ForeignKeyConstraintEditorWidget.cs \
- Widgets/IndicesEditorWidget.cs \
- Widgets/PrimaryKeyConstraintEditorWidget.cs \
- Widgets/TriggersEditorWidget.cs \
- Widgets/UniqueConstraintEditorWidget.cs
-
-RES = \
- gtk-gui/gui.stetic \
- gtk-gui/objects.xml \
- MonoDevelop.Database.Designer.addin.xml
-
-all: $(ASSEMBLY) $(ADDIN_BUILD)
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.addin.xml
deleted file mode 100644
index 2f6239ddf8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.addin.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<Addin id = "Database.Designer"
- namespace = "MonoDevelop"
- name = "MonoDevelop Database Designer"
- author = "Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Designer Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Designer.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- </Dependencies>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.csproj
deleted file mode 100644
index aca0a87096..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/MonoDevelop.Database.Designer.csproj
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Designer</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Designer</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Mono.Posix" />
- <Reference Include="System" />
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="ICSharpCode.NRefactory, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49">
- <Private>False</Private>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="MonoDevelop.Database.Designer.addin.xml">
- <LogicalName>MonoDevelop.Database.Designer.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\objects.xml">
- <LogicalName>objects.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Widgets\TriggersEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.TriggersEditorWidget.cs" />
- <Compile Include="Widgets\ColumnsEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.ColumnsEditorWidget.cs" />
- <Compile Include="Widgets\ConstraintsEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.ConstraintsEditorWidget.cs" />
- <Compile Include="Widgets\IndicesEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.IndicesEditorWidget.cs" />
- <Compile Include="Dialogs\TableEditorDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.TableEditorDialog.cs" />
- <Compile Include="Dialogs\CreateDatabaseDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.CreateDatabaseDialog.cs" />
- <Compile Include="Dialogs\ViewEditorDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.ViewEditorDialog.cs" />
- <Compile Include="Dialogs\ProcedureEditorDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.ProcedureEditorDialog.cs" />
- <Compile Include="Widgets\CommentEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.CommentEditorWidget.cs" />
- <Compile Include="Dialogs\PreviewDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.PreviewDialog.cs" />
- <Compile Include="Dialogs\UserEditorDialog.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.UserEditorDialog.cs" />
- <Compile Include="Widgets\ForeignKeyConstraintEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs" />
- <Compile Include="Widgets\CheckConstraintEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs" />
- <Compile Include="Widgets\PrimaryKeyConstraintEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.cs" />
- <Compile Include="Widgets\UniqueConstraintEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs" />
- <Compile Include="AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- <GtkDesignInfo gettextClass="MonoDevelop.Database.AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs
deleted file mode 100644
index 776cbfe54a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs
+++ /dev/null
@@ -1,303 +0,0 @@
-
-
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class CheckConstraintEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
-
- private ISchemaProvider schemaProvider;
- private TableSchema table;
- private ColumnSchemaCollection columns;
- private ConstraintSchemaCollection constraints;
-
- private ListStore store;
- private SortedColumnListStore storeColumns;
-
- private const int colNameIndex = 0;
- private const int colColumnNameIndex = 1;
- private const int colIsColumnConstraintIndex = 2;
- private const int colSourceIndex = 3;
- private const int colObjIndex = 4;
- CellRendererCombo columnRenderer;
-
- private CheckConstraintEditorSettings settings;
-
- private SchemaActions action;
-
- public CheckConstraintEditorWidget (ISchemaProvider schemaProvider, SchemaActions action, CheckConstraintEditorSettings settings)
- {
- if (settings == null)
- throw new ArgumentNullException ("settings");
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.settings = settings;
- this.action = action;
-
- this.Build();
-
- store = new ListStore (typeof (string), typeof (string), typeof (bool), typeof (string), typeof (object));
-
- listCheck.Model = store;
-
- TreeViewColumn colName = new TreeViewColumn ();
- TreeViewColumn colColumn = new TreeViewColumn ();
- TreeViewColumn colIsColumnConstraint = new TreeViewColumn ();
-
- colName.Title = AddinCatalog.GetString ("Name");
- colColumn.Title = AddinCatalog.GetString ("Column");
- colIsColumnConstraint.Title = AddinCatalog.GetString ("Column Constraint");
-
- colColumn.MinWidth = 120; //request a bigger width
-
- CellRendererText nameRenderer = new CellRendererText ();
- columnRenderer = new CellRendererCombo ();
- CellRendererToggle isColumnConstraintRenderer = new CellRendererToggle ();
-
- nameRenderer.Editable = true;
- nameRenderer.Edited += new EditedHandler (NameEdited);
-
- columnRenderer.TextColumn = SortedColumnListStore.ColNameIndex;
- columnRenderer.Editable = true;
- columnRenderer.Edited += new EditedHandler (ColumnEdited);
-
- isColumnConstraintRenderer.Activatable = true;
- isColumnConstraintRenderer.Toggled += new ToggledHandler (IsColumnConstraintToggled);
-
- colName.PackStart (nameRenderer, true);
- colColumn.PackStart (columnRenderer, true);
- colIsColumnConstraint.PackStart (isColumnConstraintRenderer, true);
-
- colName.AddAttribute (nameRenderer, "text", colNameIndex);
- colColumn.AddAttribute (columnRenderer, "text", colColumnNameIndex);
- colIsColumnConstraint.AddAttribute (isColumnConstraintRenderer, "active", colIsColumnConstraintIndex);
-
- listCheck.AppendColumn (colName);
- if (settings.SupportsColumnConstraints)
- listCheck.AppendColumn (colColumn);
- if (settings.SupportsColumnConstraints && settings.SupportsTableConstraints)
- listCheck.AppendColumn (colIsColumnConstraint);
-
- listCheck.Selection.Changed += new EventHandler (OnSelectionChanged);
- sqlEditor.TextChanged += new EventHandler (SourceChanged);
-
- ShowAll ();
- }
-
- public void Initialize (TableSchema table, ColumnSchemaCollection columns, ConstraintSchemaCollection constraints)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
- if (table == null)
- throw new ArgumentNullException ("table");
- if (constraints == null)
- throw new ArgumentNullException ("constraints");
-
- this.table = table;
- this.columns = columns;
- this.constraints = constraints;
-
- foreach (CheckConstraintSchema check in constraints.GetConstraints (ConstraintType.Check))
- AddConstraint (check);
- storeColumns = new SortedColumnListStore (columns);
- columnRenderer.Model = storeColumns.Store;
-
- //TODO: also col constraints
- }
-
- protected virtual void AddClicked (object sender, EventArgs e)
- {
- CheckConstraintSchema check = schemaProvider.CreateCheckConstraintSchema (string.Concat (table.Name,
- "_",
- "check_new"));
- int index = 1;
- while (constraints.Contains (check.Name))
- check.Name = string.Concat (table.Name,
- "_",
- "check_new",
- (index++).ToString ());
- constraints.Add (check);
- AddConstraint (check);
- EmitContentChanged ();
- }
-
- protected virtual void RemoveClicked (object sender, EventArgs e)
- {
- TreeIter iter;
- if (listCheck.Selection.GetSelected (out iter)) {
- CheckConstraintSchema check = store.GetValue (iter, colObjIndex) as CheckConstraintSchema;
-
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove constraint '{0}'?", check.Name),
- AlertButton.Remove
- )) {
- store.Remove (ref iter);
- constraints.Remove (check);
- EmitContentChanged ();
- }
- }
- }
-
- protected virtual void OnSelectionChanged (object sender, EventArgs e)
- {
- TreeIter iter;
- if (listCheck.Selection.GetSelected (out iter)) {
- buttonRemove.Sensitive = true;
- sqlEditor.Editable = true;
-
- CheckConstraintSchema check = store.GetValue (iter, colObjIndex) as CheckConstraintSchema;
- sqlEditor.Text = check.Source;
- } else {
- buttonRemove.Sensitive = false;
- sqlEditor.Editable = false;
- sqlEditor.Text = String.Empty;
- }
- }
-
- private void IsColumnConstraintToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) store.GetValue (iter, colIsColumnConstraintIndex);
- store.SetValue (iter, colIsColumnConstraintIndex, !val);
- EmitContentChanged ();
- }
- }
-
- private void NameEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText)) {
- store.SetValue (iter, colNameIndex, args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void ColumnEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (columns.Contains (args.NewText)) { //only allow existing columns
- store.SetValue (iter, colColumnNameIndex, args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colColumnNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void SourceChanged (object sender, EventArgs args)
- {
- TreeIter iter;
- if (listCheck.Selection.GetSelected (out iter)) {
- CheckConstraintSchema check = store.GetValue (iter, colObjIndex) as CheckConstraintSchema;
- check.Source = sqlEditor.Text;
- store.SetValue (iter, colSourceIndex, sqlEditor.Text);
- EmitContentChanged ();
- }
- }
-
- private void AddConstraint (CheckConstraintSchema check)
- {
- store.AppendValues (check.Name, String.Empty, false, String.Empty, check);
- }
-
- protected virtual void EmitContentChanged ()
- {
- if (ContentChanged != null)
- ContentChanged (this, EventArgs.Empty);
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- string name = store.GetValue (iter, colNameIndex) as string;
- string column = store.GetValue (iter, colColumnNameIndex) as string;
- string source = store.GetValue (iter, colSourceIndex) as string;
- bool iscolc = (bool)store.GetValue (iter, colIsColumnConstraintIndex);
-
- if (String.IsNullOrEmpty (source)) {
- msg = AddinCatalog.GetString ("Checked constraint '{0}' does not contain a check statement.", name);
- return false;
- }
-
- if (iscolc && String.IsNullOrEmpty (column)) {
- msg = AddinCatalog.GetString ("Checked constraint '{0}' is marked as a column constraint but is not applied to a column.", name);
- return false;
- }
- } while (store.IterNext (ref iter));
- }
- msg = null;
- return true;
- }
-
- public virtual void FillSchemaObjects ()
- {
- /*
- * This code isn't needed anymore, beacause Check's constraint are added on demand when clicking
- * Add Button.
- */
- }
- }
-
- public class CheckConstraintEditorSettings
- {
- private bool supportsColumnConstraints = true;
- private bool supportsTableConstraints = true;
-
- public bool SupportsColumnConstraints {
- get { return supportsColumnConstraints; }
- set { supportsColumnConstraints = value; }
- }
-
- public bool SupportsTableConstraints {
- get { return supportsTableConstraints; }
- set { supportsTableConstraints = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs
deleted file mode 100644
index 9123e18686..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs
+++ /dev/null
@@ -1,557 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class ColumnsEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
- public event EventHandler PrimaryKeyChanged;
-
- private ListStore storeColumns;
- private ListStore storeTypes;
-
- private const int colPKIndex = 0;
- private const int colNameIndex = 1;
- private const int colTypeIndex = 2;
- private const int colLengthIndex = 3;
- private const int colNullableIndex = 4;
- private const int colCommentIndex = 5;
- private const int colObjIndex = 6;
-
- private ColumnSchemaCollection columns;
- private ConstraintSchemaCollection constraints;
- private DataTypeSchemaCollection dataTypes;
- private ISchemaProvider schemaProvider;
- private TableSchema table;
-
- private SchemaActions action;
- private ColumnEditorSettings settings;
-
- public ColumnsEditorWidget (ISchemaProvider schemaProvider, SchemaActions action, ColumnEditorSettings settings)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
- if (settings == null)
- throw new ArgumentNullException ("settings");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
- this.settings = settings;
-
- this.Build();
-
- storeTypes = new ListStore (typeof (string), typeof (object));
- storeColumns = new ListStore (typeof (bool), typeof (string), typeof (string), typeof (string), typeof (bool), typeof (string), typeof (object));
- treeColumns.Model = storeColumns;
- treeColumns.Selection.Changed += new EventHandler (OnSelectionChanged);
-
- //TODO: cols for scale, precision, ... ?
- TreeViewColumn colPK = new TreeViewColumn ();
- TreeViewColumn colName = new TreeViewColumn ();
- TreeViewColumn colType = new TreeViewColumn ();
- TreeViewColumn colLength = new TreeViewColumn ();
- TreeViewColumn colNullable = new TreeViewColumn ();
- TreeViewColumn colComment = new TreeViewColumn ();
-
- colPK.Title = AddinCatalog.GetString ("PK");
- colName.Title = AddinCatalog.GetString ("Name");
- colType.Title = AddinCatalog.GetString ("Type");
- colLength.Title = AddinCatalog.GetString ("Length");
- colNullable.Title = AddinCatalog.GetString ("Nullable");
- colComment.Title = AddinCatalog.GetString ("Comment");
-
- colType.MinWidth = 120; //request a bigger width
-
- CellRendererToggle pkRenderer = new CellRendererToggle ();
- CellRendererText nameRenderer = new CellRendererText ();
- CellRendererCombo typeRenderer = new CellRendererCombo ();
- CellRendererText lengthRenderer = new CellRendererText ();
- CellRendererToggle nullableRenderer = new CellRendererToggle ();
- CellRendererText commentRenderer = new CellRendererText ();
-
- nameRenderer.Editable = true;
- nameRenderer.Edited += new EditedHandler (NameEdited);
-
- typeRenderer.Model = storeTypes;
- storeTypes.SetSortColumnId (0, SortType.Ascending);
- typeRenderer.TextColumn = 0;
- typeRenderer.Editable = true;
- typeRenderer.Edited += new EditedHandler (TypeEdited);
-
- lengthRenderer.Editable = true;
- lengthRenderer.Edited += new EditedHandler (LengthEdited);
-
- pkRenderer.Activatable = true;
- pkRenderer.Toggled += new ToggledHandler (PkToggled);
-
- nullableRenderer.Activatable = true;
- nullableRenderer.Toggled += new ToggledHandler (NullableToggled);
-
- commentRenderer.Editable = true;
- commentRenderer.Edited += new EditedHandler (CommentEdited);
-
- colPK.PackStart (pkRenderer, true);
- colName.PackStart (nameRenderer, true);
- colType.PackStart (typeRenderer, true);
- colLength.PackStart (lengthRenderer, true);
- colNullable.PackStart (nullableRenderer, true);
- colComment.PackStart (commentRenderer, true);
-
- colPK.AddAttribute (pkRenderer, "active", colPKIndex);
- colName.AddAttribute (nameRenderer, "text", colNameIndex);
- colType.AddAttribute (typeRenderer, "text", colTypeIndex);
- colLength.AddAttribute (lengthRenderer, "text", colLengthIndex);
- colNullable.AddAttribute (nullableRenderer, "active", colNullableIndex);
- colComment.AddAttribute (commentRenderer, "text", colCommentIndex);
-
- if (settings.ShowPrimaryKeyColumn)
- treeColumns.AppendColumn (colPK);
- if (settings.ShowNameColumn)
- treeColumns.AppendColumn (colName);
- if (settings.ShowTypeColumn)
- treeColumns.AppendColumn (colType);
- if (settings.ShowLengthColumn)
- treeColumns.AppendColumn (colLength);
- if (settings.ShowNullableColumn)
- treeColumns.AppendColumn (colNullable);
- if (settings.ShowCommentColumn)
- treeColumns.AppendColumn (colComment);
-
- treeColumns.Reorderable = false;
- treeColumns.HeadersClickable = false;
- treeColumns.HeadersVisible = true;
- //Gtk# 2.10:treeColumns.EnableGridLines = TreeViewGridLines.Both;
- treeColumns.EnableSearch = false;
-
- if (action == SchemaActions.Alter) {
- buttonAdd.Sensitive = settings.ShowAddButton;
- buttonRemove.Sensitive = settings.ShowRemoveButton;
- buttonUp.Sensitive = settings.AllowReorder;
- }
-
- ShowAll ();
- }
-
- public void Initialize (TableSchema table, ColumnSchemaCollection columns, ConstraintSchemaCollection constraints, DataTypeSchemaCollection dataTypes)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
- if (constraints == null)
- throw new ArgumentNullException ("constraints");
- if (table == null)
- throw new ArgumentNullException ("table");
- if (dataTypes == null)
- throw new ArgumentNullException ("dataTypes");
-
- this.table = table;
- this.columns = columns;
- this.constraints = constraints;
- this.dataTypes = dataTypes;
-
- foreach (ColumnSchema column in columns)
- AppendColumnSchema (column);
-
- foreach (DataTypeSchema dataType in dataTypes)
- storeTypes.AppendValues (dataType.Name, dataType);
- }
-
- public virtual void RefreshConstraints ()
- {
- ColumnSchema sc;
- storeColumns.Foreach (delegate (TreeModel model, TreePath path, TreeIter iter) {
- ColumnSchema col = (ColumnSchema)model.GetValue (iter, colObjIndex);
- model.SetValue (iter, colPKIndex, false);
- foreach (ConstraintSchema cons in constraints)
- if (cons is PrimaryKeyConstraintSchema)
- foreach (ColumnSchema colConstraint in cons.Columns)
- if (colConstraint.Name == col.Name)
- model.SetValue (iter, colPKIndex, true);
- return false;
- });
- }
-
- private void AppendColumnSchema (ColumnSchema column)
- {
- bool pk = column.Constraints.GetConstraint (ConstraintType.PrimaryKey) != null;
- storeColumns.AppendValues (pk, column.Name, column.DataType.Name, column.DataType.LengthRange.Default.ToString (), column.IsNullable, column.Comment, column);
- }
-
- protected void OnPrimaryKeyChanged (object sender, EventArgs args)
- {
- if (PrimaryKeyChanged != null)
- PrimaryKeyChanged (this, args);
- }
-
- protected virtual void AddClicked (object sender, EventArgs e)
- {
- // Need to detect if it is a previous column with the same name.
- string name = AddinCatalog.GetString("column");
- int lastIdx = 0;
- foreach (ColumnSchema col in columns) {
- if (col.Name == name) {
- name = string.Concat (name, "1");
- } else if (col.Name.StartsWith (name, StringComparison.OrdinalIgnoreCase)) {
- string idx = col.Name.Substring (name.Length);
- int newIdx;
- if (int.TryParse (idx, out newIdx))
- lastIdx = newIdx;
- }
- }
- if (lastIdx != 0)
- name = String.Concat (name, lastIdx+1);
- else
- name = string.Concat (name, "1");
-
- ColumnSchema column = new ColumnSchema (schemaProvider, table, name);
-
- TreeIter iter;
- if (storeTypes.GetIterFirst (out iter))
- column.DataTypeName = storeTypes.GetValue (iter, 0) as string;
-
- columns.Add (column);
- AppendColumnSchema (column);
- EmitContentChanged ();
- }
-
- protected virtual void RemoveClicked (object sender, EventArgs e)
- {
- TreeIter iter;
- if (treeColumns.Selection.GetSelected (out iter)) {
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
-
- //TODO: also check for attached constraints
- bool result = MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove column '{0}'", column.Name),
- AlertButton.Remove
- );
-
- if (result) {
- storeColumns.Remove (ref iter);
- EmitContentChanged ();
- }
- }
- }
-
- private void PkToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (storeColumns.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) storeColumns.GetValue (iter, colPKIndex);
- storeColumns.SetValue (iter, colPKIndex, !val);
- if (val) {
- // Remove Constraint
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
- ConstraintSchema delConstraint = null;
- foreach (ConstraintSchema c in constraints)
- if (c is PrimaryKeyConstraintSchema) {
- foreach (ColumnSchema col in c.Columns)
- if (col.Name == column.Name) {
- c.Columns.Remove (col);
- delConstraint = c;
- break;
- }
- }
- // If PK doesn't have any columns, delete it.
- if (delConstraint != null)
- if (delConstraint.Columns.Count < 1) {
- constraints.Remove (delConstraint);
- }
- } else {
- // Add Constraint
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
- // Add the column for an existing PK
- foreach (ConstraintSchema c in constraints)
- if (c is PrimaryKeyConstraintSchema) {
- c.Columns.Add (column);
- // Fire the Primary Key Changed Event to tell the other widget that "Primary Key Constraint"
- // are changed in the Column Editor.
- OnPrimaryKeyChanged (this, new EventArgs ());
- EmitContentChanged ();
- return;
- }
- PrimaryKeyConstraintSchema pk =
- schemaProvider.CreatePrimaryKeyConstraintSchema (string.Concat (
- table.Name,"_",
- AddinCatalog.GetString ("pk_new")
- ));
- pk.Columns.Add (column);
- constraints.Add (pk);
- }
- OnPrimaryKeyChanged (this, new EventArgs ());
- EmitContentChanged ();
- }
- }
-
- private void NullableToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (storeColumns.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) storeColumns.GetValue (iter, colNullableIndex);
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
- storeColumns.SetValue (iter, colNullableIndex, !val);
- column.IsNullable = !val;
- EmitContentChanged ();
- }
- }
-
- private void NameEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (storeColumns.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText)) {
- storeColumns.SetValue (iter, colNameIndex, args.NewText);
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
- column.Name = args.NewText;
- EmitContentChanged ();
- } else {
- string oldText = storeColumns.GetValue (iter, colNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void TypeEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (storeColumns.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText)) {
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
-
- int len = int.Parse (storeColumns.GetValue (iter, colLengthIndex) as string);
- if (column.DataType.LengthRange.Default == len) {
- //change the length if it is still the default length
- DataTypeSchema dtNew = schemaProvider.GetDataType (args.NewText);
- storeColumns.SetValue (iter, colLengthIndex, dtNew.LengthRange.Default.ToString ());
- }
-
- storeColumns.SetValue (iter, colTypeIndex, args.NewText);
- column.DataTypeName = args.NewText;
- EmitContentChanged ();
- } else {
- string oldText = storeColumns.GetValue (iter, colTypeIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void LengthEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (storeColumns.GetIterFromString (out iter, args.Path)) {
- int len;
- if (!string.IsNullOrEmpty (args.NewText) && int.TryParse (args.NewText, out len)) {
- storeColumns.SetValue (iter, colLengthIndex, args.NewText);
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
- column.DataType.LengthRange.Default = int.Parse (args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = storeColumns.GetValue (iter, colLengthIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void CommentEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (storeColumns.GetIterFromString (out iter, args.Path)) {
- storeColumns.SetValue (iter, colCommentIndex, args.NewText);
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
- column.Comment = args.NewText;
- EmitContentChanged ();
- }
- }
-
- protected virtual void DownClicked (object sender, EventArgs e)
- {
- TreeIter iter;
- if (treeColumns.Selection.GetSelected (out iter)) {
- TreePath path = storeColumns.GetPath (iter);
- int x = path.Indices[0];
- columns.Swap (x, x + 1);
- }
- }
-
- protected virtual void UpClicked (object sender, EventArgs e)
- {
- TreeIter iter;
- if (treeColumns.Selection.GetSelected (out iter)) {
- TreePath path = storeColumns.GetPath (iter);
- int x = path.Indices[0];
- columns.Swap (x, x - 1);
- }
- }
-
- private void OnSelectionChanged (object sender, EventArgs e)
- {
- IDbFactory fac = schemaProvider.ConnectionPool.DbFactory;
- //TODO: check Append if "next" is the last row
- TreeIter iter;
- bool sel = settings.ShowRemoveButton;
- bool next = settings.AllowReorder;
- bool prev = next;
-
- if (treeColumns.Selection.GetSelected (out iter)) {
- TreePath path = storeColumns.GetPath (iter);
- int index = path.Indices[0];
-
- sel &= true;
- prev &= index > 0;
- next &= storeColumns.IterNext (ref iter);
- }
-
- buttonUp.Sensitive = prev;
- buttonDown.Sensitive = next;
- buttonRemove.Sensitive = sel;
- }
-
- protected virtual void EmitContentChanged ()
- {
- if (ContentChanged != null)
- ContentChanged (this, EventArgs.Empty);
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- TreeIter iter;
- if (storeColumns.GetIterFirst (out iter)) {
- bool isPk = constraints.GetConstraint (ConstraintType.PrimaryKey) != null;
- do {
- string name = storeColumns.GetValue (iter, colNameIndex) as string;
- string type = storeColumns.GetValue (iter, colTypeIndex) as string;
- int len = int.Parse (storeColumns.GetValue (iter, colLengthIndex) as string);
- if (!isPk)
- isPk = (bool)storeColumns.GetValue (iter, colPKIndex);
-
- DataTypeSchema dt = schemaProvider.GetDataType (type);
- if (dt == null) {
- msg = AddinCatalog.GetString ("Unknown data type '{0}' applied to column '{1}'.", type, name);
- return false;
- }
-
- //TODO: enable when all providers have good datatype info
-// if (!dt.LengthRange.IsInRange (len)) {
-// msg = AddinCatalog.GetString ("Invalid length for '{0}'.", name);
-// return false;
-// }
- } while (storeColumns.IterNext (ref iter));
-
- if (!isPk) {
- msg = AddinCatalog.GetString ("Table '{0}' must contain at least one primary key.", table.Name);
- return false;
- } else {
- msg = null;
- return true;
- }
- }
- msg = AddinCatalog.GetString ("Table '{0}' must contain at least 1 column.", table.Name);
- return false;
- }
-
- public virtual void FillSchemaObjects ()
- {
- TreeIter iter;
- if (storeColumns.GetIterFirst (out iter)) {
- do {
- ColumnSchema column = storeColumns.GetValue (iter, colObjIndex) as ColumnSchema;
-
- column.Name = storeColumns.GetValue (iter, colNameIndex) as string;
- column.DataTypeName = storeColumns.GetValue (iter, colTypeIndex) as string;
- column.DataType.LengthRange.Default = int.Parse (storeColumns.GetValue (iter, colLengthIndex) as string);
- column.IsNullable = (bool)storeColumns.GetValue (iter, colNullableIndex);
- column.Comment = storeColumns.GetValue (iter, colCommentIndex) as string;
- } while (storeColumns.IterNext (ref iter));
- }
- }
- }
-
- public class ColumnEditorSettings
- {
- private bool showAddButton = true;
- private bool showRemoveButton = true;
- private bool allowReorder = true;
-
- private bool showPrimaryKeyColumn = true;
- private bool showNameColumn = true;
- private bool showTypeColumn = true;
- private bool showLengthColumn = true;
- private bool showNullableColumn = true;
- private bool showCommentColumn = true;
-
- public bool ShowAddButton {
- get { return showAddButton; }
- set { showAddButton = value; }
- }
-
- public bool ShowRemoveButton {
- get { return showRemoveButton; }
- set { showRemoveButton = value; }
- }
-
- public bool AllowReorder {
- get { return allowReorder; }
- set { allowReorder = value; }
- }
-
- public bool ShowPrimaryKeyColumn {
- get { return showPrimaryKeyColumn; }
- set { showPrimaryKeyColumn = value; }
- }
- public bool ShowNameColumn {
- get { return showNameColumn; }
- set { showNameColumn = value; }
- }
- public bool ShowTypeColumn {
- get { return showTypeColumn; }
- set { showTypeColumn = value; }
- }
- public bool ShowLengthColumn {
- get { return showLengthColumn; }
- set { showLengthColumn = value; }
- }
- public bool ShowNullableColumn {
- get { return showNullableColumn; }
- set { showNullableColumn = value; }
- }
-
- public bool ShowCommentColumn {
- get { return showCommentColumn; }
- set { showCommentColumn = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CommentEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CommentEditorWidget.cs
deleted file mode 100644
index bfcc05b2a3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CommentEditorWidget.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class CommentEditorWidget : Gtk.Bin
- {
- public CommentEditorWidget()
- {
- this.Build();
- }
-
- public string Comment {
- get { return textComment.Buffer.Text; }
- set {
- if (value == null)
- textComment.Buffer.Text = String.Empty;
- else
- textComment.Buffer.Text = value;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs
deleted file mode 100644
index 55aa17de7d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs
+++ /dev/null
@@ -1,208 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class ConstraintsEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
- public event EventHandler PrimaryKeyChanged;
- private Notebook notebook;
-
- private ISchemaProvider schemaProvider;
-
- private PrimaryKeyConstraintEditorWidget pkEditor;
- private ForeignKeyConstraintEditorWidget fkEditor;
- private CheckConstraintEditorWidget checkEditor;
- private UniqueConstraintEditorWidget uniqueEditor;
-
- private SchemaActions action;
-
- public ConstraintsEditorWidget (ISchemaProvider schemaProvider, SchemaActions action, ConstraintEditorSettings settings)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
-
- this.Build();
-
- notebook = new Notebook ();
- Add (notebook);
-
- if (settings.ShowPrimaryKeyConstraints) {
- //not for column constraints, since they are already editable in the column editor
- pkEditor = new PrimaryKeyConstraintEditorWidget (schemaProvider, action);
- pkEditor.ContentChanged += new EventHandler (OnContentChanged);
- pkEditor.PrimaryKeyChanged += delegate(object sender, EventArgs e) {
- if (PrimaryKeyChanged != null)
- PrimaryKeyChanged (this, new EventArgs ());
- };
- notebook.AppendPage (pkEditor, new Label (AddinCatalog.GetString ("Primary Key")));
- }
-
- if (settings.ShowForeignKeyConstraints) {
- fkEditor = new ForeignKeyConstraintEditorWidget (schemaProvider, action, settings.ForeignKeySettings);
- fkEditor.ContentChanged += new EventHandler (OnContentChanged);
- notebook.AppendPage (fkEditor, new Label (AddinCatalog.GetString ("Foreign Key")));
- }
-
- if (settings.ShowCheckConstraints) {
- checkEditor = new CheckConstraintEditorWidget (schemaProvider, action, settings.CheckSettings);
- checkEditor.ContentChanged += new EventHandler (OnContentChanged);
- notebook.AppendPage (checkEditor, new Label (AddinCatalog.GetString ("Check")));
- }
-
- if (settings.ShowUniqueConstraints) {
- uniqueEditor = new UniqueConstraintEditorWidget (schemaProvider, action);
- uniqueEditor.ContentChanged += new EventHandler (OnContentChanged);
- notebook.AppendPage (uniqueEditor, new Label (AddinCatalog.GetString ("Unique")));
- }
-
- ShowAll ();
- }
-
- public void Initialize (TableSchemaCollection tables, TableSchema table, ColumnSchemaCollection columns, ConstraintSchemaCollection constraints, DataTypeSchemaCollection dataTypes)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
- if (constraints == null)
- throw new ArgumentNullException ("constraints");
- if (table == null)
- throw new ArgumentNullException ("table");
- if (tables == null)
- throw new ArgumentNullException ("tables");
-
- if (pkEditor != null)
- pkEditor.Initialize (table, columns, constraints);
- if (fkEditor != null)
- fkEditor.Initialize (tables, table, columns, constraints);
- if (checkEditor != null)
- checkEditor.Initialize (table, columns, constraints);
- if (uniqueEditor != null)
- uniqueEditor.Initialize (table, columns, constraints);
- }
-
- private void OnContentChanged (object sender, EventArgs args)
- {
- if (ContentChanged != null)
- ContentChanged (this, args);
- }
-
- public virtual void RefreshConstraints ()
- {
- pkEditor.RefreshConstraints ();
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- msg = null;
- bool ret = true;
-
- if (pkEditor != null)
- ret &= pkEditor.ValidateSchemaObjects (out msg);
- if (!ret) return ret;
-
- if (fkEditor != null)
- ret &= fkEditor.ValidateSchemaObjects (out msg);
- if (!ret) return ret;
-
- if (checkEditor != null)
- ret &= checkEditor.ValidateSchemaObjects (out msg);
- if (!ret) return ret;
-
- if (uniqueEditor != null)
- ret &= uniqueEditor.ValidateSchemaObjects (out msg);
- if (!ret) return ret;
-
- return ret;
- }
-
- public virtual void FillSchemaObjects ()
- {
- if (pkEditor != null)
- pkEditor.FillSchemaObjects ();
- if (fkEditor != null)
- fkEditor.FillSchemaObjects ();
- if (checkEditor != null)
- checkEditor.FillSchemaObjects ();
- if (uniqueEditor != null)
- uniqueEditor.FillSchemaObjects ();
- }
- }
-
- public class ConstraintEditorSettings
- {
- private bool showPrimaryKeyConstraints = true;
- private bool showForeignKeyConstraints = true;
- private bool showCheckConstraints = true;
- private bool showUniqueConstraints = true;
-
- private ForeignKeyConstraintEditorSettings foreignKeySettings;
- private CheckConstraintEditorSettings checkSettings;
-
- public ConstraintEditorSettings ()
- {
- foreignKeySettings = new ForeignKeyConstraintEditorSettings ();
- checkSettings = new CheckConstraintEditorSettings ();
- }
-
- public ForeignKeyConstraintEditorSettings ForeignKeySettings {
- get { return foreignKeySettings; }
- }
-
- public CheckConstraintEditorSettings CheckSettings {
- get { return checkSettings; }
- }
-
- public bool ShowPrimaryKeyConstraints {
- get { return showPrimaryKeyConstraints; }
- set { showPrimaryKeyConstraints = value; }
- }
-
- public bool ShowForeignKeyConstraints {
- get { return showForeignKeyConstraints; }
- set { showForeignKeyConstraints = value; }
- }
-
- public bool ShowCheckConstraints {
- get { return showCheckConstraints; }
- set { showCheckConstraints = value; }
- }
-
- public bool ShowUniqueConstraints {
- get { return showUniqueConstraints; }
- set { showUniqueConstraints = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CreateDatabaseWidget.cs
deleted file mode 100644
index 5538a82947..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/CreateDatabaseWidget.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- public partial class CreateDatabaseWidget : Gtk.Bin
- {
- public event EventHandler NeedsValidation;
-
- public CreateDatabaseWidget ()
- {
- this.Build();
- }
-
- protected virtual void CheckSettings ()
- {
- if (NeedsValidation != null)
- NeedsValidation (this, EventArgs.Empty);
- }
-
- public virtual bool ValidateFields ()
- {
- return entryDatabase.Text.Length > 0;
- }
-
- protected virtual void DatabaseNameChanged (object sender, System.EventArgs e)
- {
- CheckSettings ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs
deleted file mode 100644
index fc1865a736..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs
+++ /dev/null
@@ -1,468 +0,0 @@
-
-
-
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Text;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class ForeignKeyConstraintEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
-
- private ISchemaProvider schemaProvider;
- private TableSchema table;
- private TableSchemaCollection tables;
- private ColumnSchemaCollection columns;
- private ConstraintSchemaCollection constraints;
- TableSchema refTable = null;
-
- private const int colNameIndex = 0;
- private const int colReferenceTableIndex = 1;
- private const int colIsColumnConstraintIndex = 2;
- private const int colColumnsIndex = 3;
- private const int colReferenceColumnsIndex = 4;
- private const int colDeleteActionIndex = 5;
- private const int colUpdateActionIndex = 6;
- private const int colObjIndex = 7;
-
- private ListStore store;
- private ListStore storeActions;
- private ListStore storeTables;
-
- private SchemaActions action;
- private ForeignKeyConstraintEditorSettings settings;
-
- //TODO: difference between columns and reference columns + combo events
- public ForeignKeyConstraintEditorWidget (ISchemaProvider schemaProvider, SchemaActions action, ForeignKeyConstraintEditorSettings settings)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
- if (settings == null)
- throw new ArgumentNullException ("settings");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
- this.settings = settings;
-
- this.Build();
-
- store = new ListStore (typeof (string), typeof (string), typeof (bool), typeof (string), typeof (string), typeof (string), typeof (string), typeof (object));
- listFK.Model = store;
-
- storeActions = new ListStore (typeof (string), typeof (int));
- storeTables = new ListStore (typeof (string), typeof(TableSchema));
-
- if (settings.SupportsCascade)
- storeActions.AppendValues ("Cascade", (int)ForeignKeyAction.Cascade);
- if (settings.SupportsRestrict)
- storeActions.AppendValues ("Restrict", (int)ForeignKeyAction.Restrict);
- if (settings.SupportsNoAction)
- storeActions.AppendValues ("No Action", (int)ForeignKeyAction.NoAction);
- if (settings.SupportsSetNull)
- storeActions.AppendValues ("Set Null", (int)ForeignKeyAction.SetNull);
- if (settings.SupportsSetDefault)
- storeActions.AppendValues ("Set Default", (int)ForeignKeyAction.SetDefault);
-
- TreeViewColumn colName = new TreeViewColumn ();
- TreeViewColumn colRefTable = new TreeViewColumn ();
- TreeViewColumn colIsColumnConstraint = new TreeViewColumn ();
- TreeViewColumn colDeleteAction = new TreeViewColumn ();
- TreeViewColumn colUpdateAction = new TreeViewColumn ();
-
- colName.Title = AddinCatalog.GetString ("Name");
- colRefTable.Title = AddinCatalog.GetString ("Reference Table");
- colIsColumnConstraint.Title = AddinCatalog.GetString ("Column Constraint");
- colDeleteAction.Title = AddinCatalog.GetString ("Delete Action");
- colUpdateAction.Title = AddinCatalog.GetString ("Update Action");
-
- colRefTable.MinWidth = 120;
-
- CellRendererText nameRenderer = new CellRendererText ();
- CellRendererCombo refTableRenderer = new CellRendererCombo ();
- CellRendererToggle isColumnConstraintRenderer = new CellRendererToggle ();
- CellRendererCombo deleteActionRenderer = new CellRendererCombo ();
- CellRendererCombo updateActionRenderer = new CellRendererCombo ();
-
- nameRenderer.Editable = true;
- nameRenderer.Edited += new EditedHandler (NameEdited);
-
- refTableRenderer.Model = storeTables;
- refTableRenderer.TextColumn = 0;
- refTableRenderer.Editable = true;
- refTableRenderer.Edited += new EditedHandler (RefTableEdited);
-
- deleteActionRenderer.Model = storeActions;
- deleteActionRenderer.TextColumn = 0;
- deleteActionRenderer.Editable = true;
- deleteActionRenderer.Edited += new EditedHandler (DeleteActionEdited);
-
- updateActionRenderer.Model = storeActions;
- updateActionRenderer.TextColumn = 0;
- updateActionRenderer.Editable = true;
- updateActionRenderer.Edited += new EditedHandler (UpdateActionEdited);
-
- colName.PackStart (nameRenderer, true);
- colRefTable.PackStart (refTableRenderer, true);
- colIsColumnConstraint.PackStart (isColumnConstraintRenderer, true);
- colDeleteAction.PackStart (deleteActionRenderer, true);
- colUpdateAction.PackStart (updateActionRenderer, true);
-
- colName.AddAttribute (nameRenderer, "text", colNameIndex);
- colRefTable.AddAttribute (refTableRenderer, "text", colReferenceTableIndex);
- colIsColumnConstraint.AddAttribute (isColumnConstraintRenderer, "active", colIsColumnConstraintIndex);
- colDeleteAction.AddAttribute (deleteActionRenderer, "text", colDeleteActionIndex);
- colUpdateAction.AddAttribute (updateActionRenderer, "text", colUpdateActionIndex);
-
- colIsColumnConstraint.Visible = false;
- listFK.AppendColumn (colName);
- listFK.AppendColumn (colRefTable);
- listFK.AppendColumn (colIsColumnConstraint);
- listFK.AppendColumn (colDeleteAction);
- listFK.AppendColumn (colUpdateAction);
-
- columnSelecter.ColumnToggled += new EventHandler (ColumnToggled);
- referenceColumnSelecter.ColumnToggled += new EventHandler (ReferenceColumnToggled);
- listFK.Selection.Changed += new EventHandler (SelectionChanged);
-
- ShowAll ();
- }
-
- public void Initialize (TableSchemaCollection tables, TableSchema table, ColumnSchemaCollection columns, ConstraintSchemaCollection constraints)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
- if (table == null)
- throw new ArgumentNullException ("table");
- if (constraints == null)
- throw new ArgumentNullException ("constraints");
- if (tables == null)
- throw new ArgumentNullException ("tables");
-
- this.table = table;
- this.tables = tables;
- this.columns = columns;
- this.constraints = constraints;
- columnSelecter.Initialize (columns);
- foreach (TableSchema tbl in tables)
- if (tbl.Name != table.Name)
- storeTables.AppendValues (tbl.Name, tbl);
- }
-
- protected virtual void AddClicked (object sender, EventArgs e)
- {
- ForeignKeyConstraintSchema fk = schemaProvider.CreateForeignKeyConstraintSchema (string.Concat (table.Name,
- "_",
- "fk_new"));
- int index = 1;
-
- while (constraints.Contains (fk.Name))
- fk.Name = string.Concat (table.Name, "_", "fk_new", (index++).ToString ());
-
- constraints.Add (fk);
- AddConstraint (fk);
- EmitContentChanged ();
- }
-
- protected virtual void RemoveClicked (object sender, EventArgs e)
- {
- TreeIter iter;
- if (listFK.Selection.GetSelected (out iter)) {
- ForeignKeyConstraintSchema fk = store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema;
-
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove foreign key constraint '{0}'?", fk.Name),
- AlertButton.Remove
- )) {
- store.Remove (ref iter);
- constraints.Remove (fk);
- EmitContentChanged ();
- }
- }
- }
-
- private void SelectionChanged (object sender, EventArgs args)
- {
- columnSelecter.DeselectAll ();
- referenceColumnSelecter.Clear ();
-
- TreeIter iter;
- if (listFK.Selection.GetSelected (out iter)) {
- FillReferenceColumnSelector (iter, store.GetValue (iter, colReferenceTableIndex).ToString ());
-
- buttonRemove.Sensitive = true;
- columnSelecter.Sensitive = true;
- SetSelectionFromIter (iter);
- } else {
- buttonRemove.Sensitive = false;
- columnSelecter.Sensitive = false;
- }
- }
-
- private void SetSelectionFromIter (TreeIter iter)
- {
- bool iscolc = (bool)store.GetValue (iter, colIsColumnConstraintIndex);
- columnSelecter.SingleCheck = iscolc;
-
- string colstr = store.GetValue (iter, colColumnsIndex) as string;
- if (colstr != String.Empty) {
- string[] cols = colstr.Split (',');
- foreach (string col in cols)
- columnSelecter.Select (col);
- }
-
- colstr = store.GetValue (iter, colReferenceColumnsIndex) as string;
- if (colstr != string.Empty) {
- string[] cols = colstr.Split (',');
- foreach (string col in cols)
- referenceColumnSelecter.Select (col);
- }
- }
-
- private void RefTableEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- FillReferenceColumnSelector (iter, args.NewText);
- }
- }
-
- private void FillReferenceColumnSelector (TreeIter iter, string table)
- {
- if (tables.Contains (table)) {
- refTable = tables.Search (table);
- if (refTable != null) {
- referenceColumnSelecter.Initialize (refTable.Columns);
- referenceColumnSelecter.Sensitive = true;
- store.SetValue (iter, colReferenceTableIndex, table);
- SetSelectionFromIter (iter);
- } else {
- referenceColumnSelecter.Sensitive = false;
- referenceColumnSelecter.Clear ();
- }
- EmitContentChanged ();
-
- }
- }
-
- private void ColumnToggled (object sender, EventArgs args)
- {
- TreeIter iter;
- if (listFK.Selection.GetSelected (out iter)) {
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).Columns.Clear ();
- foreach (ColumnSchema col in columnSelecter.CheckedColumns)
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).Columns.Add (col);
- store.SetValue (iter, colColumnsIndex, GetColumnsString (columnSelecter.CheckedColumns));
- EmitContentChanged ();
- }
- }
-
- private void ReferenceColumnToggled (object sender, EventArgs args)
- {
- TreeIter iter;
- if (listFK.Selection.GetSelected (out iter)) {
- if (refTable != null) {
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).ReferenceTable = refTable;
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).ReferenceColumns.Clear ();
- foreach (ColumnSchema col in referenceColumnSelecter.CheckedColumns)
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).ReferenceColumns.Add (col);
- store.SetValue (iter, colReferenceColumnsIndex, GetColumnsString (referenceColumnSelecter.CheckedColumns));
- EmitContentChanged ();
- }
- }
- }
-
- private void NameEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText)) {
- store.SetValue (iter, colNameIndex, args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void UpdateActionEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (IsValidForeignKeyAction (args.NewText)) {
- store.SetValue (iter, colUpdateActionIndex, args.NewText);
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).UpdateAction =
- GetForeignKeyAction (iter, colUpdateActionIndex);
-
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colUpdateActionIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void DeleteActionEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (IsValidForeignKeyAction (args.NewText)) {
- store.SetValue (iter, colDeleteActionIndex, args.NewText);
- (store.GetValue (iter, colObjIndex) as ForeignKeyConstraintSchema).DeleteAction =
- GetForeignKeyAction (iter, colDeleteActionIndex);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colDeleteActionIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private bool IsValidForeignKeyAction (string name)
- {
- foreach (string item in Enum.GetNames (typeof (ForeignKeyAction))) {
- if (item == name.Replace (" ", ""))
- return true;
- }
- return false;
- }
-
- private void AddConstraint (ForeignKeyConstraintSchema fk)
- {
- store.AppendValues (fk.Name, String.Empty, false, String.Empty, String.Empty,
- fk.DeleteAction.ToString (), fk.UpdateAction.ToString (), fk
- );
- }
-
- protected virtual void EmitContentChanged ()
- {
- if (ContentChanged != null)
- ContentChanged (this, EventArgs.Empty);
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- string name = store.GetValue (iter, colNameIndex) as string;
- string columns = store.GetValue (iter, colColumnsIndex) as string;
-
- if (String.IsNullOrEmpty (columns)) {
- msg = AddinCatalog.GetString ("Unique Key constraint '{0}' must be applied to one or more columns.", name);
- return false;
- }
- } while (store.IterNext (ref iter));
- }
- msg = null;
- return true;
- }
-
- public virtual void FillSchemaObjects ()
- {
- /*
- * This code isn't needed anymore, beacause Foreign Key's constraint are added on demand when clicking
- * Add Button.
- */
- }
-
- private string GetColumnsString (IEnumerable<ColumnSchema> collection)
- {
- bool first = true;
- StringBuilder sb = new StringBuilder ();
- foreach (ColumnSchema column in collection) {
- if (first)
- first = false;
- else
- sb.Append (',');
-
- sb.Append (column.Name);
- }
- return sb.ToString ();
- }
-
- private ForeignKeyAction GetForeignKeyAction (TreeIter colIter, int colIndex)
- {
- string name = store.GetValue (colIter, colIndex) as string;
-
- TreeIter iter;
- if (storeActions.GetIterFirst (out iter)) {
- do {
- string actionName = storeActions.GetValue (iter, 0) as string;
- if (actionName == name)
- return (ForeignKeyAction)storeActions.GetValue (iter, 1);
- } while (storeActions.IterNext (ref iter));
- }
- return ForeignKeyAction.None;
- }
- }
-
- public class ForeignKeyConstraintEditorSettings
- {
- private bool supportsCascade = true;
- private bool supportsRestrict = true;
- private bool supportsNoAction = true;
- private bool supportsSetNull = true;
- private bool supportsSetDefault = true;
-
- public bool SupportsCascade {
- get { return supportsCascade; }
- set { supportsCascade = value; }
- }
-
- public bool SupportsRestrict {
- get { return supportsRestrict; }
- set { supportsRestrict = value; }
- }
-
- public bool SupportsNoAction {
- get { return supportsNoAction; }
- set { supportsNoAction = value; }
- }
-
- public bool SupportsSetNull {
- get { return supportsSetNull; }
- set { supportsSetNull = value; }
- }
-
- public bool SupportsSetDefault {
- get { return supportsSetDefault; }
- set { supportsSetDefault = value; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/IndicesEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/IndicesEditorWidget.cs
deleted file mode 100644
index cfe1e59ae0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/IndicesEditorWidget.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class IndicesEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
-
- private ISchemaProvider schemaProvider;
-
- private SchemaActions action;
-
- public IndicesEditorWidget(ISchemaProvider schemaProvider, SchemaActions action)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
-
- this.Build();
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- msg = null;
- return true;
- }
-
- public virtual void FillSchemaObjects ()
- {
-
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs
deleted file mode 100644
index 5c41d057f8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs
+++ /dev/null
@@ -1,252 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Text;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class PrimaryKeyConstraintEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
- public event EventHandler PrimaryKeyChanged;
-
- private ISchemaProvider schemaProvider;
- private TableSchema table;
- private ColumnSchemaCollection columns;
- private ConstraintSchemaCollection constraints;
-
- private SchemaActions action;
-
- private ListStore store;
-
- private const int colNameIndex = 0;
- private const int colColumnsIndex = 1;
- private const int colObjIndex = 2;
-
- public PrimaryKeyConstraintEditorWidget (ISchemaProvider schemaProvider, SchemaActions action)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
-
- this.Build();
- store = new ListStore (typeof (string), typeof (string), typeof (object));
- listPK.Model = store;
-
- TreeViewColumn colName = new TreeViewColumn ();
-
- colName.Title = AddinCatalog.GetString ("Name");
- CellRendererText nameRenderer = new CellRendererText ();
-
- nameRenderer.Editable = true;
- nameRenderer.Edited += new EditedHandler (NameEdited);
-
- colName.PackStart (nameRenderer, true);
- colName.AddAttribute (nameRenderer, "text", colNameIndex);
- listPK.AppendColumn (colName);
-
- listPK.Selection.Changed += new EventHandler (SelectionChanged);
- columnSelecter.ColumnToggled += new EventHandler (ColumnToggled);
-
- ShowAll ();
- }
-
- public void Initialize (TableSchema table, ColumnSchemaCollection columns, ConstraintSchemaCollection constraints)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
- if (table == null)
- throw new ArgumentNullException ("table");
- if (constraints == null)
- throw new ArgumentNullException ("constraints");
-
- this.table = table;
- this.columns = columns;
- this.constraints = constraints;
-
- columnSelecter.Initialize (columns);
- RefreshConstraints ();
- }
-
- public virtual void RefreshConstraints ()
- {
- store.Clear ();
- foreach (PrimaryKeyConstraintSchema pk in constraints.GetConstraints (ConstraintType.PrimaryKey))
- AddConstraint (pk);
- }
-
-
- private void NameEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText) && !constraints.Contains (args.NewText)) {
- store.SetValue (iter, colNameIndex, args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void SelectionChanged (object sender, EventArgs args)
- {
- columnSelecter.DeselectAll ();
-
- TreeIter iter;
- if (listPK.Selection.GetSelected (out iter)) {
- columnSelecter.Sensitive = true;
- buttonRemove.Sensitive = true;
-
- string colstr = store.GetValue (iter, colColumnsIndex) as string;
- string[] cols = colstr.Split (',');
- foreach (string col in cols)
- columnSelecter.Select (col);
- } else {
- columnSelecter.Sensitive = false;
- buttonRemove.Sensitive = false;
- }
- }
-
- private void ColumnToggled (object sender, EventArgs args)
- {
- TreeIter iter;
- if (listPK.Selection.GetSelected (out iter)) {
- bool first = true;
- StringBuilder sb = new StringBuilder ();
- ConstraintSchema constraint = (ConstraintSchema)store.GetValue (iter, colObjIndex);
- constraint.Columns.Clear ();
-
- foreach (ColumnSchema column in columnSelecter.CheckedColumns) {
- constraint.Columns.Add (column);
- if (first)
- first = false;
- else
- sb.Append (',');
-
- sb.Append (column.Name);
- }
- store.SetValue (iter, colColumnsIndex, sb.ToString ());
- EmitContentChanged ();
- OnPrimaryKeyChanged ();
- }
- }
-
- protected virtual void OnPrimaryKeyChanged ()
- {
- if (PrimaryKeyChanged != null)
- PrimaryKeyChanged (this, new EventArgs ());
- }
-
- protected virtual void AddClicked (object sender, System.EventArgs e)
- {
- PrimaryKeyConstraintSchema pk =
- schemaProvider.CreatePrimaryKeyConstraintSchema (
- string.Concat (
- table.Name,
- "_",
- AddinCatalog.GetString ("pk_new")));
- int index = 1;
- while (constraints.Contains (pk.Name))
- pk.Name = string.Concat (table.Name,"_", AddinCatalog.GetString ("pk_new"), (index++).ToString ());
- constraints.Add (pk);
- AddConstraint (pk);
- EmitContentChanged ();
- }
-
- protected virtual void RemoveClicked (object sender, System.EventArgs e)
- {
- TreeIter iter;
- if (listPK.Selection.GetSelected (out iter)) {
- PrimaryKeyConstraintSchema pk = store.GetValue (iter, colObjIndex) as PrimaryKeyConstraintSchema;
-
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove constraint '{0}'?", pk.Name),
- AlertButton.Remove
- )) {
- store.Remove (ref iter);
- constraints.Remove (pk);
- EmitContentChanged ();
- }
- }
- }
-
- private void AddConstraint (PrimaryKeyConstraintSchema pk)
- {
- System.Text.StringBuilder pk_cols = new System.Text.StringBuilder ();
- foreach (ColumnSchema col in pk.Columns) {
- if (pk_cols.Length > 0)
- pk_cols.Append (",");
- pk_cols.Append (col.Name);
- }
- TreeIter iter = store.AppendValues (pk.Name, pk_cols.ToString (), pk);
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- string name = store.GetValue (iter, colNameIndex) as string;
- string columns = store.GetValue (iter, colColumnsIndex) as string;
-
- if (String.IsNullOrEmpty (columns)) {
- msg = AddinCatalog.GetString ("Primary Key constraint '{0}' must be applied to one or more columns.", name);
- return false;
- }
- } while (store.IterNext (ref iter));
- }
- msg = null;
- return true;
- }
-
- public virtual void FillSchemaObjects ()
- {
- /*
- * This code isn't needed anymore, beacause PK's are added on demand in
- * order to mantain the exact same thing between "ColumnsEditorWiget" and PrimaryKeyConstraintEditorWidget
- */
- }
-
-
- protected virtual void EmitContentChanged ()
- {
- if (ContentChanged != null)
- ContentChanged (this, EventArgs.Empty);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs
deleted file mode 100644
index 1fff885e02..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs
+++ /dev/null
@@ -1,390 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class TriggersEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
-
- private ISchemaProvider schemaProvider;
- private TableSchema table;
- private TriggerSchemaCollection triggers;
-
- private SchemaActions action;
-
- private ListStore store;
- private ListStore storeTypes;
- private ListStore storeEvents;
-
- private const int colNameIndex = 0;
- private const int colTypeIndex = 1;
- private const int colEventIndex = 2;
- private const int colFireTypeIndex = 3;
- private const int colPositionIndex = 4;
- private const int colActiveIndex = 5;
- private const int colCommentIndex = 6;
- private const int colSourceIndex = 7;
- private const int colObjIndex = 8;
-
- public TriggersEditorWidget (ISchemaProvider schemaProvider, SchemaActions action)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
-
- this.Build();
-
- sqlEditor.Editable = false;
- sqlEditor.TextChanged += new EventHandler (SourceChanged);
-
- store = new ListStore (typeof (string), typeof (string), typeof (string), typeof (bool), typeof (string), typeof (bool), typeof (string), typeof (string), typeof (object));
- storeTypes = new ListStore (typeof (string));
- storeEvents = new ListStore (typeof (string));
- listTriggers.Model = store;
- listTriggers.Selection.Changed += new EventHandler (OnSelectionChanged);
-
- foreach (string name in Enum.GetNames (typeof (TriggerType)))
- storeTypes.AppendValues (name);
- foreach (string name in Enum.GetNames (typeof (TriggerEvent)))
- storeEvents.AppendValues (name);
-
- TreeViewColumn colName = new TreeViewColumn ();
- TreeViewColumn colType = new TreeViewColumn ();
- TreeViewColumn colEvent = new TreeViewColumn ();
- TreeViewColumn colFireType = new TreeViewColumn ();
- TreeViewColumn colPosition = new TreeViewColumn ();
- TreeViewColumn colActive = new TreeViewColumn ();
- TreeViewColumn colComment = new TreeViewColumn ();
-
- colName.Title = AddinCatalog.GetString ("Name");
- colType.Title = AddinCatalog.GetString ("Type");
- colEvent.Title = AddinCatalog.GetString ("Event");
- colFireType.Title = AddinCatalog.GetString ("Each Row");
- colPosition.Title = AddinCatalog.GetString ("Position");
- colActive.Title = AddinCatalog.GetString ("Active");
- colComment.Title = AddinCatalog.GetString ("Comment");
-
- colType.MinWidth = 120;
- colEvent.MinWidth = 120;
-
- CellRendererText nameRenderer = new CellRendererText ();
- CellRendererCombo typeRenderer = new CellRendererCombo ();
- CellRendererCombo eventRenderer = new CellRendererCombo ();
- CellRendererToggle fireTypeRenderer = new CellRendererToggle ();
- CellRendererText positionRenderer = new CellRendererText ();
- CellRendererToggle activeRenderer = new CellRendererToggle ();
- CellRendererText commentRenderer = new CellRendererText ();
-
- nameRenderer.Editable = true;
- nameRenderer.Edited += new EditedHandler (NameEdited);
-
- typeRenderer.Model = storeTypes;
- typeRenderer.TextColumn = 0;
- typeRenderer.Editable = true;
- typeRenderer.Edited += new EditedHandler (TypeEdited);
-
- eventRenderer.Model = storeEvents;
- eventRenderer.TextColumn = 0;
- eventRenderer.Editable = true;
- eventRenderer.Edited += new EditedHandler (EventEdited);
-
- fireTypeRenderer.Activatable = true;
- fireTypeRenderer.Toggled += new ToggledHandler (FireTypeToggled);
-
- positionRenderer.Editable = true;
- positionRenderer.Edited += new EditedHandler (PositionEdited);
-
- activeRenderer.Activatable = true;
- activeRenderer.Toggled += new ToggledHandler (ActiveToggled);
-
- commentRenderer.Editable = true;
- commentRenderer.Edited += new EditedHandler (CommentEdited);
-
- colName.PackStart (nameRenderer, true);
- colType.PackStart (typeRenderer, true);
- colEvent.PackStart (eventRenderer, true);
- colFireType.PackStart (fireTypeRenderer, true);
- colPosition.PackStart (positionRenderer, true);
- colActive.PackStart (activeRenderer, true);
- colComment.PackStart (commentRenderer, true);
-
- colName.AddAttribute (nameRenderer, "text", colNameIndex);
- colType.AddAttribute (typeRenderer, "text", colTypeIndex);
- colEvent.AddAttribute (eventRenderer, "text", colEventIndex);
- colFireType.AddAttribute (fireTypeRenderer, "active", colFireTypeIndex);
- colPosition.AddAttribute (positionRenderer, "text", colPositionIndex);
- colActive.AddAttribute (activeRenderer, "active", colActiveIndex);
- colComment.AddAttribute (commentRenderer, "text", colCommentIndex);
-
- listTriggers.AppendColumn (colName);
- listTriggers.AppendColumn (colType);
- listTriggers.AppendColumn (colEvent);
- listTriggers.AppendColumn (colFireType);
- listTriggers.AppendColumn (colPosition);
- listTriggers.AppendColumn (colActive);
- listTriggers.AppendColumn (colComment);
-
- ShowAll ();
- }
-
- public void Initialize (TableSchema table, TriggerSchemaCollection triggers)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
- if (triggers == null)
- throw new ArgumentNullException ("triggers");
-
- this.table = table;
- this.triggers = triggers;
-
- if (action == SchemaActions.Alter)
- foreach (TriggerSchema trigger in triggers)
- AddTrigger (trigger);
- }
-
- protected virtual void RemoveClicked (object sender, System.EventArgs e)
- {
- TreeIter iter;
- if (listTriggers.Selection.GetSelected (out iter)) {
- TriggerSchema trigger = store.GetValue (iter, colObjIndex) as TriggerSchema;
-
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove trigger '{0}'?", trigger.Name),
- AlertButton.Remove
- )) {
- store.Remove (ref iter);
- triggers.Remove (trigger);
- EmitContentChanged ();
- }
- }
- }
-
- protected virtual void AddClicked (object sender, EventArgs e)
- {
- TriggerSchema trigger = schemaProvider.CreateTriggerSchema (string.Concat (table.Name,
- "_",
- "trigger_",
- table.Name));
- trigger.TableName = table.Name;
- int index = 1;
- while (triggers.Contains (trigger.Name))
- trigger.Name = "trigger_" + table.Name + (index++);
- // triggers.Add (trigger);
- AddTrigger (trigger);
- EmitContentChanged ();
- }
-
- private void AddTrigger (TriggerSchema trigger)
- {
- store.AppendValues (trigger.Name, trigger.TriggerType.ToString (),
- trigger.TriggerEvent.ToString (), trigger.TriggerFireType == TriggerFireType.ForEachRow,
- trigger.Position.ToString (), trigger.IsActive, trigger.Comment,
- trigger.Source , trigger);
- }
-
- private void NameEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText)) {
- store.SetValue (iter, colNameIndex, args.NewText);
- } else {
- string oldText = store.GetValue (iter, colNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- protected virtual void OnSelectionChanged (object sender, EventArgs e)
- {
- TreeIter iter;
- if (listTriggers.Selection.GetSelected (out iter)) {
- buttonRemove.Sensitive = true;
- sqlEditor.Editable = true;
-
- TriggerSchema trigger = store.GetValue (iter, colObjIndex) as TriggerSchema;
-
- sqlEditor.Text = trigger.Source;
-
- } else {
- buttonRemove.Sensitive = false;
- sqlEditor.Editable = false;
- sqlEditor.Text = String.Empty;
- }
- }
-
- private void SourceChanged (object sender, EventArgs args)
- {
- TreeIter iter;
- if (listTriggers.Selection.GetSelected (out iter)) {
- store.SetValue (iter, colSourceIndex, sqlEditor.Text);
- EmitContentChanged ();
- }
- }
-
- private void TypeEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- foreach (string name in Enum.GetNames (typeof (TriggerType))) {
- if (args.NewText == name) {
- store.SetValue (iter, colTypeIndex, args.NewText);
- EmitContentChanged ();
- return;
- }
- }
- string oldText = store.GetValue (iter, colTypeIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
-
- private void EventEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- foreach (string name in Enum.GetNames (typeof (TriggerEvent))) {
- if (args.NewText == name) {
- store.SetValue (iter, colEventIndex, args.NewText);
- EmitContentChanged ();
- return;
- }
- }
- string oldText = store.GetValue (iter, colEventIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
-
- private void PositionEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- int len;
- if (!string.IsNullOrEmpty (args.NewText) && int.TryParse (args.NewText, out len)) {
- store.SetValue (iter, colPositionIndex, args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colPositionIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void FireTypeToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) store.GetValue (iter, colFireTypeIndex);
- store.SetValue (iter, colFireTypeIndex, !val);
- EmitContentChanged ();
- }
- }
-
- private void ActiveToggled (object sender, ToggledArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- bool val = (bool) store.GetValue (iter, colActiveIndex);
- store.SetValue (iter, colActiveIndex, !val);
- EmitContentChanged ();
- }
- }
-
- private void CommentEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- store.SetValue (iter, colCommentIndex, args.NewText);
- EmitContentChanged ();
- }
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- string name = store.GetValue (iter, colNameIndex) as string;
- string source = store.GetValue (iter, colSourceIndex) as string;
- //type, event, firetype, position and fireType are always valid
-
- if (String.IsNullOrEmpty (source)) {
- msg = AddinCatalog.GetString ("Trigger '{0}' does not contain a trigger statement.", name);
- return false;
- }
- } while (store.IterNext (ref iter));
- }
- msg = null;
- return true;
- }
-
- public virtual void FillSchemaObjects ()
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- TriggerSchema trigger = store.GetValue (iter, colObjIndex) as TriggerSchema;
-
- trigger.Name = store.GetValue (iter, colNameIndex) as string;
-
- trigger.TriggerType = (TriggerType)Enum.Parse (typeof (TriggerType), store.GetValue (iter, colTypeIndex) as string);
- trigger.TriggerEvent = (TriggerEvent)Enum.Parse (typeof (TriggerEvent), store.GetValue (iter, colEventIndex) as string);
- if (Convert.ToBoolean(store.GetValue (iter, colFireTypeIndex)))
- trigger.TriggerFireType = TriggerFireType.ForEachRow;
- else
- trigger.TriggerFireType = TriggerFireType.ForEachStatement;
-
- trigger.Position = int.Parse (store.GetValue (iter, colPositionIndex) as string);
- trigger.IsActive = (bool)store.GetValue (iter, colActiveIndex);
-
- trigger.Comment = store.GetValue (iter, colCommentIndex) as string;
- trigger.Source = store.GetValue (iter, colSourceIndex) as string;
-
- table.Triggers.Add (trigger);
- } while (store.IterNext (ref iter));
- }
- }
-
- protected virtual void EmitContentChanged ()
- {
- if (ContentChanged != null)
- ContentChanged (this, EventArgs.Empty);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs
deleted file mode 100644
index 367e3d5e5b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs
+++ /dev/null
@@ -1,247 +0,0 @@
-
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Text;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Designer
-{
- [System.ComponentModel.Category("widget")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class UniqueConstraintEditorWidget : Gtk.Bin
- {
- public event EventHandler ContentChanged;
-
- private ISchemaProvider schemaProvider;
- private ColumnSchemaCollection columns;
- private ConstraintSchemaCollection constraints;
- private TableSchema table;
-
- private SchemaActions action;
-
- private ListStore store;
-
- private const int colNameIndex = 0;
- private const int colIsColumnConstraintIndex = 1;
- private const int colColumnsIndex = 2;
- private const int colObjIndex = 3;
-
- public UniqueConstraintEditorWidget (ISchemaProvider schemaProvider, SchemaActions action)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.schemaProvider = schemaProvider;
- this.action = action;
-
- this.Build();
-
- store = new ListStore (typeof (string), typeof (bool), typeof (string), typeof (object));
- listUnique.Model = store;
- listUnique.Selection.Changed += new EventHandler (SelectionChanged);
- columnSelecter.ColumnToggled += new EventHandler (ColumnToggled);
-
- TreeViewColumn colName = new TreeViewColumn ();
-
- colName.Title = AddinCatalog.GetString ("Name");
-
- CellRendererText nameRenderer = new CellRendererText ();
-
- nameRenderer.Editable = true;
- nameRenderer.Edited += new EditedHandler (NameEdited);
-
- colName.PackStart (nameRenderer, true);
- colName.AddAttribute (nameRenderer, "text", colNameIndex);
-
- listUnique.AppendColumn (colName);
-
- ShowAll ();
- }
-
- public void Initialize (TableSchema table, ColumnSchemaCollection columns, ConstraintSchemaCollection constraints)
- {
- if (columns == null)
- throw new ArgumentNullException ("columns");
- if (table == null)
- throw new ArgumentNullException ("table");
- if (constraints == null)
- throw new ArgumentNullException ("constraints");
-
- this.table = table;
- this.columns = columns;
- this.constraints = constraints;
-
- columnSelecter.Initialize (columns);
-
- foreach (UniqueConstraintSchema uni in constraints.GetConstraints (ConstraintType.Unique))
- AddConstraint (uni);
-
- //TODO: also col constraints
- }
-
- private void NameEdited (object sender, EditedArgs args)
- {
- TreeIter iter;
- if (store.GetIterFromString (out iter, args.Path)) {
- if (!string.IsNullOrEmpty (args.NewText) && !constraints.Contains (args.NewText)) {
- store.SetValue (iter, colNameIndex, args.NewText);
- EmitContentChanged ();
- } else {
- string oldText = store.GetValue (iter, colNameIndex) as string;
- (sender as CellRendererText).Text = oldText;
- }
- }
- }
-
- private void SelectionChanged (object sender, EventArgs args)
- {
- columnSelecter.DeselectAll ();
-
- TreeIter iter;
- if (listUnique.Selection.GetSelected (out iter)) {
- columnSelecter.Sensitive = true;
- SetSelectionFromIter (iter);
- } else {
- columnSelecter.Sensitive = false;
- }
- }
-
- private void SetSelectionFromIter (TreeIter iter)
- {
- bool iscolc = (bool)store.GetValue (iter, colIsColumnConstraintIndex);
- columnSelecter.SingleCheck = iscolc;
-
- string colstr = store.GetValue (iter, colColumnsIndex) as string;
- if (colstr != string.Empty) {
- string[] cols = colstr.Split (',');
- foreach (string col in cols)
- columnSelecter.Select (col);
- }
- }
-
- private void ColumnToggled (object sender, EventArgs args)
- {
- TreeIter iter;
- if (listUnique.Selection.GetSelected (out iter)) {
- store.SetValue (iter, colColumnsIndex, GetColumnsString (columnSelecter.CheckedColumns));
- (store.GetValue (iter, colObjIndex) as UniqueConstraintSchema).Columns.Clear ();
- foreach (ColumnSchema col in columnSelecter.CheckedColumns)
- (store.GetValue (iter, colObjIndex) as UniqueConstraintSchema).Columns.Add (col);
- EmitContentChanged ();
- }
- }
-
- protected virtual void AddClicked (object sender, EventArgs e)
- {
- UniqueConstraintSchema uni = schemaProvider.CreateUniqueConstraintSchema (string.Concat (table.Name,
- "_",
- "uni_new"));
- int index = 1;
- while (constraints.Contains (uni.Name))
- uni.Name = string.Concat (table.Name, "_", "uni_new", (index++).ToString ());
- constraints.Add (uni);
- AddConstraint (uni);
- EmitContentChanged ();
- }
-
- protected virtual void RemoveClicked (object sender, EventArgs e)
- {
- TreeIter iter;
- if (listUnique.Selection.GetSelected (out iter)) {
- UniqueConstraintSchema uni = store.GetValue (iter, colObjIndex) as UniqueConstraintSchema;
-
- if (MessageService.Confirm (
- AddinCatalog.GetString ("Are you sure you want to remove constraint '{0}'?", uni.Name),
- AlertButton.Remove
- )) {
- store.Remove (ref iter);
- constraints.Remove (uni);
- EmitContentChanged ();
- }
- }
- }
-
- private void AddConstraint (UniqueConstraintSchema uni)
- {
- string colstr = GetColumnsString (uni.Columns);
- store.AppendValues (uni.Name, uni.IsColumnConstraint, colstr, uni);
- }
-
- private string GetColumnsString (IEnumerable<ColumnSchema> collection)
- {
- bool first = true;
- StringBuilder sb = new StringBuilder ();
- foreach (ColumnSchema column in collection) {
- if (first)
- first = false;
- else
- sb.Append (',');
-
- sb.Append (column.Name);
- }
- return sb.ToString ();
- }
-
- public virtual bool ValidateSchemaObjects (out string msg)
- {
- TreeIter iter;
- if (store.GetIterFirst (out iter)) {
- do {
- string name = store.GetValue (iter, colNameIndex) as string;
- string columns = store.GetValue (iter, colColumnsIndex) as string;
-
- if (String.IsNullOrEmpty (columns)) {
- msg = AddinCatalog.GetString ("Unique Key constraint '{0}' must be applied to one or more columns.", name);
- return false;
- }
- } while (store.IterNext (ref iter));
- }
- msg = null;
- return true;
- }
-
- public virtual void FillSchemaObjects ()
- {
- /*
- * This code isn't needed anymore, beacause Unique's constraint are added on demand when clicking
- * Add Button.
- */
- }
-
- protected virtual void EmitContentChanged ()
- {
- if (ContentChanged != null)
- ContentChanged (this, EventArgs.Empty);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs
deleted file mode 100644
index d681eca548..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class CheckConstraintEditorWidget
- {
- private global::Gtk.VPaned vpaned;
-
- private global::Gtk.HBox hbox;
-
- private global::Gtk.ScrolledWindow windowCheck;
-
- private global::Gtk.TreeView listCheck;
-
- private global::Gtk.VButtonBox vbuttonbox;
-
- private global::Gtk.Button buttonAdd;
-
- private global::Gtk.Button buttonRemove;
-
- private global::Gtk.Frame frame;
-
- private global::Gtk.Alignment alignment;
-
- private global::MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;
-
- private global::Gtk.Label GtkLabel2;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.CheckConstraintEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.CheckConstraintEditorWidget";
- // Container child MonoDevelop.Database.Designer.CheckConstraintEditorWidget.Gtk.Container+ContainerChild
- this.vpaned = new global::Gtk.VPaned ();
- this.vpaned.CanFocus = true;
- this.vpaned.Name = "vpaned";
- this.vpaned.Position = 189;
- // Container child vpaned.Gtk.Paned+PanedChild
- this.hbox = new global::Gtk.HBox ();
- this.hbox.Name = "hbox";
- this.hbox.Spacing = 6;
- // Container child hbox.Gtk.Box+BoxChild
- this.windowCheck = new global::Gtk.ScrolledWindow ();
- this.windowCheck.CanFocus = true;
- this.windowCheck.Name = "windowCheck";
- this.windowCheck.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child windowCheck.Gtk.Container+ContainerChild
- this.listCheck = new global::Gtk.TreeView ();
- this.listCheck.CanFocus = true;
- this.listCheck.Name = "listCheck";
- this.windowCheck.Add (this.listCheck);
- this.hbox.Add (this.windowCheck);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox[this.windowCheck]));
- w2.Position = 0;
- // Container child hbox.Gtk.Box+BoxChild
- this.vbuttonbox = new global::Gtk.VButtonBox ();
- this.vbuttonbox.Name = "vbuttonbox";
- this.vbuttonbox.Spacing = 6;
- this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonAdd = new global::Gtk.Button ();
- this.buttonAdd.CanFocus = true;
- this.buttonAdd.Name = "buttonAdd";
- this.buttonAdd.UseStock = true;
- this.buttonAdd.UseUnderline = true;
- this.buttonAdd.Label = "gtk-add";
- this.vbuttonbox.Add (this.buttonAdd);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
- w3.Expand = false;
- w3.Fill = false;
- // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonRemove = new global::Gtk.Button ();
- this.buttonRemove.Sensitive = false;
- this.buttonRemove.CanFocus = true;
- this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.UseStock = true;
- this.buttonRemove.UseUnderline = true;
- this.buttonRemove.Label = "gtk-remove";
- this.vbuttonbox.Add (this.buttonRemove);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- this.hbox.Add (this.vbuttonbox);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- this.vpaned.Add (this.hbox);
- global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
- w6.Resize = false;
- // Container child vpaned.Gtk.Paned+PanedChild
- this.frame = new global::Gtk.Frame ();
- this.frame.Name = "frame";
- this.frame.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame.Gtk.Container+ContainerChild
- this.alignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
- this.alignment.Name = "alignment";
- this.alignment.LeftPadding = ((uint)(12));
- // Container child alignment.Gtk.Container+ContainerChild
- this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget ();
- this.sqlEditor.Events = ((global::Gdk.EventMask)(256));
- this.sqlEditor.Name = "sqlEditor";
- this.sqlEditor.Editable = false;
- this.alignment.Add (this.sqlEditor);
- this.frame.Add (this.alignment);
- this.GtkLabel2 = new global::Gtk.Label ();
- this.GtkLabel2.Name = "GtkLabel2";
- this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Check Condition");
- this.GtkLabel2.UseMarkup = true;
- this.frame.LabelWidget = this.GtkLabel2;
- this.vpaned.Add (this.frame);
- this.Add (this.vpaned);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
- this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ColumnsEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ColumnsEditorWidget.cs
deleted file mode 100644
index 2ee90e9383..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ColumnsEditorWidget.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class ColumnsEditorWidget
- {
- private global::Gtk.HPaned hpaned;
-
- private global::Gtk.VBox vboxLeft;
-
- private global::Gtk.ScrolledWindow scrolledwindowLeft;
-
- private global::Gtk.TreeView treeColumns;
-
- private global::Gtk.HButtonBox hbuttonbox;
-
- private global::Gtk.Button buttonAdd;
-
- private global::Gtk.Button buttonRemove;
-
- private global::Gtk.Button buttonUp;
-
- private global::Gtk.Button buttonDown;
-
- private global::Gtk.ScrolledWindow scrolledwindowRight;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.ColumnsEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.ColumnsEditorWidget";
- // Container child MonoDevelop.Database.Designer.ColumnsEditorWidget.Gtk.Container+ContainerChild
- this.hpaned = new global::Gtk.HPaned ();
- this.hpaned.CanFocus = true;
- this.hpaned.Name = "hpaned";
- this.hpaned.Position = 662;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.vboxLeft = new global::Gtk.VBox ();
- this.vboxLeft.Name = "vboxLeft";
- this.vboxLeft.Spacing = 6;
- // Container child vboxLeft.Gtk.Box+BoxChild
- this.scrolledwindowLeft = new global::Gtk.ScrolledWindow ();
- this.scrolledwindowLeft.CanFocus = true;
- this.scrolledwindowLeft.Name = "scrolledwindowLeft";
- this.scrolledwindowLeft.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindowLeft.Gtk.Container+ContainerChild
- this.treeColumns = new global::Gtk.TreeView ();
- this.treeColumns.CanFocus = true;
- this.treeColumns.Name = "treeColumns";
- this.scrolledwindowLeft.Add (this.treeColumns);
- this.vboxLeft.Add (this.scrolledwindowLeft);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxLeft[this.scrolledwindowLeft]));
- w2.Position = 0;
- // Container child vboxLeft.Gtk.Box+BoxChild
- this.hbuttonbox = new global::Gtk.HButtonBox ();
- this.hbuttonbox.Name = "hbuttonbox";
- this.hbuttonbox.Spacing = 6;
- this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonAdd = new global::Gtk.Button ();
- this.buttonAdd.CanFocus = true;
- this.buttonAdd.Name = "buttonAdd";
- this.buttonAdd.UseStock = true;
- this.buttonAdd.UseUnderline = true;
- this.buttonAdd.Label = "gtk-add";
- this.hbuttonbox.Add (this.buttonAdd);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd]));
- w3.Expand = false;
- w3.Fill = false;
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonRemove = new global::Gtk.Button ();
- this.buttonRemove.Sensitive = false;
- this.buttonRemove.CanFocus = true;
- this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.UseStock = true;
- this.buttonRemove.UseUnderline = true;
- this.buttonRemove.Label = "gtk-remove";
- this.hbuttonbox.Add (this.buttonRemove);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonUp = new global::Gtk.Button ();
- this.buttonUp.Sensitive = false;
- this.buttonUp.CanFocus = true;
- this.buttonUp.Name = "buttonUp";
- this.buttonUp.UseStock = true;
- this.buttonUp.UseUnderline = true;
- this.buttonUp.Label = "gtk-go-up";
- this.hbuttonbox.Add (this.buttonUp);
- global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonUp]));
- w5.Position = 2;
- w5.Expand = false;
- w5.Fill = false;
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonDown = new global::Gtk.Button ();
- this.buttonDown.Sensitive = false;
- this.buttonDown.CanFocus = true;
- this.buttonDown.Name = "buttonDown";
- this.buttonDown.UseStock = true;
- this.buttonDown.UseUnderline = true;
- this.buttonDown.Label = "gtk-go-down";
- this.hbuttonbox.Add (this.buttonDown);
- global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonDown]));
- w6.Position = 3;
- w6.Expand = false;
- w6.Fill = false;
- this.vboxLeft.Add (this.hbuttonbox);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxLeft[this.hbuttonbox]));
- w7.Position = 1;
- w7.Expand = false;
- w7.Fill = false;
- this.hpaned.Add (this.vboxLeft);
- global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned[this.vboxLeft]));
- w8.Resize = false;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.scrolledwindowRight = new global::Gtk.ScrolledWindow ();
- this.scrolledwindowRight.CanFocus = true;
- this.scrolledwindowRight.Name = "scrolledwindowRight";
- this.scrolledwindowRight.ShadowType = ((global::Gtk.ShadowType)(1));
- this.hpaned.Add (this.scrolledwindowRight);
- this.Add (this.hpaned);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
- this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
- this.buttonUp.Clicked += new global::System.EventHandler (this.UpClicked);
- this.buttonDown.Clicked += new global::System.EventHandler (this.DownClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CommentEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CommentEditorWidget.cs
deleted file mode 100644
index 67acb13477..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CommentEditorWidget.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class CommentEditorWidget
- {
- private global::Gtk.ScrolledWindow scrolledwindow;
-
- private global::Gtk.TextView textComment;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.CommentEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.CommentEditorWidget";
- // Container child MonoDevelop.Database.Designer.CommentEditorWidget.Gtk.Container+ContainerChild
- this.scrolledwindow = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow.CanFocus = true;
- this.scrolledwindow.Name = "scrolledwindow";
- this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow.Gtk.Container+ContainerChild
- this.textComment = new global::Gtk.TextView ();
- this.textComment.CanFocus = true;
- this.textComment.Name = "textComment";
- this.scrolledwindow.Add (this.textComment);
- this.Add (this.scrolledwindow);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ConstraintsEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ConstraintsEditorWidget.cs
deleted file mode 100644
index 088bacaa48..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ConstraintsEditorWidget.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class ConstraintsEditorWidget
- {
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.ConstraintsEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.ConstraintsEditorWidget";
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs
deleted file mode 100644
index 9905ea233b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class CreateDatabaseDialog
- {
- private global::Gtk.Notebook notebook;
-
- private global::Gtk.VBox vboxConnection;
-
- private global::Gtk.Label label1;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.CreateDatabaseDialog
- this.Name = "MonoDevelop.Database.Designer.CreateDatabaseDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Create Database");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Designer.CreateDatabaseDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.notebook = new global::Gtk.Notebook ();
- this.notebook.CanFocus = true;
- this.notebook.Name = "notebook";
- this.notebook.CurrentPage = 0;
- this.notebook.ShowTabs = false;
- // Container child notebook.Gtk.Notebook+NotebookChild
- this.vboxConnection = new global::Gtk.VBox ();
- this.vboxConnection.Name = "vboxConnection";
- this.vboxConnection.Spacing = 6;
- this.vboxConnection.BorderWidth = ((uint)(6));
- this.notebook.Add (this.vboxConnection);
- // Notebook tab
- this.label1 = new global::Gtk.Label ();
- this.label1.Name = "label1";
- this.label1.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Connection");
- this.notebook.SetTabLabel (this.vboxConnection, this.label1);
- this.label1.ShowAll ();
- w1.Add (this.notebook);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.notebook]));
- w3.Position = 0;
- // Internal child MonoDevelop.Database.Designer.CreateDatabaseDialog.ActionArea
- global::Gtk.HButtonBox w4 = this.ActionArea;
- w4.Name = "dialog1_ActionArea";
- w4.Spacing = 6;
- w4.BorderWidth = ((uint)(5));
- w4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
- w5.Expand = false;
- w5.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk]));
- w6.Position = 1;
- w6.Expand = false;
- w6.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 662;
- this.DefaultHeight = 474;
- this.Show ();
- this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs
deleted file mode 100644
index 5b5a4a963e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs
+++ /dev/null
@@ -1,168 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class ForeignKeyConstraintEditorWidget
- {
- private global::Gtk.HPaned hpaned;
-
- private global::Gtk.VBox vbox3;
-
- private global::Gtk.ScrolledWindow windowPK;
-
- private global::Gtk.TreeView listFK;
-
- private global::Gtk.HButtonBox hbuttonbox;
-
- private global::Gtk.Button buttonAdd;
-
- private global::Gtk.Button buttonRemove;
-
- private global::Gtk.VBox vboxColumns;
-
- private global::Gtk.Frame frame1;
-
- private global::Gtk.Alignment GtkAlignment2;
-
- private global::MonoDevelop.Database.Components.SelectColumnWidget columnSelecter;
-
- private global::Gtk.Label GtkLabel2;
-
- private global::Gtk.Frame frame2;
-
- private global::Gtk.Alignment GtkAlignment3;
-
- private global::MonoDevelop.Database.Components.SelectColumnWidget referenceColumnSelecter;
-
- private global::Gtk.Label GtkLabel3;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget";
- // Container child MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.Gtk.Container+ContainerChild
- this.hpaned = new global::Gtk.HPaned ();
- this.hpaned.CanFocus = true;
- this.hpaned.Name = "hpaned";
- this.hpaned.Position = 293;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.vbox3 = new global::Gtk.VBox ();
- this.vbox3.Name = "vbox3";
- this.vbox3.Spacing = 6;
- // Container child vbox3.Gtk.Box+BoxChild
- this.windowPK = new global::Gtk.ScrolledWindow ();
- this.windowPK.CanFocus = true;
- this.windowPK.Name = "windowPK";
- this.windowPK.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child windowPK.Gtk.Container+ContainerChild
- this.listFK = new global::Gtk.TreeView ();
- this.listFK.CanFocus = true;
- this.listFK.Name = "listFK";
- this.windowPK.Add (this.listFK);
- this.vbox3.Add (this.windowPK);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.windowPK]));
- w2.Position = 0;
- // Container child vbox3.Gtk.Box+BoxChild
- this.hbuttonbox = new global::Gtk.HButtonBox ();
- this.hbuttonbox.Name = "hbuttonbox";
- this.hbuttonbox.Spacing = 6;
- this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonAdd = new global::Gtk.Button ();
- this.buttonAdd.CanFocus = true;
- this.buttonAdd.Name = "buttonAdd";
- this.buttonAdd.UseStock = true;
- this.buttonAdd.UseUnderline = true;
- this.buttonAdd.Label = "gtk-add";
- this.hbuttonbox.Add (this.buttonAdd);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd]));
- w3.Expand = false;
- w3.Fill = false;
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonRemove = new global::Gtk.Button ();
- this.buttonRemove.Sensitive = false;
- this.buttonRemove.CanFocus = true;
- this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.UseStock = true;
- this.buttonRemove.UseUnderline = true;
- this.buttonRemove.Label = "gtk-remove";
- this.hbuttonbox.Add (this.buttonRemove);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- this.vbox3.Add (this.hbuttonbox);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- this.hpaned.Add (this.vbox3);
- global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned[this.vbox3]));
- w6.Resize = false;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.vboxColumns = new global::Gtk.VBox ();
- this.vboxColumns.Name = "vboxColumns";
- this.vboxColumns.Spacing = 6;
- // Container child vboxColumns.Gtk.Box+BoxChild
- this.frame1 = new global::Gtk.Frame ();
- this.frame1.Name = "frame1";
- this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame1.Gtk.Container+ContainerChild
- this.GtkAlignment2 = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
- this.GtkAlignment2.Name = "GtkAlignment2";
- this.GtkAlignment2.LeftPadding = ((uint)(12));
- // Container child GtkAlignment2.Gtk.Container+ContainerChild
- this.columnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget ();
- this.columnSelecter.Sensitive = false;
- this.columnSelecter.CanFocus = true;
- this.columnSelecter.Name = "columnSelecter";
- this.columnSelecter.ShadowType = ((global::Gtk.ShadowType)(1));
- this.columnSelecter.SingleCheck = false;
- this.GtkAlignment2.Add (this.columnSelecter);
- this.frame1.Add (this.GtkAlignment2);
- this.GtkLabel2 = new global::Gtk.Label ();
- this.GtkLabel2.Name = "GtkLabel2";
- this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Columns");
- this.GtkLabel2.UseMarkup = true;
- this.frame1.LabelWidget = this.GtkLabel2;
- this.vboxColumns.Add (this.frame1);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxColumns[this.frame1]));
- w9.Position = 0;
- // Container child vboxColumns.Gtk.Box+BoxChild
- this.frame2 = new global::Gtk.Frame ();
- this.frame2.Name = "frame2";
- this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame2.Gtk.Container+ContainerChild
- this.GtkAlignment3 = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
- this.GtkAlignment3.Name = "GtkAlignment3";
- this.GtkAlignment3.LeftPadding = ((uint)(12));
- // Container child GtkAlignment3.Gtk.Container+ContainerChild
- this.referenceColumnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget ();
- this.referenceColumnSelecter.Sensitive = false;
- this.referenceColumnSelecter.CanFocus = true;
- this.referenceColumnSelecter.Name = "referenceColumnSelecter";
- this.referenceColumnSelecter.ShadowType = ((global::Gtk.ShadowType)(1));
- this.referenceColumnSelecter.SingleCheck = false;
- this.GtkAlignment3.Add (this.referenceColumnSelecter);
- this.frame2.Add (this.GtkAlignment3);
- this.GtkLabel3 = new global::Gtk.Label ();
- this.GtkLabel3.Name = "GtkLabel3";
- this.GtkLabel3.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Reference Columns");
- this.GtkLabel3.UseMarkup = true;
- this.frame2.LabelWidget = this.GtkLabel3;
- this.vboxColumns.Add (this.frame2);
- global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vboxColumns[this.frame2]));
- w12.Position = 1;
- this.hpaned.Add (this.vboxColumns);
- this.Add (this.hpaned);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
- this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.IndicesEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.IndicesEditorWidget.cs
deleted file mode 100644
index 5eb83e74d4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.IndicesEditorWidget.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class IndicesEditorWidget
- {
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.IndicesEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.IndicesEditorWidget";
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs
deleted file mode 100644
index 84a21f64de..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs
+++ /dev/null
@@ -1,114 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class PreviewDialog
- {
- private global::Gtk.VBox vboxContent;
-
- private global::MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;
-
- private global::Gtk.Button button21;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.PreviewDialog
- this.Name = "MonoDevelop.Database.Designer.PreviewDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Preview");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Designer.PreviewDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.vboxContent = new global::Gtk.VBox ();
- this.vboxContent.Name = "vboxContent";
- this.vboxContent.Spacing = 6;
- // Container child vboxContent.Gtk.Box+BoxChild
- this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget ();
- this.sqlEditor.Events = ((global::Gdk.EventMask)(256));
- this.sqlEditor.Name = "sqlEditor";
- this.sqlEditor.Editable = false;
- this.vboxContent.Add (this.sqlEditor);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.sqlEditor]));
- w2.Position = 0;
- w1.Add (this.vboxContent);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent]));
- w3.Position = 0;
- // Internal child MonoDevelop.Database.Designer.PreviewDialog.ActionArea
- global::Gtk.HButtonBox w4 = this.ActionArea;
- w4.Name = "dialog1_ActionArea";
- w4.Spacing = 6;
- w4.BorderWidth = ((uint)(5));
- w4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.button21 = new global::Gtk.Button ();
- this.button21.CanFocus = true;
- this.button21.Name = "button21";
- this.button21.UseUnderline = true;
- // Container child button21.Gtk.Container+ContainerChild
- global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w6 = new global::Gtk.HBox ();
- w6.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w7 = new global::Gtk.Image ();
- w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
- w6.Add (w7);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w9 = new global::Gtk.Label ();
- w9.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("_Save Script");
- w9.UseUnderline = true;
- w6.Add (w9);
- w5.Add (w6);
- this.button21.Add (w5);
- this.AddActionWidget (this.button21, -10);
- global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.button21]));
- w13.Expand = false;
- w13.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
- w14.Position = 1;
- w14.Expand = false;
- w14.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk]));
- w15.Position = 2;
- w15.Expand = false;
- w15.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 617;
- this.DefaultHeight = 382;
- this.Show ();
- this.button21.Clicked += new global::System.EventHandler (this.OnButton21Clicked);
- this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.cs
deleted file mode 100644
index a9f2cc41ea..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class PrimaryKeyConstraintEditorWidget
- {
- private global::Gtk.HPaned hpaned;
-
- private global::Gtk.VBox vbox3;
-
- private global::Gtk.ScrolledWindow windowPK;
-
- private global::Gtk.TreeView listPK;
-
- private global::Gtk.HButtonBox hbuttonbox;
-
- private global::Gtk.Button buttonAdd;
-
- private global::Gtk.Button buttonRemove;
-
- private global::MonoDevelop.Database.Components.SelectColumnWidget columnSelecter;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget";
- // Container child MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.Gtk.Container+ContainerChild
- this.hpaned = new global::Gtk.HPaned ();
- this.hpaned.CanFocus = true;
- this.hpaned.Name = "hpaned";
- this.hpaned.Position = 293;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.vbox3 = new global::Gtk.VBox ();
- this.vbox3.Name = "vbox3";
- this.vbox3.Spacing = 6;
- // Container child vbox3.Gtk.Box+BoxChild
- this.windowPK = new global::Gtk.ScrolledWindow ();
- this.windowPK.CanFocus = true;
- this.windowPK.Name = "windowPK";
- this.windowPK.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child windowPK.Gtk.Container+ContainerChild
- this.listPK = new global::Gtk.TreeView ();
- this.listPK.CanFocus = true;
- this.listPK.Name = "listPK";
- this.windowPK.Add (this.listPK);
- this.vbox3.Add (this.windowPK);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.windowPK]));
- w2.Position = 0;
- // Container child vbox3.Gtk.Box+BoxChild
- this.hbuttonbox = new global::Gtk.HButtonBox ();
- this.hbuttonbox.Name = "hbuttonbox";
- this.hbuttonbox.Spacing = 6;
- this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonAdd = new global::Gtk.Button ();
- this.buttonAdd.CanFocus = true;
- this.buttonAdd.Name = "buttonAdd";
- this.buttonAdd.UseStock = true;
- this.buttonAdd.UseUnderline = true;
- this.buttonAdd.Label = "gtk-add";
- this.hbuttonbox.Add (this.buttonAdd);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd]));
- w3.Expand = false;
- w3.Fill = false;
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonRemove = new global::Gtk.Button ();
- this.buttonRemove.Sensitive = false;
- this.buttonRemove.CanFocus = true;
- this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.UseStock = true;
- this.buttonRemove.UseUnderline = true;
- this.buttonRemove.Label = "gtk-remove";
- this.hbuttonbox.Add (this.buttonRemove);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- this.vbox3.Add (this.hbuttonbox);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- this.hpaned.Add (this.vbox3);
- global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned[this.vbox3]));
- w6.Resize = false;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.columnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget ();
- this.columnSelecter.Sensitive = false;
- this.columnSelecter.CanFocus = true;
- this.columnSelecter.Name = "columnSelecter";
- this.columnSelecter.ShadowType = ((global::Gtk.ShadowType)(1));
- this.columnSelecter.SingleCheck = false;
- this.hpaned.Add (this.columnSelecter);
- this.Add (this.hpaned);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
- this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs
deleted file mode 100644
index cda2b373dc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs
+++ /dev/null
@@ -1,197 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class ProcedureEditorDialog
- {
- private global::Gtk.VBox vboxContent;
-
- private global::Gtk.HBox hboxName;
-
- private global::Gtk.Label nameLabel;
-
- private global::Gtk.Entry entryName;
-
- private global::Gtk.HBox hboxWarning;
-
- private global::Gtk.Image imageWarning;
-
- private global::Gtk.Label labelWarning;
-
- private global::Gtk.Button buttonOpen;
-
- private global::Gtk.Button buttonSave;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.ProcedureEditorDialog
- this.Name = "MonoDevelop.Database.Designer.ProcedureEditorDialog";
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- // Internal child MonoDevelop.Database.Designer.ProcedureEditorDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.vboxContent = new global::Gtk.VBox ();
- this.vboxContent.Name = "vboxContent";
- this.vboxContent.Spacing = 6;
- this.vboxContent.BorderWidth = ((uint)(6));
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxName = new global::Gtk.HBox ();
- this.hboxName.Name = "hboxName";
- this.hboxName.Spacing = 6;
- // Container child hboxName.Gtk.Box+BoxChild
- this.nameLabel = new global::Gtk.Label ();
- this.nameLabel.Name = "nameLabel";
- this.nameLabel.Xalign = 0f;
- this.nameLabel.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name");
- this.hboxName.Add (this.nameLabel);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.nameLabel]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hboxName.Gtk.Box+BoxChild
- this.entryName = new global::Gtk.Entry ();
- this.entryName.CanFocus = true;
- this.entryName.Name = "entryName";
- this.entryName.IsEditable = true;
- this.entryName.InvisibleChar = '●';
- this.hboxName.Add (this.entryName);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.entryName]));
- w3.Position = 1;
- this.vboxContent.Add (this.hboxName);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxName]));
- w4.Position = 0;
- w4.Expand = false;
- w4.Fill = false;
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxWarning = new global::Gtk.HBox ();
- this.hboxWarning.Name = "hboxWarning";
- this.hboxWarning.Spacing = 6;
- // Container child hboxWarning.Gtk.Box+BoxChild
- this.imageWarning = new global::Gtk.Image ();
- this.imageWarning.Name = "imageWarning";
- this.imageWarning.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu);
- this.hboxWarning.Add (this.imageWarning);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxWarning[this.imageWarning]));
- w5.Position = 0;
- w5.Expand = false;
- w5.Fill = false;
- // Container child hboxWarning.Gtk.Box+BoxChild
- this.labelWarning = new global::Gtk.Label ();
- this.labelWarning.Name = "labelWarning";
- this.labelWarning.Xalign = 0f;
- this.hboxWarning.Add (this.labelWarning);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxWarning[this.labelWarning]));
- w6.Position = 1;
- this.vboxContent.Add (this.hboxWarning);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxWarning]));
- w7.Position = 2;
- w7.Expand = false;
- w7.Fill = false;
- w1.Add (this.vboxContent);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent]));
- w8.Position = 0;
- // Internal child MonoDevelop.Database.Designer.ProcedureEditorDialog.ActionArea
- global::Gtk.HButtonBox w9 = this.ActionArea;
- w9.Name = "dialog1_ActionArea";
- w9.Spacing = 6;
- w9.BorderWidth = ((uint)(5));
- w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOpen = new global::Gtk.Button ();
- this.buttonOpen.CanFocus = true;
- this.buttonOpen.Name = "buttonOpen";
- this.buttonOpen.UseUnderline = true;
- // Container child buttonOpen.Gtk.Container+ContainerChild
- global::Gtk.Alignment w10 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w11 = new global::Gtk.HBox ();
- w11.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w12 = new global::Gtk.Image ();
- w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
- w11.Add (w12);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w14 = new global::Gtk.Label ();
- w14.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("_Open Script");
- w14.UseUnderline = true;
- w11.Add (w14);
- w10.Add (w11);
- this.buttonOpen.Add (w10);
- this.AddActionWidget (this.buttonOpen, -3);
- global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOpen]));
- w18.Expand = false;
- w18.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonSave = new global::Gtk.Button ();
- this.buttonSave.CanFocus = true;
- this.buttonSave.Name = "buttonSave";
- this.buttonSave.UseUnderline = true;
- // Container child buttonSave.Gtk.Container+ContainerChild
- global::Gtk.Alignment w19 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w20 = new global::Gtk.HBox ();
- w20.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w21 = new global::Gtk.Image ();
- w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
- w20.Add (w21);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w23 = new global::Gtk.Label ();
- w23.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("_Save Script");
- w23.UseUnderline = true;
- w20.Add (w23);
- w19.Add (w20);
- this.buttonSave.Add (w19);
- this.AddActionWidget (this.buttonSave, -3);
- global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonSave]));
- w27.Position = 1;
- w27.Expand = false;
- w27.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
- w28.Position = 2;
- w28.Expand = false;
- w28.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
- w29.Position = 3;
- w29.Expand = false;
- w29.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 640;
- this.DefaultHeight = 480;
- this.Show ();
- this.entryName.Changed += new global::System.EventHandler (this.NameChanged);
- this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked);
- this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
- this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs
deleted file mode 100644
index 48b2e7b992..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class TableEditorDialog
- {
- private global::Gtk.VBox vboxContent;
-
- private global::Gtk.HBox hboxName;
-
- private global::Gtk.Label label7;
-
- private global::Gtk.Entry entryName;
-
- private global::Gtk.HBox hboxWarning;
-
- private global::Gtk.Image imageWarning;
-
- private global::Gtk.Label labelWarning;
-
- private global::Gtk.CheckButton checkPreview;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.TableEditorDialog
- this.Name = "MonoDevelop.Database.Designer.TableEditorDialog";
- this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Edit Table");
- this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((global::Gtk.WindowPosition)(1));
- this.SkipTaskbarHint = true;
- // Internal child MonoDevelop.Database.Designer.TableEditorDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.vboxContent = new global::Gtk.VBox ();
- this.vboxContent.Name = "vboxContent";
- this.vboxContent.Spacing = 6;
- this.vboxContent.BorderWidth = ((uint)(6));
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxName = new global::Gtk.HBox ();
- this.hboxName.Name = "hboxName";
- this.hboxName.Spacing = 6;
- // Container child hboxName.Gtk.Box+BoxChild
- this.label7 = new global::Gtk.Label ();
- this.label7.Name = "label7";
- this.label7.Xalign = 0f;
- this.label7.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name");
- this.hboxName.Add (this.label7);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.label7]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hboxName.Gtk.Box+BoxChild
- this.entryName = new global::Gtk.Entry ();
- this.entryName.CanFocus = true;
- this.entryName.Name = "entryName";
- this.entryName.IsEditable = true;
- this.entryName.InvisibleChar = '●';
- this.hboxName.Add (this.entryName);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.entryName]));
- w3.Position = 1;
- this.vboxContent.Add (this.hboxName);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxName]));
- w4.Position = 0;
- w4.Expand = false;
- w4.Fill = false;
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxWarning = new global::Gtk.HBox ();
- this.hboxWarning.Name = "hboxWarning";
- this.hboxWarning.Spacing = 6;
- // Container child hboxWarning.Gtk.Box+BoxChild
- this.imageWarning = new global::Gtk.Image ();
- this.imageWarning.Name = "imageWarning";
- this.imageWarning.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu);
- this.hboxWarning.Add (this.imageWarning);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxWarning[this.imageWarning]));
- w5.Position = 0;
- w5.Expand = false;
- w5.Fill = false;
- // Container child hboxWarning.Gtk.Box+BoxChild
- this.labelWarning = new global::Gtk.Label ();
- this.labelWarning.Name = "labelWarning";
- this.labelWarning.Xalign = 0f;
- this.hboxWarning.Add (this.labelWarning);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxWarning[this.labelWarning]));
- w6.Position = 1;
- this.vboxContent.Add (this.hboxWarning);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxWarning]));
- w7.PackType = ((global::Gtk.PackType)(1));
- w7.Position = 2;
- w7.Expand = false;
- w7.Fill = false;
- // Container child vboxContent.Gtk.Box+BoxChild
- this.checkPreview = new global::Gtk.CheckButton ();
- this.checkPreview.CanFocus = true;
- this.checkPreview.Name = "checkPreview";
- this.checkPreview.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Preview SQL");
- this.checkPreview.Active = true;
- this.checkPreview.DrawIndicator = true;
- this.checkPreview.UseUnderline = true;
- this.vboxContent.Add (this.checkPreview);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.checkPreview]));
- w8.PackType = ((global::Gtk.PackType)(1));
- w8.Position = 3;
- w8.Expand = false;
- w8.Fill = false;
- w1.Add (this.vboxContent);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent]));
- w9.Position = 0;
- // Internal child MonoDevelop.Database.Designer.TableEditorDialog.ActionArea
- global::Gtk.HButtonBox w10 = this.ActionArea;
- w10.Name = "dialog1_ActionArea";
- w10.Spacing = 6;
- w10.BorderWidth = ((uint)(5));
- w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonCancel]));
- w11.Expand = false;
- w11.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk]));
- w12.Position = 1;
- w12.Expand = false;
- w12.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 640;
- this.DefaultHeight = 480;
- this.Show ();
- this.entryName.Changed += new global::System.EventHandler (this.NameChanged);
- this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs
deleted file mode 100644
index c9e558a066..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs
+++ /dev/null
@@ -1,125 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class TriggersEditorWidget
- {
- private global::Gtk.VPaned vpaned;
-
- private global::Gtk.HBox hbox;
-
- private global::Gtk.ScrolledWindow windowTriggers;
-
- private global::Gtk.TreeView listTriggers;
-
- private global::Gtk.VButtonBox vbuttonbox;
-
- private global::Gtk.Button buttonAdd;
-
- private global::Gtk.Button buttonRemove;
-
- private global::Gtk.Frame frame;
-
- private global::Gtk.Alignment alignment;
-
- private global::MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;
-
- private global::Gtk.Label GtkLabel2;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.TriggersEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget";
- // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild
- this.vpaned = new global::Gtk.VPaned ();
- this.vpaned.CanFocus = true;
- this.vpaned.Name = "vpaned";
- this.vpaned.Position = 205;
- // Container child vpaned.Gtk.Paned+PanedChild
- this.hbox = new global::Gtk.HBox ();
- this.hbox.Name = "hbox";
- this.hbox.Spacing = 6;
- // Container child hbox.Gtk.Box+BoxChild
- this.windowTriggers = new global::Gtk.ScrolledWindow ();
- this.windowTriggers.CanFocus = true;
- this.windowTriggers.Name = "windowTriggers";
- this.windowTriggers.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child windowTriggers.Gtk.Container+ContainerChild
- this.listTriggers = new global::Gtk.TreeView ();
- this.listTriggers.CanFocus = true;
- this.listTriggers.Name = "listTriggers";
- this.windowTriggers.Add (this.listTriggers);
- this.hbox.Add (this.windowTriggers);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox[this.windowTriggers]));
- w2.Position = 0;
- // Container child hbox.Gtk.Box+BoxChild
- this.vbuttonbox = new global::Gtk.VButtonBox ();
- this.vbuttonbox.Name = "vbuttonbox";
- this.vbuttonbox.Spacing = 6;
- this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonAdd = new global::Gtk.Button ();
- this.buttonAdd.CanFocus = true;
- this.buttonAdd.Name = "buttonAdd";
- this.buttonAdd.UseStock = true;
- this.buttonAdd.UseUnderline = true;
- this.buttonAdd.Label = "gtk-add";
- this.vbuttonbox.Add (this.buttonAdd);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
- w3.Expand = false;
- w3.Fill = false;
- // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonRemove = new global::Gtk.Button ();
- this.buttonRemove.Sensitive = false;
- this.buttonRemove.CanFocus = true;
- this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.UseStock = true;
- this.buttonRemove.UseUnderline = true;
- this.buttonRemove.Label = "gtk-remove";
- this.vbuttonbox.Add (this.buttonRemove);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- this.hbox.Add (this.vbuttonbox);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- this.vpaned.Add (this.hbox);
- global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
- w6.Resize = false;
- // Container child vpaned.Gtk.Paned+PanedChild
- this.frame = new global::Gtk.Frame ();
- this.frame.Name = "frame";
- this.frame.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame.Gtk.Container+ContainerChild
- this.alignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
- this.alignment.Name = "alignment";
- this.alignment.LeftPadding = ((uint)(12));
- // Container child alignment.Gtk.Container+ContainerChild
- this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget ();
- this.sqlEditor.HeightRequest = 80;
- this.sqlEditor.Events = ((global::Gdk.EventMask)(256));
- this.sqlEditor.Name = "sqlEditor";
- this.sqlEditor.Editable = false;
- this.alignment.Add (this.sqlEditor);
- this.frame.Add (this.alignment);
- this.GtkLabel2 = new global::Gtk.Label ();
- this.GtkLabel2.Name = "GtkLabel2";
- this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Statement");
- this.GtkLabel2.UseMarkup = true;
- this.frame.LabelWidget = this.GtkLabel2;
- this.vpaned.Add (this.frame);
- this.Add (this.vpaned);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
- this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs
deleted file mode 100644
index f7353a69dc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class UniqueConstraintEditorWidget
- {
- private global::Gtk.HPaned hpaned;
-
- private global::Gtk.VBox vbox3;
-
- private global::Gtk.ScrolledWindow windowPK;
-
- private global::Gtk.TreeView listUnique;
-
- private global::Gtk.HButtonBox hbuttonbox;
-
- private global::Gtk.Button buttonAdd;
-
- private global::Gtk.Button buttonRemove;
-
- private global::MonoDevelop.Database.Components.SelectColumnWidget columnSelecter;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.UniqueConstraintEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Designer.UniqueConstraintEditorWidget";
- // Container child MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.Gtk.Container+ContainerChild
- this.hpaned = new global::Gtk.HPaned ();
- this.hpaned.CanFocus = true;
- this.hpaned.Name = "hpaned";
- this.hpaned.Position = 304;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.vbox3 = new global::Gtk.VBox ();
- this.vbox3.Name = "vbox3";
- this.vbox3.Spacing = 6;
- // Container child vbox3.Gtk.Box+BoxChild
- this.windowPK = new global::Gtk.ScrolledWindow ();
- this.windowPK.CanFocus = true;
- this.windowPK.Name = "windowPK";
- this.windowPK.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child windowPK.Gtk.Container+ContainerChild
- this.listUnique = new global::Gtk.TreeView ();
- this.listUnique.CanFocus = true;
- this.listUnique.Name = "listUnique";
- this.windowPK.Add (this.listUnique);
- this.vbox3.Add (this.windowPK);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.windowPK]));
- w2.Position = 0;
- // Container child vbox3.Gtk.Box+BoxChild
- this.hbuttonbox = new global::Gtk.HButtonBox ();
- this.hbuttonbox.Name = "hbuttonbox";
- this.hbuttonbox.Spacing = 6;
- this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonAdd = new global::Gtk.Button ();
- this.buttonAdd.CanFocus = true;
- this.buttonAdd.Name = "buttonAdd";
- this.buttonAdd.UseStock = true;
- this.buttonAdd.UseUnderline = true;
- this.buttonAdd.Label = "gtk-add";
- this.hbuttonbox.Add (this.buttonAdd);
- global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd]));
- w3.Expand = false;
- w3.Fill = false;
- // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
- this.buttonRemove = new global::Gtk.Button ();
- this.buttonRemove.Sensitive = false;
- this.buttonRemove.CanFocus = true;
- this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.UseStock = true;
- this.buttonRemove.UseUnderline = true;
- this.buttonRemove.Label = "gtk-remove";
- this.hbuttonbox.Add (this.buttonRemove);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove]));
- w4.Position = 1;
- w4.Expand = false;
- w4.Fill = false;
- this.vbox3.Add (this.hbuttonbox);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- this.hpaned.Add (this.vbox3);
- global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned[this.vbox3]));
- w6.Resize = false;
- // Container child hpaned.Gtk.Paned+PanedChild
- this.columnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget ();
- this.columnSelecter.Sensitive = false;
- this.columnSelecter.CanFocus = true;
- this.columnSelecter.Name = "columnSelecter";
- this.columnSelecter.ShadowType = ((global::Gtk.ShadowType)(1));
- this.columnSelecter.SingleCheck = false;
- this.hpaned.Add (this.columnSelecter);
- this.Add (this.hpaned);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
- this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs
deleted file mode 100644
index 1745804efd..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class UserEditorDialog
- {
- private global::Gtk.VBox vboxContent;
-
- private global::Gtk.HBox hboxName;
-
- private global::Gtk.Label label7;
-
- private global::Gtk.Entry entryName;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.UserEditorDialog
- this.Name = "MonoDevelop.Database.Designer.UserEditorDialog";
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- // Internal child MonoDevelop.Database.Designer.UserEditorDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.vboxContent = new global::Gtk.VBox ();
- this.vboxContent.Name = "vboxContent";
- this.vboxContent.Spacing = 6;
- this.vboxContent.BorderWidth = ((uint)(6));
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxName = new global::Gtk.HBox ();
- this.hboxName.Name = "hboxName";
- this.hboxName.Spacing = 6;
- // Container child hboxName.Gtk.Box+BoxChild
- this.label7 = new global::Gtk.Label ();
- this.label7.Name = "label7";
- this.label7.Xalign = 0f;
- this.label7.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name");
- this.hboxName.Add (this.label7);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.label7]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hboxName.Gtk.Box+BoxChild
- this.entryName = new global::Gtk.Entry ();
- this.entryName.CanFocus = true;
- this.entryName.Name = "entryName";
- this.entryName.IsEditable = true;
- this.entryName.InvisibleChar = '●';
- this.hboxName.Add (this.entryName);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.entryName]));
- w3.Position = 1;
- this.vboxContent.Add (this.hboxName);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxName]));
- w4.Position = 0;
- w4.Expand = false;
- w4.Fill = false;
- w1.Add (this.vboxContent);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent]));
- w5.Position = 0;
- // Internal child MonoDevelop.Database.Designer.UserEditorDialog.ActionArea
- global::Gtk.HButtonBox w6 = this.ActionArea;
- w6.Name = "dialog1_ActionArea";
- w6.Spacing = 6;
- w6.BorderWidth = ((uint)(5));
- w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel]));
- w7.Expand = false;
- w7.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk]));
- w8.Position = 1;
- w8.Expand = false;
- w8.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 640;
- this.DefaultHeight = 480;
- this.Show ();
- this.entryName.Changed += new global::System.EventHandler (this.NameChanged);
- this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs
deleted file mode 100644
index fad17d5846..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs
+++ /dev/null
@@ -1,139 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Designer
-{
- public partial class ViewEditorDialog
- {
- private global::Gtk.VBox vboxContent;
-
- private global::Gtk.HBox hboxName;
-
- private global::Gtk.Label label7;
-
- private global::Gtk.Entry entryName;
-
- private global::Gtk.HBox hboxWarning;
-
- private global::Gtk.Image imageWarning;
-
- private global::Gtk.Label labelWarning;
-
- private global::Gtk.Button buttonCancel;
-
- private global::Gtk.Button buttonOk;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Designer.ViewEditorDialog
- this.Name = "MonoDevelop.Database.Designer.ViewEditorDialog";
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- // Internal child MonoDevelop.Database.Designer.ViewEditorDialog.VBox
- global::Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.vboxContent = new global::Gtk.VBox ();
- this.vboxContent.Name = "vboxContent";
- this.vboxContent.Spacing = 6;
- this.vboxContent.BorderWidth = ((uint)(6));
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxName = new global::Gtk.HBox ();
- this.hboxName.Name = "hboxName";
- this.hboxName.Spacing = 6;
- // Container child hboxName.Gtk.Box+BoxChild
- this.label7 = new global::Gtk.Label ();
- this.label7.Name = "label7";
- this.label7.Xalign = 0f;
- this.label7.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name");
- this.hboxName.Add (this.label7);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.label7]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hboxName.Gtk.Box+BoxChild
- this.entryName = new global::Gtk.Entry ();
- this.entryName.CanFocus = true;
- this.entryName.Name = "entryName";
- this.entryName.IsEditable = true;
- this.entryName.InvisibleChar = '●';
- this.hboxName.Add (this.entryName);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxName[this.entryName]));
- w3.Position = 1;
- this.vboxContent.Add (this.hboxName);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxName]));
- w4.Position = 0;
- w4.Expand = false;
- w4.Fill = false;
- // Container child vboxContent.Gtk.Box+BoxChild
- this.hboxWarning = new global::Gtk.HBox ();
- this.hboxWarning.Name = "hboxWarning";
- this.hboxWarning.Spacing = 6;
- // Container child hboxWarning.Gtk.Box+BoxChild
- this.imageWarning = new global::Gtk.Image ();
- this.imageWarning.Name = "imageWarning";
- this.imageWarning.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu);
- this.hboxWarning.Add (this.imageWarning);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxWarning[this.imageWarning]));
- w5.Position = 0;
- w5.Expand = false;
- w5.Fill = false;
- // Container child hboxWarning.Gtk.Box+BoxChild
- this.labelWarning = new global::Gtk.Label ();
- this.labelWarning.Name = "labelWarning";
- this.labelWarning.Xalign = 0f;
- this.hboxWarning.Add (this.labelWarning);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxWarning[this.labelWarning]));
- w6.Position = 1;
- this.vboxContent.Add (this.hboxWarning);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.hboxWarning]));
- w7.Position = 2;
- w7.Expand = false;
- w7.Fill = false;
- w1.Add (this.vboxContent);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent]));
- w8.Position = 0;
- // Internal child MonoDevelop.Database.Designer.ViewEditorDialog.ActionArea
- global::Gtk.HButtonBox w9 = this.ActionArea;
- w9.Name = "dialog1_ActionArea";
- w9.Spacing = 6;
- w9.BorderWidth = ((uint)(5));
- w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new global::Gtk.Button ();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget (this.buttonCancel, -6);
- global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
- w10.Expand = false;
- w10.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new global::Gtk.Button ();
- this.buttonOk.Sensitive = false;
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
- w11.Position = 1;
- w11.Expand = false;
- w11.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 640;
- this.DefaultHeight = 480;
- this.Show ();
- this.entryName.Changed += new global::System.EventHandler (this.NameChanged);
- this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked);
- this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/generated.cs
deleted file mode 100644
index 559a39ec59..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/generated.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class BinContainer
- {
- private Gtk.Widget child;
-
- private Gtk.UIManager uimanager;
-
- public static BinContainer Attach (Gtk.Bin bin)
- {
- BinContainer bc = new BinContainer ();
- bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested);
- bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated);
- bin.Added += new Gtk.AddedHandler (bc.OnAdded);
- return bc;
- }
-
- private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
- {
- if ((this.child != null)) {
- args.Requisition = this.child.SizeRequest ();
- }
- }
-
- private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
- {
- if ((this.child != null)) {
- this.child.Allocation = args.Allocation;
- }
- }
-
- private void OnAdded (object sender, Gtk.AddedArgs args)
- {
- this.child = args.Widget;
- }
-
- public void SetUiManager (Gtk.UIManager uim)
- {
- this.uimanager = uim;
- this.child.Realized += new System.EventHandler (this.OnRealized);
- }
-
- private void OnRealized (object sender, System.EventArgs args)
- {
- if ((this.uimanager != null)) {
- Gtk.Widget w;
- w = this.child.Toplevel;
- if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) {
- ((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
- this.uimanager = null;
- }
- }
- }
- }
-
- internal class IconLoader
- {
- public static Gdk.Pixbuf LoadIcon (Gtk.Widget widget, string name, Gtk.IconSize size)
- {
- Gdk.Pixbuf res = widget.RenderIcon (name, size, null);
- if ((res != null)) {
- return res;
- } else {
- int sz;
- int sy;
- global::Gtk.Icon.SizeLookup (size, out sz, out sy);
- try {
- return Gtk.IconTheme.Default.LoadIcon (name, sz, 0);
- } catch (System.Exception) {
- if ((name != "gtk-missing-image")) {
- return Stetic.IconLoader.LoadIcon (widget, "gtk-missing-image", size);
- } else {
- Gdk.Pixmap pmap = new Gdk.Pixmap (Gdk.Screen.Default.RootWindow, sz, sz);
- Gdk.GC gc = new Gdk.GC (pmap);
- gc.RgbFgColor = new Gdk.Color (255, 255, 255);
- pmap.DrawRectangle (gc, true, 0, 0, sz, sz);
- gc.RgbFgColor = new Gdk.Color (0, 0, 0);
- pmap.DrawRectangle (gc, false, 0, 0, (sz - 1), (sz - 1));
- gc.SetLineAttributes (3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
- gc.RgbFgColor = new Gdk.Color (255, 0, 0);
- pmap.DrawLine (gc, (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)), ((sz - 1) - (sz / 4)));
- pmap.DrawLine (gc, ((sz - 1) - (sz / 4)), (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)));
- return Gdk.Pixbuf.FromDrawable (pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz);
- }
- }
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/gui.stetic
deleted file mode 100644
index 3fa4a52058..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,1528 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="Mono.TextEditor, Version=1.0.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Designer.dll" internal="true" />
- </import>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.TriggersEditorWidget" design-size="422 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.VPaned" id="vpaned">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">205</property>
- <child>
- <widget class="Gtk.HBox" id="hbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="windowTriggers">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="listTriggers">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VButtonBox" id="vbuttonbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonAdd">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-add</property>
- <signal name="Clicked" handler="AddClicked" />
- <property name="label">gtk-add</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRemove">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-remove</property>
- <signal name="Clicked" handler="RemoveClicked" />
- <property name="label">gtk-remove</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Frame" id="frame">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="alignment">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="MonoDevelop.Database.Components.SqlEditorWidget" id="sqlEditor">
- <property name="MemberName" />
- <property name="HeightRequest">80</property>
- <property name="Events">ButtonPressMask</property>
- <property name="Editable">False</property>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel2">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Statement</property>
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.ColumnsEditorWidget" design-size="668 400">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.HPaned" id="hpaned">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">662</property>
- <child>
- <widget class="Gtk.VBox" id="vboxLeft">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindowLeft">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="treeColumns">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HButtonBox" id="hbuttonbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">4</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonAdd">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-add</property>
- <signal name="Clicked" handler="AddClicked" />
- <property name="label">gtk-add</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRemove">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-remove</property>
- <signal name="Clicked" handler="RemoveClicked" />
- <property name="label">gtk-remove</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonUp">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-go-up</property>
- <signal name="Clicked" handler="UpClicked" />
- <property name="label">gtk-go-up</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonDown">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-go-down</property>
- <signal name="Clicked" handler="DownClicked" />
- <property name="label">gtk-go-down</property>
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindowRight">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.Viewport" id="GtkViewport1">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <placeholder />
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.ConstraintsEditorWidget" design-size="615 342">
- <property name="MemberName" />
- <child>
- <placeholder />
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.IndicesEditorWidget" design-size="300 300">
- <property name="MemberName" />
- <child>
- <placeholder />
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Designer.TableEditorDialog" design-size="640 480">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Edit Table</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.HBox" id="hboxName">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label7">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Name</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryName">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="NameChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.HBox" id="hboxWarning">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="imageWarning">
- <property name="MemberName" />
- <property name="Pixbuf">stock:gtk-dialog-warning Menu</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelWarning">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="PackType">End</property>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.CheckButton" id="checkPreview">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Preview SQL</property>
- <property name="Active">True</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="PackType">End</property>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="CancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Designer.CreateDatabaseDialog" design-size="662 474">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Create Database</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.Notebook" id="notebook">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="CurrentPage">0</property>
- <property name="ShowTabs">False</property>
- <child>
- <widget class="Gtk.VBox" id="vboxConnection">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <placeholder />
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Connection</property>
- </widget>
- <packing>
- <property name="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="CancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Designer.ViewEditorDialog" design-size="640 480">
- <property name="MemberName" />
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.HBox" id="hboxName">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label7">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Name</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryName">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="NameChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.HBox" id="hboxWarning">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="imageWarning">
- <property name="MemberName" />
- <property name="Pixbuf">stock:gtk-dialog-warning Menu</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelWarning">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="CancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Designer.ProcedureEditorDialog" design-size="640 480">
- <property name="MemberName" />
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Buttons">4</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.HBox" id="hboxName">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="nameLabel">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Name</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryName">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="NameChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.HBox" id="hboxWarning">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="imageWarning">
- <property name="MemberName" />
- <property name="Pixbuf">stock:gtk-dialog-warning Menu</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelWarning">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">4</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonOpen">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-open Menu</property>
- <property name="Label" translatable="yes">_Open Script</property>
- <property name="UseUnderline">True</property>
- <property name="ResponseId">-3</property>
- <signal name="Clicked" handler="OnButtonOpenClicked" />
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonSave">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-save Menu</property>
- <property name="Label" translatable="yes">_Save Script</property>
- <property name="UseUnderline">True</property>
- <property name="ResponseId">-3</property>
- <signal name="Clicked" handler="OnButtonSaveClicked" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="CancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.CommentEditorWidget" design-size="300 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TextView" id="textComment">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Text" translatable="yes" />
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Designer.PreviewDialog" design-size="617 382">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Preview</property>
- <property name="TypeHint">Dialog</property>
- <property name="WindowPosition">Center</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">3</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="MonoDevelop.Database.Components.SqlEditorWidget" id="sqlEditor">
- <property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
- <property name="Editable">False</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">3</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="button21">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-save Menu</property>
- <property name="Label" translatable="yes">_Save Script</property>
- <property name="UseUnderline">True</property>
- <property name="ResponseId">-10</property>
- <signal name="Clicked" handler="OnButton21Clicked" />
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="CancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="MonoDevelop.Database.Designer.UserEditorDialog" design-size="640 480">
- <property name="MemberName" />
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vboxContent">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.HBox" id="hboxName">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label7">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Name</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryName">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- <signal name="Changed" handler="NameChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <placeholder />
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <signal name="Clicked" handler="CancelClicked" />
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <signal name="Clicked" handler="OkClicked" />
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget" design-size="443 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.HPaned" id="hpaned">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">293</property>
- <child>
- <widget class="Gtk.VBox" id="vbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="windowPK">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="listFK">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HButtonBox" id="hbuttonbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonAdd">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-add</property>
- <signal name="Clicked" handler="AddClicked" />
- <property name="label">gtk-add</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRemove">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-remove</property>
- <signal name="Clicked" handler="RemoveClicked" />
- <property name="label">gtk-remove</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vboxColumns">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Frame" id="frame1">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="GtkAlignment2">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="MonoDevelop.Database.Components.SelectColumnWidget" id="columnSelecter">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <property name="SingleCheck">False</property>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel2">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Columns</property>
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Frame" id="frame2">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="GtkAlignment3">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="MonoDevelop.Database.Components.SelectColumnWidget" id="referenceColumnSelecter">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <property name="SingleCheck">False</property>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel3">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Reference Columns</property>
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.CheckConstraintEditorWidget" design-size="497 357">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.VPaned" id="vpaned">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">189</property>
- <child>
- <widget class="Gtk.HBox" id="hbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="windowCheck">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="listCheck">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VButtonBox" id="vbuttonbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonAdd">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-add</property>
- <signal name="Clicked" handler="AddClicked" />
- <property name="label">gtk-add</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRemove">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-remove</property>
- <signal name="Clicked" handler="RemoveClicked" />
- <property name="label">gtk-remove</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Frame" id="frame">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="alignment">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="MonoDevelop.Database.Components.SqlEditorWidget" id="sqlEditor">
- <property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
- <property name="Editable">False</property>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel2">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Check Condition</property>
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget" design-size="449 341">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.HPaned" id="hpaned">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">293</property>
- <child>
- <widget class="Gtk.VBox" id="vbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="windowPK">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="listPK">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HButtonBox" id="hbuttonbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonAdd">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-add</property>
- <signal name="Clicked" handler="AddClicked" />
- <property name="label">gtk-add</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRemove">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-remove</property>
- <signal name="Clicked" handler="RemoveClicked" />
- <property name="label">gtk-remove</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="MonoDevelop.Database.Components.SelectColumnWidget" id="columnSelecter">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <property name="SingleCheck">False</property>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Designer.UniqueConstraintEditorWidget" design-size="439 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.HPaned" id="hpaned">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">304</property>
- <child>
- <widget class="Gtk.VBox" id="vbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="windowPK">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="listUnique">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HButtonBox" id="hbuttonbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">Start</property>
- <child>
- <widget class="Gtk.Button" id="buttonAdd">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-add</property>
- <signal name="Clicked" handler="AddClicked" />
- <property name="label">gtk-add</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonRemove">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-remove</property>
- <signal name="Clicked" handler="RemoveClicked" />
- <property name="label">gtk-remove</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="MonoDevelop.Database.Components.SelectColumnWidget" id="columnSelecter">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <property name="SingleCheck">False</property>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
-</stetic-interface> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/objects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/objects.xml
deleted file mode 100644
index 1147ecb451..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Designer/gtk-gui/objects.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<objects attr-sync="on">
- <object type="MonoDevelop.Database.Designer.UniqueConstraintEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="UniqueConstraintEditorWidget Signals">
- <signal name="ContentChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.CommentEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups>
- <itemgroup label="CommentEditorWidget Properties">
- <property name="Comment" />
- </itemgroup>
- </itemgroups>
- <signals />
- </object>
- <object type="MonoDevelop.Database.Designer.CheckConstraintEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="CheckConstraintEditorWidget Signals">
- <signal name="ContentChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.IndicesEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="IndicesEditorWidget Signals">
- <signal name="ContentChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="PrimaryKeyConstraintEditorWidget Signals">
- <signal name="ContentChanged" />
- <signal name="PrimaryKeyChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.ConstraintsEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="ConstraintsEditorWidget Signals">
- <signal name="ContentChanged" />
- <signal name="PrimaryKeyChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.ColumnsEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="ColumnsEditorWidget Signals">
- <signal name="ContentChanged" />
- <signal name="PrimaryKeyChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.TriggersEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="TriggersEditorWidget Signals">
- <signal name="ContentChanged" />
- </itemgroup>
- </signals>
- </object>
- <object type="MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget" palette-category="widget" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="ForeignKeyConstraintEditorWidget Signals">
- <signal name="ContentChanged" />
- </itemgroup>
- </signals>
- </object>
-</objects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs
deleted file mode 100644
index b91edf5dec..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Query.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MonoDevelop Database Query")]
-[assembly: AssemblyDescription ("Database Query Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs.in
deleted file mode 100644
index a1762077fc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Query")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/Commands/ToolCommands.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/Commands/ToolCommands.cs
deleted file mode 100644
index 7730080908..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/Commands/ToolCommands.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Ide;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Ide.Gui.Pads;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Query
-{
- public enum ToolCommands
- {
- Query
- }
-
- public class QueryHandler : CommandHandler
- {
- protected override void Update (CommandInfo info)
- {
- info.Enabled = ConnectionContextService.DatabaseConnections.Count > 0;
- }
-
- protected override void Run ()
- {
- SqlQueryView view = new SqlQueryView ();
- IdeApp.Workbench.OpenDocument (view, true);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/ISqlQueryEditorView.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/ISqlQueryEditorView.cs
deleted file mode 100644
index c1bde69f1c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/ISqlQueryEditorView.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// ISqlQueryEditorView.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009 Luciano N. Callero
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-
-namespace MonoDevelop.Database.Query
-{
-
- public interface ISqlQueryEditorView {
- void RunQuery ();
- void StopQuery ();
- void ClearQuery ();
- bool IsRunning { get ; }
- }
-
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/Makefile.am
deleted file mode 100644
index 9f7f6256d6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/Makefile.am
+++ /dev/null
@@ -1,78 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Query.dll
-REFS = \
- $(GLIB_SHARP_LIBS) \
- $(GTK_SHARP_LIBS) \
- $(MONO_ADDINS_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:System \
- -r:System.Data
-
-RES = \
- gtk-gui/gui.stetic \
- MonoDevelop.Database.Query.addin.xml
-
-FILES = \
- AssemblyInfo.cs \
- Commands/ToolCommands.cs \
- gtk-gui/generated.cs \
- ISqlQueryEditorView.cs \
- QueryResultView.cs \
- SqlQueryDisplayBinding.cs \
- SqlQueryTextEditorExtension.cs \
- SqlQueryView.cs
-
-DATA_FILES = \
- icons/Icons.16x16.Database.Column.Key.png \
- icons/Icons.16x16.Database.Column.png \
- icons/Icons.16x16.Database.Connection.Error.png \
- icons/Icons.16x16.Database.Connection.png \
- icons/Icons.16x16.Database.Connection.Remove.png \
- icons/Icons.16x16.Database.Constraints.png \
- icons/Icons.16x16.Database.Database.Error.png \
- icons/Icons.16x16.Database.Database.Ok.png \
- icons/Icons.16x16.Database.Database.png \
- icons/Icons.16x16.Database.Execute.png \
- icons/Icons.16x16.Database.Function.png \
- icons/Icons.16x16.Database.Parameter.png \
- icons/Icons.16x16.Database.Procedure.Error.png \
- icons/Icons.16x16.Database.Procedure.png \
- icons/Icons.16x16.Database.Procedure.Source.png \
- icons/Icons.16x16.Database.Relations.png \
- icons/Icons.16x16.Database.Table.Error.png \
- icons/Icons.16x16.Database.Table.png \
- icons/Icons.16x16.Database.Tables.png \
- icons/Icons.16x16.Database.User.png \
- icons/Icons.16x16.Database.Users.png \
- icons/Icons.16x16.Database.View.Error.png \
- icons/Icons.16x16.Database.View.png \
- icons/Icons.16x16.Database.View.Source.png \
- icons/Icons.16x16.Database.Views.png
-
-DATA_FILE_BUILD = $(addprefix $(ADDIN_BUILD)/, $(DATA_FILES))
-
-all: $(ASSEMBLY)
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-$(DATA_FILE_BUILD): $(srcdir)$(subst $(ADDIN_BUILD),, $@)
- mkdir -p $(dir $@)
- cp $(srcdir)/$(subst $(ADDIN_BUILD),,$@) $@
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-iconsdir = $(MD_ADDIN_DIR)/MonoDevelop.Database/icons
-icons_DATA = $(DATA_FILE_BUILD)
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD)
-EXTRA_DIST = $(FILES) $(RES) $(DATA_FILES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml
deleted file mode 100644
index e0daccba2d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<Addin id = "Database.Query"
- namespace = "MonoDevelop"
- name = "MonoDevelop Database Query"
- author = "Christian Hergert, Daniel Morgan, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Query Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Query.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- </Dependencies>
-
- <ExtensionPoint path = "/MonoDevelop/Database/ToolBar/SqlQueryView">
- <ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
- </ExtensionPoint>
-
- <Extension path = "/MonoDevelop/Ide/Commands">
- <Command id = "MonoDevelop.Database.Query.ToolCommands.Query"
- defaultHandler = "MonoDevelop.Database.Query.QueryHandler"
- _label = "Query Database"
- icon = "md-db-execute"/>
-
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/MainMenu/Tools">
- <SeparatorItem id = "DatabaseSeparator" insertafter = "MonoDevelop.Ide.Commands.ToolCommands.AddinManager" />
- <ItemSet id = "Database" _label = "_Database">
- <CommandItem id = "MonoDevelop.Database.Query.ToolCommands.Query" />
- </ItemSet>
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
- <Class class = "MonoDevelop.Database.Query.SqlQueryTextEditorExtension" />
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/FileFilters">
- <FileFilter id = "SqlFile"
- insertbefore="AllFiles"
- _label = "Sql Script Files"
- extensions = "*.sql"/>
- </Extension>
-
- <Extension path = "/MonoDevelop/Core/StockIcons">
- <StockIcon stockid = "md-db-column-key" file = "icons/Icons.16x16.Database.Column.Key.png" />
- <StockIcon stockid = "md-db-column" file = "icons/Icons.16x16.Database.Column.png" />
- <StockIcon stockid = "md-db-connection-error" file = "icons/Icons.16x16.Database.Connection.Error.png" />
- <StockIcon stockid = "md-db-connection" file = "icons/Icons.16x16.Database.Connection.png" />
- <StockIcon stockid = "md-db-constraints" file = "icons/Icons.16x16.Database.Constraints.png" />
- <StockIcon stockid = "md-db-database-error" file = "icons/Icons.16x16.Database.Database.Error.png" />
- <StockIcon stockid = "md-db-database-ok" file = "icons/Icons.16x16.Database.Database.Ok.png" />
- <StockIcon stockid = "md-db-database" file = "icons/Icons.16x16.Database.Database.png" />
- <StockIcon stockid = "md-db-execute" file = "icons/Icons.16x16.Database.Execute.png" />
- <StockIcon stockid = "md-db-parameter" file = "icons/Icons.16x16.Database.Parameter.png" />
- <StockIcon stockid = "md-db-procedure-error" file = "icons/Icons.16x16.Database.Procedure.Error.png" />
- <StockIcon stockid = "md-db-procedure" file = "icons/Icons.16x16.Database.Procedure.png" />
- <StockIcon stockid = "md-db-procedure-source" file = "icons/Icons.16x16.Database.Procedure.Source.png" />
- <StockIcon stockid = "md-db-function" file = "icons/Icons.16x16.Database.Function.png" />
- <StockIcon stockid = "md-db-relations" file = "icons/Icons.16x16.Database.Relations.png" />
- <StockIcon stockid = "md-db-table-error" file = "icons/Icons.16x16.Database.Table.Error.png" />
- <StockIcon stockid = "md-db-table" file = "icons/Icons.16x16.Database.Table.png" />
- <StockIcon stockid = "md-db-tables" file = "icons/Icons.16x16.Database.Tables.png" />
- <StockIcon stockid = "md-db-user" file = "icons/Icons.16x16.Database.User.png" />
- <StockIcon stockid = "md-db-users" file = "icons/Icons.16x16.Database.Users.png" />
- <StockIcon stockid = "md-db-view-error" file = "icons/Icons.16x16.Database.View.Error.png" />
- <StockIcon stockid = "md-db-view" file = "icons/Icons.16x16.Database.View.png" />
- <StockIcon stockid = "md-db-view-source" file = "icons/Icons.16x16.Database.View.Source.png" />
- <StockIcon stockid = "md-db-views" file = "icons/Icons.16x16.Database.Views.png" />
- </Extension>
-
- <Extension path = "/MonoDevelop/Ide/DisplayBindings">
- <DisplayBinding id = "QueryEditor" insertbefore="DefaultDisplayBinding" supportedextensions = ".sql" supportedformats = ".Sql Files" class = "MonoDevelop.Database.Query.SqlQueryDisplayBinding" />
- </Extension>
-
- <Extension path = "/MonoDevelop/Core/MimeTypes">
- <MimeType id="text/x-sql" _description="Sql Files" icon="md-db-connection" isText="true">
- <File pattern="*.sql" />
- </MimeType>
- </Extension>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.csproj
deleted file mode 100644
index 25f5014955..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/MonoDevelop.Database.Query.csproj
+++ /dev/null
@@ -1,241 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Query</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Query</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- <DocumentationFile>..\..\..\build\AddIns\MonoDevelop.Database\MonoDevelop.Database.Query.xml</DocumentationFile>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="Mono.Posix" />
- <Reference Include="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <SpecificVersion>False</SpecificVersion>
- <Package>mono-addins</Package>
- </Reference>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="MonoDevelop.VersionControl, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Core, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.1.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="System.Xml" />
- <Reference Include="ICSharpCode.NRefactory, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49">
- <Private>False</Private>
- <Package>monodevelop</Package>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Query.addin.xml">
- <LogicalName>MonoDevelop.Database.Query.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="QueryResultView.cs" />
- <Compile Include="SqlQueryView.cs" />
- <Compile Include="Commands\ToolCommands.cs" />
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="SqlQueryTextEditorExtension.cs" />
- <Compile Include="ISqlQueryEditorView.cs" />
- <Compile Include="SqlQueryDisplayBinding.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- <GtkDesignInfo gettextClass="AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
- <ItemGroup>
- <Content Include="icons\Icons.16x16.Database.Column.Key.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="icons\Icons.16x16.Database.Column.png" />
- <Content Include="icons\Icons.16x16.Database.Connection.Error.png" />
- <Content Include="icons\Icons.16x16.Database.Connection.png" />
- <Content Include="icons\Icons.16x16.Database.Connection.Remove.png" />
- <Content Include="icons\Icons.16x16.Database.Constraints.png" />
- <Content Include="icons\Icons.16x16.Database.Database.Error.png" />
- <Content Include="icons\Icons.16x16.Database.Database.Ok.png" />
- <Content Include="icons\Icons.16x16.Database.Database.png" />
- <Content Include="icons\Icons.16x16.Database.Execute.png" />
- <Content Include="icons\Icons.16x16.Database.Parameter.png" />
- <Content Include="icons\Icons.16x16.Database.Procedure.Error.png" />
- <Content Include="icons\Icons.16x16.Database.Procedure.png" />
- <Content Include="icons\Icons.16x16.Database.Procedure.Source.png" />
- <Content Include="icons\Icons.16x16.Database.Relations.png" />
- <Content Include="icons\Icons.16x16.Database.Table.Error.png" />
- <Content Include="icons\Icons.16x16.Database.Table.png" />
- <Content Include="icons\Icons.16x16.Database.Tables.png" />
- <Content Include="icons\Icons.16x16.Database.User.png" />
- <Content Include="icons\Icons.16x16.Database.Users.png" />
- <Content Include="icons\Icons.16x16.Database.View.Error.png" />
- <Content Include="icons\Icons.16x16.Database.View.png" />
- <Content Include="icons\Icons.16x16.Database.View.Source.png" />
- <Content Include="icons\Icons.16x16.Database.Views.png" />
- <Content Include="icons\Icons.16x16.Database.Function.png" />
- </ItemGroup>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/QueryResultView.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/QueryResultView.cs
deleted file mode 100644
index 50a759928c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/QueryResultView.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Christian Hergert
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Query
-{
- public class QueryResultView : AbstractViewContent
- {
- protected DataGrid grid;
-
- public QueryResultView ()
- : base ()
- {
- grid = new DataGrid ();
- grid.ShowAll ();
- }
-
- public QueryResultView (DataTable table)
- : this ()
- {
- LoadDataTable (table);
- }
-
- public override string UntitledName {
- get { return "UntitledResult"; }
- }
-
- public override void Dispose ()
- {
- Control.Destroy ();
- }
-
- public override void Load (string filename)
- {
- throw new NotImplementedException ();
- }
-
- public void LoadDataTable (DataTable table)
- {
- grid.Clear ();
- grid.DataSource = table;
- grid.DataBind ();
- }
-
- public override Widget Control {
- get { return grid; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryDisplayBinding.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryDisplayBinding.cs
deleted file mode 100644
index a3ae7d9a01..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryDisplayBinding.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// SqlQueryDisplayBinding.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009 Luciano N. Callero
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Ide.Codons;
-using MonoDevelop.Core;
-using MonoDevelop.Projects;
-
-namespace MonoDevelop.Database.Query
-{
-
- public class SqlQueryDisplayBinding : IViewDisplayBinding
- {
- public string Name {
- get {
- return GettextCatalog.GetString ("Query Editor");
- }
- }
-
- public bool CanHandle (FilePath fileName, string mimeType, Project ownerProject)
- {
- return fileName.IsNotNull && fileName.HasExtension (".sql");
- }
-
- public IViewContent CreateContent (FilePath fileName, string mimeType, Project ownerProject)
- {
- return new SqlQueryView ();
- }
-
- public bool CanHandleMimeType (string mimetype)
- {
- return mimetype == "text/x-sql";
- }
-
- public bool CanUseAsDefault { get { return true; } }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryTextEditorExtension.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryTextEditorExtension.cs
deleted file mode 100644
index 0c312668b5..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryTextEditorExtension.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// SqlQueryTextEditorExtension.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009 Luciano N. Callero
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using MonoDevelop.Ide.Gui.Content;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Ide.Gui;
-
-namespace MonoDevelop.Database.Query
-{
- public class SqlQueryTextEditorExtension:TextEditorExtension
- {
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs
deleted file mode 100644
index 248e45abd6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs
+++ /dev/null
@@ -1,388 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Christian Hergert
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.IO;
-using System.Data;
-using System.Threading;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-using MonoDevelop.Components;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Components.Commands;
-using MonoDevelop.Database.Components;
-using MonoDevelop.SourceEditor;
-
-namespace MonoDevelop.Database.Query
-{
- public class SqlQueryView : SourceEditorView, ISqlQueryEditorView
- {
- private VBox vbox;
- private ToolButton buttonExecute;
- private ToolButton buttonStop;
- private ToolButton buttonClear;
- private DatabaseConnectionContextComboBox comboConnections;
- private Notebook notebook;
- private VPaned pane;
- private TextView status;
- SqlEditorWidget history;
-
- private object currentQueryState;
- private List<object> stoppedQueries;
- private DateTime queryStart;
-
- private DatabaseConnectionContext selectedConnection;
-
- public SqlQueryView ()
- {
- stoppedQueries = new List<object> ();
- MonoDevelop.SourceEditor.Extension.TemplateExtensionNodeLoader.Init ();
- this.UntitledName = string.Concat (AddinCatalog.GetString ("Untitled Sql Script"), ".sql");
-
- vbox = new VBox (false, 6);
- vbox.BorderWidth = 6;
-
- Toolbar toolbar = new Toolbar ();
- toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
-
- buttonExecute = new ToolButton (ImageService.GetImage ("md-db-execute", IconSize.SmallToolbar),
- AddinCatalog.GetString ("_Execute"));
- buttonExecute.Label = AddinCatalog.GetString ("Execute");
- buttonExecute.Sensitive = false;
- buttonExecute.TooltipMarkup = AddinCatalog.GetString ("Execute Query");
- buttonExecute.IsImportant = true;
- buttonExecute.Clicked += new EventHandler (ExecuteClicked);
-
- buttonStop = new ToolButton ("gtk-stop");
- buttonStop.TooltipText = AddinCatalog.GetString ("Stop Query Execution");
- buttonStop.Sensitive = false;
- buttonStop.Clicked += new EventHandler (StopClicked);
-
- buttonClear = new ToolButton (ImageService.GetImage ("gtk-clear", IconSize.Button),
- AddinCatalog.GetString ("Clear Results"));
- buttonClear.TooltipText = AddinCatalog.GetString ("Clear Results");
- buttonClear.Clicked += new EventHandler (ClearClicked);
-
- comboConnections = new DatabaseConnectionContextComboBox ();
- selectedConnection = comboConnections.DatabaseConnection;
- comboConnections.Changed += new EventHandler (ConnectionChanged);
- ToolItem comboItem = new ToolItem ();
- comboItem.Child = comboConnections;
-
- toolbar.Add (buttonExecute);
- toolbar.Add (buttonStop);
- toolbar.Add (buttonClear);
- toolbar.Add (new SeparatorToolItem ());
- toolbar.Add (comboItem);
-
- pane = new VPaned ();
-
- // Sql History Window
- ScrolledWindow windowHistory = new ScrolledWindow ();
- history = new SqlEditorWidget ();
- history.Editable = false;
- windowHistory.AddWithViewport (history);
-
- // Status of the Last Query
- ScrolledWindow windowStatus = new ScrolledWindow ();
- status = new TextView ();
- windowStatus.Add (status);
-
- notebook = new Notebook ();
- notebook.AppendPage (windowStatus, new Label (AddinCatalog.GetString ("Status")));
- notebook.AppendPage (windowHistory, new Label (AddinCatalog.GetString ("Query History")));
-
- pane.Pack2 (notebook, true, true);
- vbox.PackStart (toolbar, false, true, 0);
- vbox.PackStart (pane, true, true, 0);
- this.Document.TextReplaced += SqlChanged;
- vbox.ShowAll ();
- Document.DocumentUpdated += delegate (object sender, EventArgs args) {
- // Default mime type or a provider defined.
- if (selectedConnection == null)
- Document.MimeType = "text/x-sql";
- else
- Document.MimeType = GetMimeType ();
-
- };
- Document.Text = string.Empty;
- notebook.Hide ();
- }
-
- string GetMimeType ()
- {
- if (!selectedConnection.ConnectionPool.IsInitialized)
- selectedConnection.ConnectionPool.Initialize ();
- return selectedConnection.SchemaProvider.GetMimeType ();
- }
-
-
- #region ISqlQueryEditorView implementation
- [CommandHandler (MonoDevelop.Debugger.DebugCommands.Debug)]
- public void RunQuery ()
- {
- ExecuteClicked (new object (), new EventArgs ());
- }
-
- [CommandUpdateHandler (MonoDevelop.Debugger.DebugCommands.Debug)]
- protected void UpdateQueryCommand (CommandInfo info)
- {
- info.Icon = "md-db-execute";
- info.Text ="Execute _Query";
- }
-
- public void StopQuery ()
- {
- StopClicked (new object (), new EventArgs ());
- }
-
- public bool IsRunning {
- get {
- if (currentQueryState == null)
- return false;
- else
- return true;
- }
- }
-
- public void ClearQuery ()
- {
- ClearClicked (new object (), new EventArgs ());
- }
- #endregion
-
- public string QueryText {
- get {
-
- if (this.SelectedText != string.Empty)
- return this.SelectedText;
- else
- return this.Text;
- }
- set { this.Text = value; }
- }
-
- public DatabaseConnectionContext SelectedConnectionContext {
- get { return selectedConnection; }
- set {
- if (selectedConnection != value) {
- selectedConnection = value;
- buttonExecute.Sensitive = value != null;
- comboConnections.DatabaseConnection = value;
- }
- }
- }
-
- public override void Dispose ()
- {
- Control.Destroy ();
- }
-
- internal void CreateQueryWidget (Widget control)
- {
- if (!(control is VBox))
- return;
-
- ((VBox)control).PackEnd (vbox, true, true, 0);
-
- }
-
- public override Widget Control {
- get {
- if (vbox.Parent == null)
- CreateQueryWidget (base.Control);
- return base.Control;
- }
- }
-
- public void ExecuteQuery ()
- {
- if (selectedConnection == null || QueryText.Length < 0) {
- SetQueryState (false, "No connection selected.");
- return;
- }
-
- QueryService.EnsureConnection (selectedConnection, new DatabaseConnectionContextCallback (ExecuteQueryCallback), null);
- }
-
- private void ExecuteQueryCallback (DatabaseConnectionContext context, bool connected, object state)
- {
- if (!connected) {
- MessageService.ShowError (
- AddinCatalog.GetString ("Unable to connect to database '{0}'"), context.ConnectionSettings.Name);
- return;
- }
-
- currentQueryState = new object ();
- IPooledDbConnection conn = context.ConnectionPool.Request ();
- IDbCommand command = conn.CreateCommand (QueryText);
- if (history.Text.EndsWith (Environment.NewLine) || history.Text == string.Empty)
- history.Text = string.Concat (history.Text, QueryText);
- else
- history.Text = string.Concat (history.Text, Environment.NewLine, "------------------------", QueryText);
- queryStart = DateTime.Now;
- conn.ExecuteSetAsync (command, new ExecuteCallback<DataSet> (ExecuteQueryThreaded), currentQueryState);
- }
-
- private void ExecuteQueryThreaded (IPooledDbConnection connection, DataSet result, object state)
- {
- connection.Release ();
- TimeSpan duration = DateTime.Now.Subtract (queryStart);
-
- DispatchService.GuiDispatch (delegate () {
- notebook.ShowAll ();
- string msg = String.Concat (
- AddinCatalog.GetPluralString ("Query executed ({0} result table)",
- "Query executed ({0} result tables)", result.Tables.Count),
- Environment.NewLine,
- AddinCatalog.GetString ("Query duration: {0}", duration.ToString ())
- );
- SetQueryState (false, String.Format (msg, result.Tables.Count));
- });
-
- if (stoppedQueries.Contains (state)) {
- stoppedQueries.Remove (state);
- return;
- }
-
- if (result != null) {
- foreach (DataTable table in result.Tables) {
- DispatchService.GuiDispatch (delegate () {
- MonoDevelop.Database.Components.DataGrid grid = new MonoDevelop.Database.Components.DataGrid ();
- grid.DataSource = table;
- grid.DataBind ();
-
- string msg = String.Concat (Environment.NewLine, AddinCatalog.GetString ("Table"), ": ",table.TableName,
- Environment.NewLine, "\t", AddinCatalog.GetString ("Affected Rows"), ": ", table.Rows.Count);
- status.Buffer.Text += msg;
-
- TabLabel label = new TabLabel (new Label (table.TableName), ImageService.GetImage ("md-db-table", IconSize.Menu));
- label.CloseClicked += new EventHandler (OnResultTabClose);
- notebook.AppendPage (grid, label);
- notebook.ShowAll ();
- this.Document.ReadOnly = false;
- notebook.Page = notebook.NPages -1;
- });
- }
-
- }
-
- if (result == null || result.Tables.Count == 0) {
- DispatchService.GuiDispatch (delegate () {
- status.Buffer.Text += AddinCatalog.GetString ("No Results");
- this.Document.ReadOnly = false;
- });
-
- }
- }
-
- private void OnResultTabClose (object sender, EventArgs args)
- {
- Widget tabLabel = (Widget)sender;
- foreach (Widget child in notebook.Children) {
- if (notebook.GetTabLabel (child) == tabLabel) {
- notebook.Remove (child);
- break;
- }
- }
- }
-
- private void ExecuteClicked (object sender, EventArgs e)
- {
- SetQueryState (true, AddinCatalog.GetString ("Executing query"));
- ExecuteQuery ();
- }
-
- private void ClearClicked (object sender, EventArgs e)
- {
- while (notebook.NPages > 2)
- notebook.RemovePage (2);
- status.Buffer.Text = String.Empty;
- }
-
- private void StopClicked (object sender, EventArgs e)
- {
- SetQueryState (false, AddinCatalog.GetString ("Query execute cancelled"));
-
- //since we can't abort a threadpool task, each task is assigned a unique state
- //when stop is pressed, the state is added to the list of results that need
- //to be discarded when they get in
- if (!stoppedQueries.Contains (currentQueryState))
- stoppedQueries.Add (currentQueryState);
- }
-
- private void ConnectionChanged (object sender, EventArgs args)
- {
- selectedConnection = comboConnections.DatabaseConnection;
- Document.MimeType = GetMimeType ();
- buttonExecute.Sensitive = QueryText.Length > 0;
- }
-
- private void SqlChanged (object sender, Mono.TextEditor.DocumentChangeEventArgs args)
- {
- buttonExecute.Sensitive = QueryText.Length > 0;
- }
-
- private void SetQueryState (bool exec, string msg)
- {
- buttonExecute.Sensitive = !exec && QueryText.Length > 0;
- buttonStop.Sensitive = exec;
- buttonClear.Sensitive = !exec;
- this.Document.ReadOnly = !exec;
- notebook.Show ();
- status.Buffer.Text = msg + Environment.NewLine;
- }
-
-
- }
-
- internal class ConnectionContextMenuItem : RadioMenuItem
- {
- private DatabaseConnectionContext context;
-
- public ConnectionContextMenuItem (DatabaseConnectionContext context)
- : base (context.ConnectionSettings.Name)
- {
- this.context = context;
- }
-
- public DatabaseConnectionContext ConnectionContext {
- get { return context; }
- }
-
- public void Update ()
- {
- (Child as Label).Text = context.ConnectionSettings.Name;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/generated.cs
deleted file mode 100644
index 8463caae89..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/generated.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/gui.stetic
deleted file mode 100644
index 956b58b612..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
-</stetic-interface> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.Key.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.Key.png
deleted file mode 100644
index a9d5e4f8cc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.Key.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.png
deleted file mode 100644
index d37e7304e2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Column.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Error.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Error.png
deleted file mode 100644
index f640256399..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Error.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Remove.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Remove.png
deleted file mode 100644
index 61e740fe18..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.Remove.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.png
deleted file mode 100644
index 720a237c73..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Connection.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Constraints.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Constraints.png
deleted file mode 100644
index 4ec1a92814..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Constraints.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Error.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Error.png
deleted file mode 100644
index 578221aaab..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Error.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Ok.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Ok.png
deleted file mode 100644
index 61a8556c40..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.Ok.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.png
deleted file mode 100644
index 3d09261a26..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Database.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Execute.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Execute.png
deleted file mode 100644
index 9680afd12f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Execute.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Function.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Function.png
deleted file mode 100644
index f6fe877b82..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Function.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Parameter.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Parameter.png
deleted file mode 100644
index e093032a77..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Parameter.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Error.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Error.png
deleted file mode 100644
index 04919548e6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Error.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Source.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Source.png
deleted file mode 100644
index 63fe6ceff5..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.Source.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.png
deleted file mode 100644
index 0f9ed4d483..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Procedure.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Relations.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Relations.png
deleted file mode 100644
index 28b8505c0e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Relations.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.Error.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.Error.png
deleted file mode 100644
index 589e92b554..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.Error.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.png
deleted file mode 100644
index abcd93689a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Table.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Tables.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Tables.png
deleted file mode 100644
index d76448e34a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Tables.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.User.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.User.png
deleted file mode 100644
index 79f35ccbda..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.User.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Users.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Users.png
deleted file mode 100644
index 7fb4e1f1e1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Users.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Error.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Error.png
deleted file mode 100644
index f07f449a44..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Error.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Source.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Source.png
deleted file mode 100644
index f7ea90419d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.Source.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.png
deleted file mode 100644
index 03ddd799fa..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.View.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Views.png b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Views.png
deleted file mode 100644
index 195dc6d6c3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.16x16.Database.Views.png
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.License.txt b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.License.txt
deleted file mode 100644
index 5e380afe13..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/icons/Icons.License.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Website: http://www.famfamfam.com/lab/icons/silk/
-License: Creative Commons Attribution 2.5 License (http://creativecommons.org/licenses/by/2.5/)
-
-Note:
-I also love to hear of my work being used, feel encouraged to send an email with a link or
-screenshot of the icons in their new home to mjames at gmail dot com. This work is licensed
-under a Creative Commons Attribution 2.5 License. This means you may use it for any purpose,
-and make any changes you like. All I ask is that you include a link back to this page in your
-credits (although a giant link on every page of your website really isn't needed, contact me
-to discuss specifics).
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs
deleted file mode 100644
index 46e9464a47..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.Firebird.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("Firebird provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs.in
deleted file mode 100644
index 7fb3ddc78c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("Mono.Data.Sql.Firebird")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Daniel Morgan, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")] \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdConnectionProvider.cs
deleted file mode 100644
index 4202ef8a1e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdConnectionProvider.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using FirebirdSql.Data.Firebird;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql
-{
- public class FirebirdConnectionProvider : AbstractConnectionProvider
- {
- public FirebirdConnectionProvider (IDbFactory factory, ConnectionSettings settings)
- : base (factory, settings)
- {
- }
-
- public override DataSet ExecuteQueryAsDataSet (string sql)
- {
- if (String.IsNullOrEmpty ("sql"))
- throw new ArgumentException ("sql");
-
- DataSet set = new DataSet ();
- using (IDbCommand command = CreateCommand (sql)) {
- using (FbDataAdapter adapter = new FbDataAdapter (command as FbCommand)) {
- try {
- adapter.Fill (set);
- } catch {
- } finally {
- command.Connection.Close ();
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteQueryAsDataTable (string sql)
- {
- if (String.IsNullOrEmpty ("sql"))
- throw new ArgumentException ("sql");
-
- DataTable table = new DataTable ();
- using (IDbCommand command = CreateCommand (sql)) {
- using (FbDataAdapter adapter = new FbDataAdapter (command as FbCommand)) {
- try {
- adapter.Fill (table);
- } catch {
- } finally {
- command.Connection.Close ();
- }
- }
- }
- return table;
- }
-
- public override IDbConnection Open (out string errorMessage)
- {
- FbConnectionStringBuilder builder = null;
- try {
- if (settings.UseConnectionString) {
- builder = new FbConnectionStringBuilder (settings.ConnectionString);
- } else {
- builder = new FbConnectionStringBuilder ();
- builder.Database = settings.Database;
- builder.UserID = settings.Username;
- builder.Password = settings.Password; builder.Port = settings.Port;
- builder.DataSource = settings.Server;
- }
- builder.Pooling = settings.EnablePooling;
- builder.MinPoolSize = settings.MinPoolSize;
- builder.MaxPoolSize = settings.MaxPoolSize;
- connection = new FbConnection (builder.ToString ());
- connection.Open ();
-
- errorMessage = String.Empty;
- isConnectionError = false;
- return connection;
- } catch {
- isConnectionError = true;
- errorMessage = String.Format ("Unable to connect. (CS={0})", builder == null ? "NULL" : builder.ToString ());
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdDbFactory.cs
deleted file mode 100644
index df2ca56d53..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdDbFactory.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql
-{
- public class FirebirdDbFactory : IDbFactory
- {
- private ISqlDialect dialect;
-
- public string Identifier {
- get { return "FirebirdSql.Data.Firebird"; }
- }
-
- public string Name {
- get { return "Firebird database (Incomplete)"; }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new Sql99Dialect ("\"", "@");
- return dialect;
- }
- }
-
- public IConnectionProvider CreateConnectionProvider (ConnectionSettings settings)
- {
- return new FirebirdConnectionProvider (this, settings);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionProvider connectionProvider)
- {
- return new FirebirdSchemaProvider (connectionProvider);
- }
-
- public ConnectionSettings GetDefaultConnectionSettings ()
- {
- ConnectionSettings settings = new ConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.Server = "localhost";
- settings.Username = "firebird";
- settings.Password = String.Empty;
- settings.Database = String.Empty;
- settings.Port = 0; //FIXME: what is the default firebird port?
- return settings;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdSchemaProvider.cs
deleted file mode 100644
index 2ad6a270d9..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/FirebirdSchemaProvider.cs
+++ /dev/null
@@ -1,379 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using FirebirdSql.Data.Firebird;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql
-{
- // see:
- // http://firebird.sourceforge.net/index.php?op=devel&sub=netprovider&id=examples
- // http://www.alberton.info/firebird_sql_meta_info.html
- public class FirebirdSchemaProvider : AbstractSchemaProvider
- {
- public FirebirdSchemaProvider (IConnectionProvider connectionProvider)
- : base (connectionProvider)
- {
- }
-
- public override bool SupportsSchemaType (Type type)
- {
- if (type == typeof(TableSchema))
- return true;
- else if (type == typeof(ViewSchema))
- return true;
- else if (type == typeof(ProcedureSchema))
- return true;
- else if (type == typeof(AggregateSchema))
- return true;
- else if (type == typeof(GroupSchema))
- return true;
- else if (type == typeof(UserSchema))
- return true;
- else if (type == typeof(LanguageSchema))
- return true;
- else if (type == typeof(OperatorSchema))
- return true;
- else if (type == typeof(RoleSchema))
- return true;
- else if (type == typeof(SequenceSchema))
- return true;
- else if (type == typeof(DataTypeSchema))
- return true;
- else if (type == typeof(TriggerSchema))
- return true;
- else if (type == typeof(ColumnSchema))
- return true;
- else if (type == typeof(ConstraintSchema))
- return true;
- else if (type == typeof(RuleSchema))
- return true;
- else
- return false;
- }
-
- public override ICollection<TableSchema> GetTables ()
- {
- CheckConnectionState ();
- List<TableSchema> tables = new List<TableSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT RDB$RELATION_NAME, RDB$SYSTEM_FLAG, RDB$OWNER_NAME, RDB$DESCRIPTION FROM RDB$RELATIONS "+
- "WHERE RDB$VIEW_BLR IS NULL;"
- );
-
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- TableSchema table = new TableSchema (this);
-
- table.Name = r.GetString (0);
- table.IsSystemTable = (!r.IsDBNull (1) && r.GetInt32 (1) != 0);
- table.OwnerName = r.GetString (2);
- table.Comment = r.GetString (3);
-
- tables.Add (table);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return tables;
- }
-
- public override ICollection<ColumnSchema> GetTableColumns (TableSchema table)
- {
- return GetTableOrViewColumns (table.Name);
- }
-
- public override ICollection<ViewSchema> GetViews ()
- {
- CheckConnectionState ();
- List<ViewSchema> views = new List<ViewSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT RDB$RELATION_NAME, RDB$SYSTEM_FLAG, RDB$OWNER_NAME, RDB$DESCRIPTION, RDB$VIEW_SOURCE FROM RDB$RELATIONS "+
- "WHERE RDB$VIEW_SOURCE IS NOT NULL;"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ViewSchema view = new ViewSchema (this);
-
- view.Name = r.GetString (0);
- view.IsSystemView = (!r.IsDBNull (1) && r.GetInt32 (1) != 0);
- view.OwnerName = r.GetString (2);
- view.Comment = r.GetString (3);
- //TODO: view.Definition = 4 (ascii blob)
-
- views.Add (view);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
- return views;
- }
-
- public override ICollection<ColumnSchema> GetViewColumns (ViewSchema view)
- {
- return GetTableOrViewColumns (view.Name);
- }
-
- public override ICollection<ProcedureSchema> GetProcedures ()
- {
- CheckConnectionState ();
- List<ProcedureSchema> procedures = new List<ProcedureSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT RDB$PROCEDURE_NAME, RDB$SYSTEM_FLAG, RDB$OWNER_NAME, RDB$DESCRIPTION, RDB$PROCEDURE_SOURCE FROM RDB$PROCEDURES;"
- );
-
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ProcedureSchema procedure = new ProcedureSchema (this);
-
- procedure.Name = r.GetString (0);
- procedure.IsSystemProcedure = (!r.IsDBNull (1) && r.GetInt32 (1) != 0);
- procedure.OwnerName = r.GetString (2);
- procedure.Comment = r.GetString (3);
- //TODO: procedure.Definition = 4 (ascii blob)
-
- procedures.Add (procedure);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return procedures;
- }
-
- public override ICollection<ColumnSchema> GetProcedureColumns (ProcedureSchema procedure)
- {
- CheckConnectionState ();
- List<ColumnSchema> columns = new List<ColumnSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT RDB$PARAMETER_NAME, RDB$PARAMETER_NUMBER, RDB$DESCRIPTION, RDB$SYSTEM_FLAG "
- + "FROM RDB$PROCEDURE_PARAMETERS "
- + "WHERE RDB$PROCEDURE_NAME = '" + procedure.Name + "' "
- + "AND RDB$PARAMETER_TYPE = 1 "
- + "ORDER BY 2;"
- );
-
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this);
-
- column.Name = r.GetString (0);
- column.OwnerName = procedure.Name;
- column.Comment = r.GetString (2);
- //TODO: data type
-
- columns.Add (column);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return columns;
- }
-
- public override ICollection<ParameterSchema> GetProcedureParameters (ProcedureSchema procedure)
- {
- CheckConnectionState ();
- List<ParameterSchema> parameters = new List<ParameterSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT RDB$PARAMETER_NAME, RDB$PARAMETER_NUMBER, RDB$DESCRIPTION, RDB$SYSTEM_FLAG "
- + "FROM RDB$PROCEDURE_PARAMETERS "
- + "WHERE RDB$PROCEDURE_NAME = '" + procedure.Name + "' "
- + "AND RDB$PARAMETER_TYPE = 0 "
- + "ORDER BY 2;"
- );
-
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ParameterSchema parameter = new ParameterSchema (this);
-
- parameter.Name = r.GetString (0);
- parameter.OwnerName = procedure.Name;
- parameter.Comment = r.GetString (2);
- //TODO: data type
-
- parameters.Add (parameter);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return parameters;
- }
-
- //TODO:
- public override ICollection<ConstraintSchema> GetTableConstraints (TableSchema table)
- {
- CheckConnectionState ();
- List<ConstraintSchema> constraints = new List<ConstraintSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand ("SHOW TABLE STATUS FROM `" + table.OwnerName + "`;");
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
-// ConstraintSchema constraint = new ConstraintSchema (this);
-// constraint.PrimaryKey = pkColumn;
-// constraint.ForeignKey = fkColumn;
-//
-// constraints.Add (constraint);
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return constraints;
- }
-
- public override ICollection<UserSchema> GetUsers ()
- {
- CheckConnectionState ();
- List<UserSchema> users = new List<UserSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand ("SELECT DISTINCT RDB$USER FROM RDB$USER_PRIVILEGES;");
- using (command) {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- UserSchema user = new UserSchema (this);
- user.Name = r.GetString (0);
- users.Add (user);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return users;
- }
-
- public override ICollection<TriggerSchema> GetTriggers ()
- {
- CheckConnectionState ();
- List<TriggerSchema> triggers = new List<TriggerSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand ("SELECT RDB$TRIGGER_NAME, RDB$RELATION_NAME, RDB$TRIGGER_TYPE FROM RDB$TRIGGERS;");
- using (command) {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- TriggerSchema trigger = new TriggerSchema (this);
- trigger.Name = r.GetString (0);
- //TODO: table and type
- triggers.Add (trigger);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return triggers;
- }
-
- //TODO:
- public override DataTypeSchema GetDataType (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
- name = name.ToUpper ();
-
- DataTypeSchema dts = new DataTypeSchema (this);
- dts.Name = name;
- switch (name) {
- //TODO: IMPLEMENT
- case "":
- break;
- default:
- dts = null;
- break;
- }
-
- return dts;
- }
-
- private ICollection<ColumnSchema> GetTableOrViewColumns (string name)
- {
- CheckConnectionState ();
- List<ColumnSchema> columns = new List<ColumnSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT r.RDB$FIELD_NAME AS field_name, r.RDB$DESCRIPTION AS field_description, "
- + "r.RDB$DEFAULT_VALUE AS field_default_value, r.RDB$NULL_FLAG AS field_not_null_constraint, "
- + "f.RDB$FIELD_LENGTH AS field_length, f.RDB$FIELD_PRECISION AS field_precision, "
- + "f.RDB$FIELD_SCALE AS field_scale, "
- + "CASE f.RDB$FIELD_TYPE WHEN 261 THEN 'BLOB' WHEN 14 THEN 'CHAR' WHEN 40 THEN 'CSTRING' "
- + "WHEN 11 THEN 'D_FLOAT' WHEN 27 THEN 'DOUBLE' WHEN 10 THEN 'FLOAT' WHEN 16 THEN 'INT64' "
- + "WHEN 8 THEN 'INTEGER' WHEN 9 THEN 'QUAD' WHEN 7 THEN 'SMALLINT' WHEN 12 THEN 'DATE' "
- + "WHEN 13 THEN 'TIME' WHEN 35 THEN 'TIMESTAMP' WHEN 37 THEN 'VARCHAR' ELSE 'UNKNOWN' "
- + "END AS field_type, f.RDB$FIELD_SUB_TYPE AS field_subtype, "
- + "coll.RDB$COLLATION_NAME AS field_collation, cset.RDB$CHARACTER_SET_NAME AS field_charset "
- + "FROM RDB$RELATION_FIELDS r LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME "
- + "LEFT JOIN RDB$COLLATIONS coll ON f.RDB$COLLATION_ID = coll.RDB$COLLATION_ID "
- + "LEFT JOIN RDB$CHARACTER_SETS cset ON f.RDB$CHARACTER_SET_ID = cset.RDB$CHARACTER_SET_ID "
- + "WHERE r.RDB$RELATION_NAME='" + name + "' ORDER BY r.RDB$FIELD_POSITION;"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this);
-
- column.Name = r.GetString (0);
- column.DataTypeName = r.GetString (8);
- column.NotNull = (!r.IsDBNull (3) && r.GetInt32 (3) == 1);
- column.Default = r.GetString (2);
- column.Comment = r.GetString (1);
- column.OwnerName = name;
- column.Length = r.GetInt32 (4);
- column.Precision = r.GetInt32 (5);
- column.Scale = r.GetInt32 (6);
-
- columns.Add (column);
- }
- r.Close ();
- };
- connectionProvider.Close (command.Connection);
- }
-
- return columns;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.addin.xml
deleted file mode 100644
index 18bb3ae3a6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.addin.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<Addin id = "MonoDevelop.Database.Sql.Firebird"
- namespace = "MonoDevelop"
- name = "Firebird provider for Mono Data Sql"
- author = "Christian Hergert, Daniel Morgan, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.Firebird.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="MonoDevelop.Database.Sql" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/Mono/Data/Sql">
- <Class id = "Firebird" class = "MonoDevelop.Database.Sql.FirebirdDbFactory"/>
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.csproj
deleted file mode 100644
index 47db08e391..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Firebird/MonoDevelop.Database.Sql.Firebird.csproj
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{DF9EC79D-A4EF-4C63-9A2F-15B4F36C98A3}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Firebird</AssemblyName>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- <RootNamespace>MonoDevelop.Database.Sql.Firebird</RootNamespace>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="FirebirdConnectionProvider.cs" />
- <Compile Include="FirebirdSchemaProvider.cs" />
- <Compile Include="FirebirdDbFactory.cs" />
- <Compile Include="AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Schema\" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="false" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.Firebird.addin.xml" />
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs
deleted file mode 100644
index df50ac5362..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.MySql.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MySql provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs.in
deleted file mode 100644
index c4c6648eb1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Sql.MySql")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCharacterSetSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCharacterSetSchemaCollection.cs
deleted file mode 100644
index 3d6d9e9430..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCharacterSetSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public sealed class MySqlCharacterSetSchemaCollection : SortedCollectionBase<MySqlCharacterSetSchema>
- {
- public MySqlCharacterSetSchemaCollection ()
- : base (true)
- {
- }
-
- public MySqlCharacterSetSchemaCollection (MySqlCharacterSetSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCollationSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCollationSchemaCollection.cs
deleted file mode 100644
index f2316aa0bd..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Collections/MySqlCollationSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public sealed class MySqlCollationSchemaCollection : SortedCollectionBase<MySqlCollationSchema>
- {
- public MySqlCollationSchemaCollection ()
- : base (true)
- {
- }
-
- public MySqlCollationSchemaCollection (MySqlCollationSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlCreateDatabaseDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlCreateDatabaseDialog.cs
deleted file mode 100644
index 1930d836de..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlCreateDatabaseDialog.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-//
-// MySqlCreateDatabaseDialog.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using Gtk;
-using System;
-using System.Data;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Ide;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
-
- public class MySqlCreateDatabaseDialog : CreateDatabaseDialog
- {
-
- ConnectionSettingsWidget connectionWidget;
- MySqlCreateDatabaseWidget createDBWidget;
-
- public MySqlCreateDatabaseDialog (IDbFactory factory):base(factory)
- {
- createDBWidget = new MySqlCreateDatabaseWidget ();
- Notebook.AppendPage (createDBWidget,
- new Label (AddinCatalog.GetString ("Database Properties")));
- Notebook.ShowTabs = true;
- Gtk.Notebook nb = Notebook;
-
- nb.SwitchPage += delegate(object o, SwitchPageArgs args) {
- if (nb.CurrentPage == 1)
- if (!connectionWidget.ValidateFields ())
- {
- nb.CurrentPage = 0;
- MessageService.ShowError (this,
- AddinCatalog.GetString ("Set the connection properties before the database properties."));
- } else {
- Initialize (factory);
- if (DatabaseConnection.ConnectionPool.HasErrors) {
- MessageService.ShowError (DatabaseConnection.ConnectionPool.Error);
- nb.CurrentPage = 0;
- return;
- }
- createDBWidget.Initialize ((MySqlSchemaProvider)DatabaseConnection.SchemaProvider);
- }
- };
-
- Notebook.ShowAll ();
- }
-
- private void Initialize (IDbFactory factory)
- {
- if (DatabaseConnection != null)
- DatabaseConnection.ConnectionPool.Close ();
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings(connectionWidget.ConnectionSettings);
- settings.Database = "mysql";
- // Create Context, Pool, Connection
- DatabaseConnectionContext ctx = new DatabaseConnectionContext (settings, true);
- ctx.ConnectionPool.Initialize ();
- this.DatabaseConnection = ctx;
- }
-
- protected override ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory)
- {
- connectionWidget = new ConnectionSettingsWidget (factory);
- connectionWidget.ShowSettings (factory.GetDefaultConnectionSettings ());
- connectionWidget.EnableTestButton = false;
- return connectionWidget;
- }
-
- protected override void OnBeforeDatabaseCreation (DatabaseSchema schema)
- {
- createDBWidget.SetDatabaseOptions ((MySqlDatabaseSchema)schema);
- base.OnBeforeDatabaseCreation (schema);
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlTableEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlTableEditorDialog.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Dialogs/MySqlTableEditorDialog.cs
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Makefile.am
deleted file mode 100644
index 44af58f304..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Makefile.am
+++ /dev/null
@@ -1,65 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Sql.MySql.dll
-REFS = \
- $(GTK_SHARP_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:$(top_srcdir)/contrib/MySql/MySql.Data.dll \
- -r:Mono.Posix \
- -r:System \
- -r:System.Data
-
-FILES = \
- AssemblyInfo.cs \
- Collections/MySqlCharacterSetSchemaCollection.cs \
- Collections/MySqlCollationSchemaCollection.cs \
- Dialogs/MySqlCreateDatabaseDialog.cs \
- Dialogs/MySqlTableEditorDialog.cs \
- gtk-gui/generated.cs \
- gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs \
- MySqlConnectionProvider.cs \
- MySqlDbFactory.cs \
- MySqlDialect.cs \
- MySqlGuiProvider.cs \
- MySqlPooledDbConnection.cs \
- MySqlSchemaProvider.cs \
- Schema/MySqlCharacterSetSchema.cs \
- Schema/MySqlCollationSchema.cs \
- Schema/MySqlDatabaseSchema.cs \
- Widgets/MySqlColumnEditorWidget.cs \
- Widgets/MySqlCreateDatabaseWidget.cs
-
-MYSQL_FILES = \
- MySql.Data.dll
-
-RES = \
- gtk-gui/gui.stetic \
- gtk-gui/objects.xml \
- MonoDevelop.Database.Sql.MySql.addin.xml \
- MySqlSyntaxMode.xml
-
-SRC_MYSQL_FILES = $(addprefix $(top_srcdir)/contrib/MySql/, $(MYSQL_FILES))
-BUILD_MYSQL_FILES = $(addprefix $(ADDIN_BUILD)/, $(notdir $(MYSQL_FILES)))
-
-all: $(ASSEMBLY) $(BUILD_MYSQL_FILES)
-
-$(BUILD_MYSQL_FILES): $(SRC_MYSQL_FILES)
- mkdir -p $(ADDIN_BUILD)
- cp $(SRC_MYSQL_FILES) $(ADDIN_BUILD)/.
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb $(BUILD_MYSQL_FILES)
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(BUILD_MYSQL_FILES)
-EXTRA_DIST = $(FILES) $(RES) $(SRC_MYSQL_FILES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.addin.xml
deleted file mode 100644
index 440bbdefc0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.addin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<Addin id = "Database.Sql.MySql"
- namespace = "MonoDevelop"
- name = "MySql provider for Mono Data Sql"
- author = "Christian Hergert, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.MySql.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- <Addin id="SourceEditor2" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Database/Sql">
- <DatabaseFactory id = "MySql" class = "MonoDevelop.Database.Sql.MySql.MySqlDbFactory" />
- </Extension>
-
- <Extension path = "/MonoDevelop/SourceEditor2/SyntaxModes">
- <Templates resource="MySqlSyntaxMode.xml" />
- </Extension>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.csproj
deleted file mode 100644
index b01f46e948..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MonoDevelop.Database.Sql.MySql.csproj
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{1EAB54C2-4F9D-421F-A362-CCE28496820C}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.MySql</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql.MySql</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
- <HintPath>..\contrib\MySql\MySql.Data.dll</HintPath>
- </Reference>
- <Reference Include="NRefactory, Version=0.0.0.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Posix" />
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.VersionControl, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Deployment, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="MySqlConnectionProvider.cs" />
- <Compile Include="MySqlSchemaProvider.cs" />
- <Compile Include="MySqlDbFactory.cs" />
- <Compile Include="MySqlPooledDbConnection.cs" />
- <Compile Include="MySqlDialect.cs" />
- <Compile Include="MySqlGuiProvider.cs" />
- <Compile Include="Dialogs\MySqlTableEditorDialog.cs" />
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Widgets\MySqlCreateDatabaseWidget.cs" />
- <Compile Include="Widgets\MySqlColumnEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.cs" />
- <Compile Include="Schema\MySqlCharacterSetSchema.cs" />
- <Compile Include="Schema\MySqlCollationSchema.cs" />
- <Compile Include="Schema\MySqlDatabaseSchema.cs" />
- <Compile Include="Collections\MySqlCollationSchemaCollection.cs" />
- <Compile Include="Collections\MySqlCharacterSetSchemaCollection.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Dialogs\MySqlCreateDatabaseDialog.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.MySql.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.MySql.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\objects.xml">
- <LogicalName>objects.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="MySqlSyntaxMode.xml">
- <LogicalName>MySqlSyntaxMode.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlConnectionProvider.cs
deleted file mode 100644
index 2b156b8c02..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlConnectionProvider.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Sureshkumar T <tsureshkumar@novell.com>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using MySql.Data.MySqlClient;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlConnectionProvider : AbstractConnectionProvider
- {
- public override IPooledDbConnection CreateConnection (IConnectionPool pool,
- DatabaseConnectionSettings settings,
- out string error)
- {
- string connStr = null;
- try {
- if (settings.UseConnectionString) {
- connStr = settings.ConnectionString;
- } else {
- //"Server=Server;Port=1234;Database=Test;Uid=UserName;Pwd=asdasd;"
- //Default port is 3306. Enter value -1 to use a named pipe connection.
- if (settings.Port > 0)
- connStr = String.Format ("Server={0};Port={1};Database={2};Uid={3};Pwd={4};",
- settings.Server, settings.Port, settings.Database, settings.Username, settings.Password);
- else
- connStr = String.Format ("Server={0};Database={2};Uid={3};Pwd={3};",
- settings.Server, settings.Database, settings.Username, settings.Password);
-
- }
- connStr = SetConnectionStringParameter (connStr, String.Empty, "Pooling", "false");
- MySqlConnection connection = new MySqlConnection (connStr);
- connection.Open ();
-
- error = null;
- return new MySqlPooledDbConnection (pool, connection);
- } catch (Exception e) {
- error = e.Message;
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs
deleted file mode 100644
index 3041869f1d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlDbFactory : IDbFactory, IDbLinq
- {
- private ISqlDialect dialect;
- private IConnectionProvider connectionProvider;
- private IGuiProvider guiProvider;
-
- public string Identifier {
- get { return "MySql.Data.MySqlClient"; }
- }
-
- public string Name {
- get { return AddinCatalog.GetString ("MySql database"); }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new MySqlDialect ();
- return dialect;
- }
- }
-
- public IConnectionProvider ConnectionProvider {
- get {
- if (connectionProvider == null)
- connectionProvider = new MySqlConnectionProvider ();
- return connectionProvider;
- }
- }
-
- public IGuiProvider GuiProvider {
- get {
- if (guiProvider == null)
- guiProvider = new MySqlGuiProvider ();
- return guiProvider;
- }
- }
-
- public IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- return new DefaultConnectionPool (this, ConnectionProvider, context);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool)
- {
- return new MySqlSchemaProvider (connectionPool);
- }
-
- public DatabaseConnectionSettings GetDefaultConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.Server = "localhost";
- settings.Port = 3306;
- settings.Username = "root";
- settings.MaxPoolSize = 5;
-
- return settings;
- }
-
- #region IDbLinq implementation
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string language,
- string style, string defaultNamespace, string entityBase, string entityAttr,
- string membersAttr, string generateTypes, string culture, bool generateSchema,
- bool generateTimestamp, bool overrideEqualAndHash, bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, language, style, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize);
- }
-
-
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string defaultNamespace,
- string entityBase, string entityAttr, string membersAttr, string generateTypes,
- string culture, bool generateSchema, bool generateTimestamp, bool overrideEqualAndHash,
- bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize); }
-
- public string Provider {
- get {
- return "MySql";
- }
- }
-
-
- public bool HasProcedures {
- get {
- return true;
- }
- }
-
- #endregion
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDialect.cs
deleted file mode 100644
index 13ab941dd1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlDialect.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlDialect : AbstractSqlDialect
- {
- public override string QuoteIdentifier (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- if (IsReservedWord (identifier) || identifier.Contains (" "))
- return String.Concat ('`', identifier, '`');
- return identifier;
- }
-
- public override string MarkAsParameter (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return "?" + identifier;
- }
-
- //http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html
- protected virtual bool IsReservedWord (string word)
- {
- word = word.ToUpper ();
-
- switch (word) {
- case "ADD": case "ALL": case "ALTER": case "ANALYZE":
- case "AND": case "AS": case "ASC":
- case "ASENSITIVE": case "BEFORE": case "BETWEEN":
- case "BIGINT": case "BINARY": case "BLOB":
- case "BOTH": case "BY": case "CALL":
- case "CASCADE": case "CASE": case "CHANGE":
- case "CHAR": case "CHARACTER": case "CHECK":
- case "COLLATE": case "COLUMN": case "CONDITION":
- case "CONSTRAINT": case "CONTINUE": case "CONVERT":
- case "CREATE": case "CROSS": case "CURRENT_DATE":
- case "CURRENT_TIME": case "CURRENT_TIMESTAMP": case "CURRENT_USER":
- case "CURSOR": case "DATABASE": case "DATABASES":
- case "DAY_HOUR": case "DAY_MICROSECOND": case "DAY_MINUTE":
- case "DAY_SECOND": case "DEC": case "DECIMAL":
- case "DECLARE": case "DEFAULT": case "DELAYED":
- case "DELETE": case "DESC": case "DESCRIBE":
- case "DETERMINISTIC": case "DISTINCT": case "DISTINCTROW":
- case "DIV": case "DOUBLE": case "DROP":
- case "DUAL": case "EACH": case "ELSE":
- case "ELSEIF": case "ENCLOSED": case "ESCAPED":
- case "EXISTS": case "EXIT": case "EXPLAIN":
- case "FALSE": case "FETCH": case "FLOAT":
- case "FLOAT4": case "FLOAT8": case "FOR":
- case "FORCE": case "FOREIGN": case "FROM":
- case "FULLTEXT": case "GRANT": case "GROUP":
- case "HAVING": case "HIGH_PRIORITY": case "HOUR_MICROSECOND":
- case "HOUR_MINUTE": case "HOUR_SECOND": case "IF":
- case "IGNORE": case "IN": case "INDEX":
- case "INFILE": case "INNER": case "INOUT":
- case "INSENSITIVE": case "INSERT": case "INT":
- case "INT1": case "INT2": case "INT3":
- case "INT4": case "INT8": case "INTEGER":
- case "INTERVAL": case "INTO": case "IS":
- case "ITERATE": case "JOIN": case "KEY":
- case "KEYS": case "KILL": case "LEADING":
- case "LEAVE": case "LEFT": case "LIKE":
- case "LIMIT": case "LINES": case "LOAD":
- case "LOCALTIME": case "LOCALTIMESTAMP": case "LOCK":
- case "LONG": case "LONGBLOB": case "LONGTEXT":
- case "LOOP": case "LOW_PRIORITY": case "MATCH":
- case "MEDIUMBLOB": case "MEDIUMINT": case "MEDIUMTEXT":
- case "MIDDLEINT": case "MINUTE_MICROSECOND": case "MINUTE_SECOND":
- case "MOD": case "MODIFIES": case "NATURAL":
- case "NOT": case "NO_WRITE_TO_BINLOG": case "NULL":
- case "NUMERIC": case "ON": case "OPTIMIZE":
- case "OPTION": case "OPTIONALLY": case "OR":
- case "ORDER": case "OUT": case "OUTER":
- case "OUTFILE": case "PRECISION": case "PRIMARY":
- case "PROCEDURE": case "PURGE": case "RAID0":
- case "READ": case "READS": case "REAL":
- case "REFERENCES": case "REGEXP": case "RELEASE":
- case "RENAME": case "REPEAT": case "REPLACE":
- case "REQUIRE": case "RESTRICT": case "RETURN":
- case "REVOKE": case "RIGHT": case "RLIKE":
- case "SCHEMA": case "SCHEMAS": case "SECOND_MICROSECOND":
- case "SELECT": case "SENSITIVE": case "SEPARATOR":
- case "SET": case "SHOW": case "SMALLINT":
- case "SONAME": case "SPATIAL": case "SPECIFIC":
- case "SQL": case "SQLEXCEPTION": case "SQLSTATE":
- case "SQLWARNING": case "SQL_BIG_RESULT": case "SQL_CALC_FOUND_ROWS":
- case "SQL_SMALL_RESULT": case "SSL": case "STARTING":
- case "STRAIGHT_JOIN": case "TABLE": case "TERMINATED":
- case "THEN": case "TINYBLOB": case "TINYINT":
- case "TINYTEXT": case "TO": case "TRAILING":
- case "TRIGGER": case "TRUE": case "UNDO":
- case "UNION": case "UNIQUE": case "UNLOCK":
- case "UNSIGNED": case "UPDATE": case "USAGE":
- case "USE": case "USING": case "UTC_DATE":
- case "UTC_TIME": case "UTC_TIMESTAMP": case "VALUES":
- case "VARBINARY": case "VARCHAR": case "VARCHARACTER":
- case "VARYING": case "WHEN": case "WHERE":
- case "WHILE": case "WITH": case "WRITE":
- case "X509": case "XOR": case "YEAR_MONTH":
- case "ZEROFILL":
- return true;
- default:
- return false;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlGuiProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlGuiProvider.cs
deleted file mode 100644
index 0eadada189..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlGuiProvider.cs
+++ /dev/null
@@ -1,127 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlGuiProvider : IGuiProvider
- {
- public bool ShowCreateDatabaseDialog (IDbFactory factory)
- {
- MySqlCreateDatabaseDialog dialog = new MySqlCreateDatabaseDialog (factory);
- int resp;
- do {
- resp = dialog.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
- dialog.Destroy ();
- if (resp == (int)ResponseType.Ok)
- return true;
- else
- return false;
-
- // return (RunDialog (new MySqlCreateDatabaseDialog (factory)));
- }
-
- public bool ShowAddConnectionDialog (IDbFactory factory)
- {
- DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (factory);
- return RunDialog (dlg);
- }
-
- public bool ShowEditConnectionDialog (IDbFactory factory,
- DatabaseConnectionSettings settings,
- out DatabaseConnectionSettings newSettings)
- {
- DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (factory, settings);
- bool result = RunDialog (dlg);
- if (result)
- newSettings = dlg.ConnectionSettings;
- else
- newSettings = null;
- return result;
- }
-
- 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 ShowViewEditorDialog (IEditSchemaProvider schemaProvider, ViewSchema view, bool create)
- {
- ViewEditorSettings settings = new ViewEditorSettings ();
- ViewEditorDialog dlg = new ViewEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (view);
-
- return RunDialog (dlg);
- }
-
- public bool ShowProcedureEditorDialog (IEditSchemaProvider schemaProvider, ProcedureSchema procedure, bool create)
- {
- ProcedureEditorSettings settings = new ProcedureEditorSettings ();
- settings.ShowName = false;
- ProcedureEditorDialog dlg = new ProcedureEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (procedure);
- return RunDialog (dlg);
- }
-
- public bool ShowUserEditorDialog (IEditSchemaProvider schemaProvider, UserSchema user, bool create)
- {
- return false; //TODO: implement ShowUserEditorDialog
- }
-
- private bool RunDialog (Dialog dlg)
- {
- bool result = false;
- // If the Preview Dialog is canceled, don't execute and don't close the Editor Dialog.
- try {
- int resp;
- do {
- resp = dlg.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
-
- if (resp == (int)ResponseType.Ok)
- result = true;
- else
- result = false;
- } finally {
- dlg.Destroy ();
- }
- return result;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlPooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlPooledDbConnection.cs
deleted file mode 100644
index 4336ef209c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlPooledDbConnection.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MySql.Data.MySqlClient;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlPooledDbConnection : AbstractPooledDbConnection
- {
- public MySqlPooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- : base (connectionPool, connection)
- {
- }
-
- public override Version DatabaseVersion {
- get {
- MySqlConnection connection = DbConnection as MySqlConnection;
- try {
- //the version string is in the form ##.##.##-xxx (major.minor.build-comment)
- string version = connection.ServerVersion;
- int index = version.IndexOf ("-");
-
- return new Version (version.Substring (0, index));
- } catch {
- return new Version (4, 0); //assume a minimum of 4.0
- }
- }
- }
-
- public override DataSet ExecuteSet (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataSet set = new DataSet ();
- using (command) {
- using (MySqlDataAdapter adapter = new MySqlDataAdapter (command as MySqlCommand)) {
- try {
- adapter.Fill (set);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteTable (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataTable table = new DataTable ();
- using (command) {
- using (MySqlDataAdapter adapter = new MySqlDataAdapter (command as MySqlCommand)) {
- try {
- adapter.Fill (table);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return table;
- }
-
- public override DataTable GetSchema (string collectionName, params string[] restrictionValues)
- {
- return (connection as MySqlConnection).GetSchema (collectionName, restrictionValues);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSchemaProvider.cs
deleted file mode 100755
index 4bdcddfde8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSchemaProvider.cs
+++ /dev/null
@@ -1,1027 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Sureshkumar T <tsureshkumar@novell.com>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007-2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Data;
-using MySql.Data.MySqlClient;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlSchemaProvider : AbstractEditSchemaProvider
- {
- static Regex constraintRegex = new Regex (@"`([\w ]+)`", RegexOptions.Compiled);
- public MySqlSchemaProvider (IConnectionPool connectionPool)
- : base (connectionPool)
- {
- AddSupportedSchemaActions (SchemaType.Database, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.Table, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.View, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.TableColumn, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.Trigger, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.PrimaryKeyConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.ForeignKeyConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.CheckConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.UniqueConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Constraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.User, SchemaActions.Schema);
-
- if (connectionPool.HasVersion && connectionPool.DatabaseVersion.Major > 4) {
- AddSupportedSchemaActions (SchemaType.Procedure, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.ProcedureParameter, SchemaActions.Schema);
- }
- }
-
- public override DatabaseSchemaCollection GetDatabases ()
- {
- DatabaseSchemaCollection databases = new DatabaseSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand ("SHOW DATABASES;")) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- DatabaseSchema db = new DatabaseSchema (this);
- db.Name = r.GetString (0);
- databases.Add (db);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
-
- return databases;
- }
-
- public override ProcedureSchema CreateProcedureSchema (string name)
- {
- StringBuilder proc = new StringBuilder ();
- proc.Append ("DROP PROCEDURE IF EXISTS `");
- proc.Append (name);
- proc.Append ("`;");
- proc.Append (Environment.NewLine);
- proc.Append ("CREATE PROCEDURE `");
- proc.Append (name);
- proc.Append ("` ()");
- proc.Append (Environment.NewLine);
- proc.Append ("BEGIN");
- proc.Append (Environment.NewLine);
- proc.Append ("END");
- ProcedureSchema newProc = new ProcedureSchema (this);
- newProc.Definition = proc.ToString ();
- newProc.IsFunction = false;
- newProc.Name = name;
- return newProc;
- }
-
- // see: http://dev.mysql.com/doc/refman/5.1/en/tables-table.html
- // // see: http://dev.mysql.com/doc/refman/5.1/en/show-create-table.html
- public override TableSchemaCollection GetTables ()
- {
- TableSchemaCollection tables = new TableSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- // Second Connection - MySql Connector doesn't allow more than 1 datareader by connection.
- IPooledDbConnection conn2 = connectionPool.Request ();
- using (IDbCommand command = conn.CreateCommand ("SHOW TABLES;")) {
- try {
- if (GetMainVersion (command) >= 5) {
- //in mysql 5.x we can use an sql query to provide the comment
- command.CommandText = string.Format(
- @"SELECT
- TABLE_NAME,
- TABLE_SCHEMA,
- TABLE_TYPE,
- TABLE_COMMENT
- FROM `information_schema`.`TABLES`
- WHERE
- TABLE_TYPE='BASE TABLE'
- AND TABLE_SCHEMA='{0}'
- ORDER BY TABLE_NAME;", command.Connection.Database);
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- TableSchema table = new TableSchema (this);
- table.Name = r.GetString (0);
- table.SchemaName = r.GetString (1);
- table.Comment = r.IsDBNull (3) ? null : r.GetString (3);
-
- using (IDbCommand command2 = conn2.CreateCommand (
- string.Concat("SHOW CREATE TABLE `",
- table.Name, "`;"))) {
- using (IDataReader r2 = command2.ExecuteReader()) {
- r2.Read ();
- table.Definition = r2.GetString (1);
- }
- }
- tables.Add (table);
- }
- r.Close ();
- }
- } else {
- //use the default command for mysql 4.x and 3.23
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- TableSchema table = new TableSchema (this);
-
- table.Name = r.GetString (0);
- table.SchemaName = command.Connection.Database;
-
- using (IDbCommand command2 = conn2.CreateCommand (string.Concat(
- "SHOW CREATE TABLE `",
- table.Name,"`;"))) {
- using (IDataReader r2 = command2.ExecuteReader()) {
- r2.Read ();
- table.Definition = r2.GetString (1);
- }
- }
- tables.Add (table);
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- conn2.Release ();
- }
- }
- }
- return tables;
- }
-
- public override ColumnSchemaCollection GetTableColumns (TableSchema table)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (String.Format ("DESCRIBE {0}", table.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this, table);
-
- column.Name = r.GetString (0);
- column.DataTypeName = r.GetString (1);
- column.IsNullable = String.Compare (r.GetString (2), "YES", true) == 0;
- column.DefaultValue = r.IsDBNull (4) ? null : r.GetString (4);
- //TODO: if r.GetString (5) constains "auto_increment" ?
- column.OwnerName = table.Name;
- columns.Add (column);
- }
- r.Close ();
- }
- } catch (Exception e) {
- // Don't raise error, if the table doesn't exists return an empty collection
- } finally {
- conn.Release ();
- }
- }
- }
- return columns;
- }
-
- // see: http://dev.mysql.com/doc/refman/5.1/en/views-table.html
- public override ViewSchemaCollection GetViews ()
- {
- ViewSchemaCollection views = new ViewSchemaCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format (
- @"SELECT
- TABLE_NAME,
- TABLE_SCHEMA
- FROM information_schema.VIEWS
- where TABLE_SCHEMA = '{0}'
- ORDER BY TABLE_NAME",
- ConnectionPool.ConnectionContext.ConnectionSettings.Database))){
-
- try {
- // Views are supported in mysql since version 5.
- if (GetMainVersion (command) >= 5) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ViewSchema view = new ViewSchema (this);
-
- view.Name = r.GetString (0);
- view.OwnerName = r.GetString (1);
-
- using (IPooledDbConnection conn2 = connectionPool.Request ()) {
- using (IDbCommand command2 = conn2.CreateCommand (string.Concat(
- "SHOW CREATE TABLE `",
- view.Name, "`;"))) {
- using (IDataReader r2 = command2.ExecuteReader()) {
- r2.Read ();
- view.Definition = r2.GetString (1);
- }
- }
- conn2.Release ();
- }
- views.Add (view);
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return views;
- }
-
- public override ColumnSchemaCollection GetViewColumns (ViewSchema view)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (String.Format ("DESCRIBE {0}", view.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this, view);
-
- column.Name = r.GetString (0);
- column.DataTypeName = r.GetString (1);
- column.IsNullable = r.IsDBNull (2);
- column.DefaultValue = r.GetString (4);
- column.Comment = r.GetString (5);
- column.OwnerName = view.Name;
- columns.Add (column);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return columns;
- }
-
- // see: http://dev.mysql.com/doc/refman/5.1/en/routines-table.html
- public override ProcedureSchemaCollection GetProcedures ()
- {
- ProcedureSchemaCollection procedures = new ProcedureSchemaCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- IPooledDbConnection conn2 = connectionPool.Request ();
- IDbCommand command = conn.CreateCommand (string.Concat (
- @"SELECT
- ROUTINE_NAME,
- ROUTINE_SCHEMA,
- ROUTINE_TYPE
- FROM information_schema.ROUTINES
- WHERE ROUTINE_SCHEMA ='",
- ConnectionPool.ConnectionContext.ConnectionSettings.Database,
- "' ORDER BY ROUTINE_NAME"));
-
- try {
- using (command) {
- if (GetMainVersion (command) >= 5) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ProcedureSchema procedure = new ProcedureSchema (this);
- procedure.Name = r.GetString (0);
- procedure.OwnerName = r.GetString (1);
- procedure.IsSystemProcedure = (r.GetString (2).IndexOf ("system", StringComparison.OrdinalIgnoreCase) > -1);
- procedure.IsFunction = (r.GetString (2).IndexOf ("function", StringComparison.OrdinalIgnoreCase) > -1);
-
- IDbCommand command2;
- if (!procedure.IsFunction)
- command2 = conn2.CreateCommand (string.Concat ("SHOW CREATE PROCEDURE `",
- procedure.Name, "`;"));
- else
- command2 = conn2.CreateCommand (string.Concat("SHOW CREATE FUNCTION `",
- procedure.Name , "`;"));
- using (IDataReader r2 = command2.ExecuteReader())
- if (r2.Read ())
- procedure.Definition = r2.GetString (2);
- procedures.Add (procedure);
- }
- r.Close ();
- }
- } //else: do nothing, since procedures are only supported since mysql 5.x
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- if (conn2 != null)
- conn2.Release ();
- }
- }
- return procedures;
- }
-
- public override ParameterSchemaCollection GetProcedureParameters (ProcedureSchema procedure)
- {
- ParameterSchemaCollection parameters = new ParameterSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Concat (
- "SELECT param_list FROM mysql.proc where name = '",
- procedure.Name, "'"))) {
- try {
- if (GetMainVersion (command) >= 5) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- if (r.IsDBNull (0))
- continue;
-
- string[] field = Encoding.ASCII.GetString (
- (byte[])r.GetValue (0)).Split (
- new char[] { ',' },
- StringSplitOptions.RemoveEmptyEntries);
- foreach (string chunk in field) {
- ParameterSchema param = new ParameterSchema (this);
- param.Definition = chunk;
-
- string[] tmp = chunk.TrimStart (new char[] { ' ' }).Split (new char[] { ' ' });
- int nameIndex = 0;
- if (String.Compare (tmp[0], "OUT", true) == 0) {
- nameIndex = 1;
- param.ParameterType = ParameterType.Out;
- } else if (String.Compare (tmp[0], "INOUT", true) == 0) {
- nameIndex = 1;
- param.ParameterType = ParameterType.InOut;
- } else {
- param.ParameterType = ParameterType.In;
- }
- param.Name = tmp[nameIndex];
- param.OwnerName = procedure.Name;
- param.DataTypeName = tmp[nameIndex + 1];
- parameters.Add (param);
- }
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return parameters;
- }
-
- public override ConstraintSchemaCollection GetTableConstraints (TableSchema table)
- {
- ConstraintSchemaCollection constraints = new ConstraintSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Concat ("SHOW TABLE STATUS FROM `",
- table.SchemaName, "`;"))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- string[] chunks = ((string)r["Comment"]).Split (';');
- // the values we are looking for are in the format:
- // (`table`) REFER `database\table2` (`table2`)
- foreach (string chunk in chunks) {
- if (constraintRegex.IsMatch (chunk)) {
- MatchCollection matches = constraintRegex.Matches (chunk);
- ForeignKeyConstraintSchema constraint = new ForeignKeyConstraintSchema (this);
- constraint.ReferenceTableName = matches[1].Groups[1].ToString ();
- constraint.Name = matches[0].Groups[1].ToString ();
- constraints.Add (constraint);
- }
- }
- }
- r.Close ();
- }
- } catch (Exception e) {
- // Don't raise error, if the table doesn't exists return an empty collection
- } finally {
- conn.Release ();
- }
- }
- }
- return constraints;
- }
-
- public override ConstraintSchemaCollection GetColumnConstraints (TableSchema table, ColumnSchema column)
- {
- ConstraintSchemaCollection constraints = new ConstraintSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (String.Format ("DESCRIBE {0}", table.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- if (r.IsDBNull (3) || String.Compare (r.GetString (0), column.Name, true) != 0)
- continue;
-
- string key = r.GetString (3).ToUpper ();
-
- ConstraintSchema constraint = null;
- if (key.Contains ("PRI"))
- constraint = CreatePrimaryKeyConstraintSchema ("pk_" + column.Name);
- else if (key.Contains ("UNI"))
- constraint = CreateUniqueConstraintSchema ("uni_" + column.Name);
- else
- continue;
- constraint.IsColumnConstraint = true;
- constraint.OwnerName = r.GetString (0);
- constraints.Add (constraint);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
-
-
- return constraints;
- }
-
- public override UserSchemaCollection GetUsers ()
- {
- UserSchemaCollection users = new UserSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (@"SELECT DISTINCT user
- from mysql.user where user != '';")) {
- try {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- UserSchema user = new UserSchema (this);
- user.Name = r.GetString (0);
- users.Add (user);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return users;
- }
-
- // see:
- // http://www.htmlite.com/mysql003.php
- // http://kimbriggs.com/computers/computer-notes/mysql-notes/mysql-data-types.file
- // http://dev.mysql.com/doc/refman/5.1/en/data-type-overview.html
- public override DataTypeSchema GetDataType (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- string type = null;
- int length = 0;
- int scale = 0;
- ParseType (name, out type, out length, out scale);
-
- DataTypeSchema dts = new DataTypeSchema (this);
- dts.Name = type;
- switch (type.ToLower ()) {
- case "tinyint":
- case "smallint":
- case "mediumint":
- case "int":
- case "integer":
- case "bigint":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "bit":
- dts.LengthRange = new Range (length); //in bits
- dts.DataTypeCategory = DataTypeCategory.Bit;
- break;
- case "bool":
- case "boolean":
- dts.LengthRange = new Range (1); //in bits
- dts.DataTypeCategory = DataTypeCategory.Boolean;
- break;
- case "float":
- case "double":
- case "double precision":
- case "decimal":
- case "dec":
- dts.LengthRange = new Range (length);
- dts.ScaleRange = new Range (scale);
- dts.DataTypeCategory = DataTypeCategory.Boolean;
- break;
- case "date":
- dts.DataTypeCategory = DataTypeCategory.Date;
- break;
- case "datetime":
- dts.DataTypeCategory = DataTypeCategory.DateTime;
- break;
- case "timestamp":
- dts.DataTypeCategory = DataTypeCategory.TimeStamp;
- break;
- case "time":
- dts.DataTypeCategory = DataTypeCategory.Time;
- break;
- case "year":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "binary":
- case "char byte":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Binary;
- break;
- case "varbinary":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.VarBinary;
- break;
- case "tinyblob":
- case "mediumblob":
- case "longblob":
- case "blob":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Binary;
- break;
- case "tinytext":
- case "mediumtext":
- case "longtext":
- case "text":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.NChar;
- break;
- case "national char":
- case "nchar":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.NChar;
- break;
- case "national varchar":
- case "nvarchar":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.NVarChar;
- break;
- case "varchar":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.VarChar;
- break;
- case "char":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Char;
- break;
- case "set":
- case "enum":
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- default:
- dts = null;
- break;
- }
-
- return dts;
- }
-
- //http://dev.mysql.com/doc/refman/5.0/en/charset-mysql.html
- public MySqlCharacterSetSchemaCollection GetCharacterSets ()
- {
- MySqlCharacterSetSchemaCollection characterSets = new MySqlCharacterSetSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand ("SHOW CHARACTER SET;")) {
- try {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- MySqlCharacterSetSchema charset = new MySqlCharacterSetSchema (this);
- charset.Name = r.GetString (0);
- charset.Comment = r.GetString (1);
- charset.DefaultCollactionName = r.GetString (2);
- charset.MaxLength = r.GetInt32 (3);
- characterSets.Add (charset);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return characterSets;
- }
-
- public MySqlCollationSchemaCollection GetCollations ()
- {
- MySqlCharacterSetSchema sch = new MySqlCharacterSetSchema (this);
- sch.Name = "";
- return GetCollations (sch);
- }
-
- public MySqlCollationSchemaCollection GetCollations (MySqlCharacterSetSchema characterSet)
- {
- MySqlCollationSchemaCollection collations = new MySqlCollationSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (String.Format ("SHOW COLLATION LIKE '{0}%';",
- characterSet.Name))) {
-
- try {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- MySqlCollationSchema collation = new MySqlCollationSchema (this);
- collation.Name = r.GetString (0);
- collation.CharacterSetName = r.GetString (1);
- collation.Id = r.GetInt32 (2);
- collation.IsDefaultCollation = r.GetString (3) == "Yes" ? true : false;
- collation.IsCompiled = r.GetString (4) == "Yes" ? true : false;
- collation.SortLength = r.GetInt32 (5);
- collations.Add (collation);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return collations;
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-database.html
- public override void CreateDatabase (DatabaseSchema database)
- {
- MySqlDatabaseSchema schema = (MySqlDatabaseSchema)database;
- StringBuilder sql = new StringBuilder ();
- sql.AppendFormat ("CREATE DATABASE {0} ", schema.Name);
- if (schema.CharacterSetName != string.Empty)
- sql.AppendFormat ("CHARACTER SET {0} ", schema.CharacterSetName);
- if (schema.CollationName != string.Empty)
- sql.AppendFormat ("COLLATE {0}", schema.CollationName);
- ExecuteNonQuery (sql.ToString ());
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-table.html
- public override string GetTableCreateStatement (TableSchema table)
- {
- StringBuilder sb = new StringBuilder ();
- sb.Append ("CREATE TABLE ");
- sb.Append (table.Name);
- sb.Append (" (");
- bool first = true;
- foreach (ColumnSchema column in table.Columns) {
- if (first)
- first = false;
- else
- sb.Append ("," + Environment.NewLine);
-
- sb.Append (column.Name);
- sb.Append (' ');
- sb.Append (column.DataType.GetCreateString (column));
-
- if (!column.IsNullable)
- sb.Append (" NOT NULL");
- if (column.HasDefaultValue) {
- sb.Append (" DEFAULT ");
- if (column.DefaultValue == null)
- sb.Append ("NULL");
- else
- sb.Append (column.DefaultValue);
- }
- //TODO: AUTO_INCREMENT
- if (column.Comment != null) {
- sb.Append (" COMMENT '");
- sb.Append (column.Comment);
- sb.Append ("'");
- }
- }
- //TODO: table comment
-
- foreach (ConstraintSchema constraint in table.Constraints) {
- sb.Append ("," + Environment.NewLine);
- sb.Append (GetConstraintString (constraint));
- }
-
- sb.Append (")");
-
- if (table.TableSpaceName != null) {
- sb.Append (", TABLESPACE ");
- sb.Append (table.TableSpaceName);
- sb.Append (" STORAGE DISK");
- }
-
- sb.Append (";");
-
- foreach (TriggerSchema trigger in table.Triggers) {
- sb.Append (Environment.NewLine);
- sb.Append (GetTriggerCreateStatement (trigger));
- }
-
- return sb.ToString ();
- }
-
- protected virtual string GetConstraintString (ConstraintSchema constraint)
- {
- if (constraint.ConstraintType == ConstraintType.Check)
- return String.Format ("CHECK ({0})", (constraint as CheckConstraintSchema).Source);
-
- StringBuilder sb = new StringBuilder ();
- sb.Append ("CONSTRAINT ");
- sb.Append (constraint.Name);
- sb.Append (' ');
-
- switch (constraint.ConstraintType) {
- case ConstraintType.PrimaryKey:
- sb.Append ("PRIMARY KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- break;
- case ConstraintType.Unique:
- sb.Append ("UNIQUE KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- break;
- case ConstraintType.ForeignKey:
- sb.Append ("FOREIGN KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- sb.Append (" REFERENCES ");
-
- ForeignKeyConstraintSchema fk = constraint as ForeignKeyConstraintSchema;
- sb.Append (fk.ReferenceTableName);
- sb.Append (' ');
- if (fk.ReferenceColumns != null)
- sb.Append (GetColumnsString (fk.ReferenceColumns, true));
- sb.Append (Environment.NewLine);
- sb.Append (" ON DELETE ");
- sb.Append (GetConstraintActionString (fk.DeleteAction));
- sb.Append (Environment.NewLine);
- sb.Append (" ON UPDATE ");
- sb.Append (GetConstraintActionString (fk.UpdateAction));
- break;
- default:
- throw new NotImplementedException ();
- }
-
- return sb.ToString ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-view.html
- public override void CreateView (ViewSchema view)
- {
- ExecuteNonQuery (view.Definition);
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-procedure.html
- public override void CreateProcedure (ProcedureSchema procedure)
- {
- ExecuteNonQuery (procedure.Definition);
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-index.html
- public override void CreateIndex (IndexSchema index)
- {
- throw new NotImplementedException ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-trigger.html
- public override void CreateTrigger (TriggerSchema trigger)
- {
- string sql = GetTriggerCreateStatement (trigger);
- ExecuteNonQuery (sql);
- }
-
- protected virtual string GetTriggerCreateStatement (TriggerSchema trigger)
- {
- StringBuilder sb = new StringBuilder ();
- sb.Append (Environment.NewLine);
- sb.Append ("CREATE TRIGGER ");
- sb.Append (trigger.Name);
- if (trigger.TriggerType == TriggerType.Before)
- sb.Append (" BEFORE ");
- else
- sb.Append (" AFTER ");
-
- switch (trigger.TriggerEvent) {
- case TriggerEvent.Delete:
- sb.Append ("DELETE");
- break;
- case TriggerEvent.Insert:
- sb.Append ("INSERT");
- break;
- case TriggerEvent.Update:
- sb.Append ("UPDATE");
- break;
- default:
- throw new NotImplementedException ();
- }
-
- sb.Append (" ON ");
- sb.Append (trigger.TableName);
- sb.Append (Environment.NewLine);
- sb.Append ("FOR EACH ROW ");
- sb.Append (Environment.NewLine);
- sb.Append ("BEGIN");
- sb.Append (Environment.NewLine);
- sb.Append (trigger.Source);
- sb.Append (Environment.NewLine);
- sb.Append ("END");
- sb.Append (Environment.NewLine);
-
- return sb.ToString ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/create-user.html
- public override void CreateUser (UserSchema user)
- {
- throw new NotImplementedException ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/alter-database.html
- public override void AlterDatabase (DatabaseAlterSchema database)
- {
- throw new NotImplementedException ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/alter-table.html
- public override void AlterTable (TableAlterSchema table)
- {
- throw new NotImplementedException ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/alter-view.html
- public override void AlterView (ViewAlterSchema view)
- {
- throw new NotImplementedException ();
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/alter-procedure.html
- public override void AlterProcedure (ProcedureAlterSchema procedure)
- {
- ExecuteNonQuery (procedure.NewSchema.Definition);
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-database.html
- public override void DropDatabase (DatabaseSchema database)
- {
- ExecuteNonQuery (string.Concat("DROP DATABASE IF EXISTS ", database.Name, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-table.html
- public override void DropTable (TableSchema table)
- {
- ExecuteNonQuery (string.Concat("DROP TABLE IF EXISTS ", table.Name, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-view.html
- public override void DropView (ViewSchema view)
- {
- ExecuteNonQuery (string.Concat("DROP VIEW IF EXISTS ", view.Name, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-procedure.html
- public override void DropProcedure (ProcedureSchema procedure)
- {
- ExecuteNonQuery (string.Concat("DROP PROCEDURE IF EXISTS ", procedure.Name, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-index.html
- public override void DropIndex (IndexSchema index)
- {
- ExecuteNonQuery (string.Concat("DROP INDEX ", index.Name, " ON ", index.TableName, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-trigger.html
- public override void DropTrigger (TriggerSchema trigger)
- {
- ExecuteNonQuery (string.Concat("DROP TRIGGER IF EXISTS ", trigger.Name, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/drop-user.html
- public override void DropUser (UserSchema user)
- {
- ExecuteNonQuery (string.Concat("DROP USER ", user.Name, ";"));
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/rename-database.html
- public override void RenameDatabase (DatabaseSchema database, string name)
- {
- ExecuteNonQuery (string.Concat("RENAME DATABASE ", database.Name, " TO ", name, ";"));
- connectionPool.ConnectionContext.ConnectionSettings.Database = name;
- database.Name = name;
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/rename-table.html
- public override void RenameTable (TableSchema table, string name)
- {
- ExecuteNonQuery (string.Concat("RENAME TABLE ", table.Name, " TO ", name, ";"));
- table.Name = name;
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/rename-table.html
- public override void RenameView (ViewSchema view, string name)
- {
- ExecuteNonQuery (string.Concat("RENAME TABLE ", view.Name, " TO ", name, ";"));
- view.Name = name;
- }
-
- //http://dev.mysql.com/doc/refman/5.1/en/rename-user.html
- public override void RenameUser (UserSchema user, string name)
- {
- ExecuteNonQuery (string.Concat("RENAME USER ", user.Name, " TO ", name, ";"));
- user.Name = name;
- }
-
- public override DatabaseSchema CreateDatabaseSchema (string name)
- {
- MySqlDatabaseSchema schema = new MySqlDatabaseSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public override string GetProcedureAlterStatement (ProcedureSchema procedure)
- {
- if (!procedure.IsFunction)
- return String.Concat ("DROP PROCEDURE IF EXISTS ", procedure.Name, "; ", Environment.NewLine, procedure.Definition);
- else
- return procedure.Definition;
- }
-
- //TODO: remove this and use the Version provided by the connection pool
- private int GetMainVersion (IDbCommand command)
- {
- string str = (command.Connection as MySqlConnection).ServerVersion;
- int version = -1;
- if (int.TryParse (str.Substring (0, str.IndexOf (".")), out version))
- return version;
- return -1;
- }
-
- private void ParseType (string str, out string type, out int length, out int scale)
- {
- int parenOpen = str.IndexOf ('(');
- int parenClose = str.IndexOf (')');
- int commaPos = -1;
- if (parenOpen > 0)
- commaPos = str.IndexOf (',', parenOpen);
-
- if (parenOpen > 0) {
- type = str.Substring (0, parenOpen).Trim ();
-
- string lengthString = null;
- if (commaPos > 0) {
- lengthString = str.Substring (parenOpen + 1, commaPos - parenOpen - 1);
- string scaleString = str.Substring (commaPos + 1, parenClose - commaPos - 1).Trim ();
- int.TryParse (scaleString, out scale);
- } else {
- lengthString = str.Substring (parenOpen + 1, parenClose - parenOpen - 1);
- scale = 0;
- }
- int.TryParse (lengthString, out length);
- } else {
- type = str;
- length = 1;
- scale = 0;
- }
- }
-
- public override string GetMimeType ()
- {
- return "text/x-mysql";
- }
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSyntaxMode.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSyntaxMode.xml
deleted file mode 100644
index bb01d4493d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/MySqlSyntaxMode.xml
+++ /dev/null
@@ -1,534 +0,0 @@
-<!-- MySqlSyntaxMode.xml - MySql Syntaxis mode file
-
- Author:
- Luciano N. Callero <lnc19@hotmail.com>
-
- Copyright (c) 2009 Luciano N. Callero
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE. -->
-
-<SyntaxMode name = "MySql" mimeTypes="text/x-mysql" ignorecase="true">
-
- <EolSpan color = "Comment(Line)" rule="Comment" tagColor="comment.tag">-</EolSpan>
-
- <Span color = "Comment(Block)" rule="Comment" tagColor="comment.tag.block">
- <Begin>/*</Begin>
-
- <End>*/</End>
-
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>"</Begin>
- <End>"</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>'</Begin>
- <End>'</End>
- </Span>
-
- <Keywords color = "Keyword(Other)">
- <Word>ABS</Word>
- <Word>ACOS</Word>
- <Word>ADDDATE</Word>
- <Word>ADDTIME</Word>
- <Word>AES_DECRYPT</Word>
- <Word>AES_ENCRYPT</Word>
- <Word>ASCII</Word>
- <Word>ASIN</Word>
- <Word>ATAN2</Word>
- <Word>ATAN</Word>
- <Word>AVG</Word>
- <Word>BENCHMARK</Word>
- <Word>BIN</Word>
- <Word>BIT_AND</Word>
- <Word>BIT_COUNT</Word>
- <Word>BIT_LENGTH</Word>
- <Word>BIT_OR</Word>
- <Word>BIT_XOR</Word>
- <Word>CAST</Word>
- <Word>CEIL</Word>
- <Word>CEILING</Word>
- <Word>CHAR_LENGTH</Word>
- <Word>CHAR</Word>
- <Word>CHARACTER_LENGTH</Word>
- <Word>CHARSET</Word>
- <Word>COALESCE</Word>
- <Word>COERCIBILITY</Word>
- <Word>COLLATION</Word>
- <Word>COMPRESS</Word>
- <Word>CONCAT_WS</Word>
- <Word>CONCAT</Word>
- <Word>CONNECTION_ID</Word>
- <Word>CONV</Word>
- <Word>CONVERT_TZ</Word>
- <Word>Convert</Word>
- <Word>COS</Word>
- <Word>COT</Word>
- <Word>COUNT</Word>
- <Word>COUNT</Word>
- <Word>CRC32</Word>
- <Word>CURDATE</Word>
- <Word>CURRENT_DATE</Word>
- <Word>CURRENT_TIME</Word>
- <Word>CURRENT_TIMESTAMP</Word>
- <Word>CURRENT_USER</Word>
- <Word>CURTIME</Word>
- <Word>DATABASE</Word>
- <Word>DATE_ADD</Word>
- <Word>DATE_FORMAT</Word>
- <Word>DATE_SUB</Word>
- <Word>DATE</Word>
- <Word>DATEDIFF</Word>
- <Word>DAY</Word>
- <Word>DAYNAME</Word>
- <Word>DAYOFMONTH</Word>
- <Word>DAYOFWEEK</Word>
- <Word>DAYOFYEAR</Word>
- <Word>DECODE</Word>
- <Word>DEFAULT</Word>
- <Word>DEGREES</Word>
- <Word>DES_DECRYPT</Word>
- <Word>DES_ENCRYPT</Word>
- <Word>DIV</Word>
- <Word>ELT</Word>
- <Word>ENCODE</Word>
- <Word>ENCRYPT</Word>
- <Word>EXP</Word>
- <Word>EXPORT_SET</Word>
- <Word>EXTRACT </Word>
- <Word>ExtractValue</Word>
- <Word>FIELD</Word>
- <Word>FIND_IN_SET</Word>
- <Word>FLOOR</Word>
- <Word>FORMAT</Word>
- <Word>FOUND_ROWS</Word>
- <Word>FROM_DAYS</Word>
- <Word>FROM_UNIXTIME</Word>
- <Word>GET_FORMAT</Word>
- <Word>GET_LOCK</Word>
- <Word>GREATEST</Word>
- <Word>GROUP_CONCAT</Word>
- <Word>HEX</Word>
- <Word>HOUR</Word>
- <Word>IF</Word>
- <Word>IFNULL</Word>
- <Word>IN</Word>
- <Word>INET_ATON</Word>
- <Word>INET_NTOA</Word>
- <Word>INSERT</Word>
- <Word>INSTR</Word>
- <Word>INTERVAL</Word>
- <Word>IS_FREE_LOCK</Word>
- <Word>IS_USED_LOCK</Word>
- <Word>ISNULL</Word>
- <Word>LAST_DAY</Word>
- <Word>LAST_INSERT_ID</Word>
- <Word>LCASE</Word>
- <Word>LEAST</Word>
- <Word>LEFT</Word>
- <Word>LENGTH</Word>
- <Word>LN</Word>
- <Word>LOAD_FILE</Word>
- <Word>LOCALTIME</Word>
- <Word>LOCALTIMESTAMP</Word>
- <Word>LOCATE</Word>
- <Word>LOG10</Word>
- <Word>LOG2</Word>
- <Word>LOG</Word>
- <Word>LOWER</Word>
- <Word>LPAD</Word>
- <Word>LTRIM</Word>
- <Word>MAKE_SET</Word>
- <Word>MAKEDATE</Word>
- <Word>MAKETIME</Word>
- <Word>MASTER_POS_WAIT</Word>
- <Word>MD5</Word>
- <Word>MICROSECOND</Word>
- <Word>MID</Word>
- <Word>MINUTE</Word>
- <Word>MONTH</Word>
- <Word>MONTHNAME</Word>
- <Word>NAME_CONST</Word>
- <Word>NOW</Word>
- <Word>NULLIF</Word>
- <Word>oct</Word>
- <Word>OCTET_LENGTH</Word>
- <Word>OLD_PASSWORD</Word>
- <Word>ORD</Word>
- <Word>PASSWORD</Word>
- <Word>PERIOD_ADD</Word>
- <Word>PERIOD_DIFF</Word>
- <Word>PI</Word>
- <Word>POSITION</Word>
- <Word>POW</Word>
- <Word>POWER</Word>
- <Word>PROCEDURE ANALYSE</Word>
- <Word>QUARTER</Word>
- <Word>QUOTE</Word>
- <Word>RADIANS</Word>
- <Word>RAND</Word>
- <Word>RELEASE_LOCK</Word>
- <Word>REPLACE</Word>
- <Word>REVERSE</Word>
- <Word>RIGHT(</Word>
- <Word>SHA</Word>
- <Word>ROUND</Word>
- <Word>ROW_COUNT</Word>
- <Word>RPAD</Word>
- <Word>RTRIM</Word>
- <Word>SCHEMA</Word>
- <Word>SEC_TO_TIME</Word>
- <Word>SECOND</Word>
- <Word>SESSION_USER</Word>
- <Word>SHA1</Word>
- <Word>SIGN</Word>
- <Word>SIN</Word>
- <Word>SLEEP</Word>
- <Word>SOUNDEX</Word>
- <Word>SPACE</Word>
- <Word>SQRT</Word>
- <Word>STD</Word>
- <Word>STDDEV_POP</Word>
- <Word>STDDEV_SAMP</Word>
- <Word>STDDEV</Word>
- <Word>STR_TO_DATE</Word>
- <Word>STRCMP</Word>
- <Word>SUBDATE</Word>
- <Word>SUBSTR</Word>
- <Word>SUBSTRING_INDEX</Word>
- <Word>SUBSTRING</Word>
- <Word>SUBTIME</Word>
- <Word>SYSDATE</Word>
- <Word>SYSTEM_USER</Word>
- <Word>TAN</Word>
- <Word>TIME_FORMAT</Word>
- <Word>TIME_TO_SEC</Word>
- <Word>TIME</Word>
- <Word>TIMEDIFF</Word>
- <Word>TIMESTAMP</Word>
- <Word>TIMESTAMPADD</Word>
- <Word>TIMESTAMPDIFF</Word>
- <Word>TO_DAYS</Word>
- <Word>TRIM</Word>
- <Word>TRUNCATE</Word>
- <Word>UCASE</Word>
- <Word>UNCOMPRESS</Word>
- <Word>UNCOMPRESSED_LENGTH</Word>
- <Word>UNHEX</Word>
- <Word>UNIX_TIMESTAMP</Word>
- <Word>UpdateXML</Word>
- <Word>UPPER</Word>
- <Word>USER</Word>
- <Word>UTC_DATE</Word>
- <Word>UTC_TIME</Word>
- <Word>UTC_TIMESTAMP</Word>
- <Word>UUID_SHORT</Word>
- <Word>UUID</Word>
- <Word>VALUES</Word>
- <Word>VAR_POP</Word>
- <Word>VAR_SAMP</Word>
- <Word>VARIANCE</Word>
- <Word>VERSION</Word>
- <Word>WEEK</Word>
- <Word>WEEKDAY</Word>
- <Word>WEEKOFYEAR</Word>
- <Word>YEAR</Word>
- <Word>YEARWEEK</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Operator)">
- <Word>BEGIN</Word>
- <Word>END</Word>
- <Word>AND</Word>
-
- <Word>&amp;&amp;</Word>
-
- <Word>BETWEEN</Word>
- <Word>Binary</Word>
- <Word>&amp;</Word>
- <Word>~</Word>
- <Word>|</Word>
- <Word>^</Word>
- <Word>CASE</Word>
- <Word>WHEN</Word>
- <Word>DIV</Word>
- <Word>/</Word>
- <Word>&lt;=&gt;</Word>
- <Word>=</Word>
- <Word>&gt;=</Word>
- <Word>&gt;</Word>
- <Word>IS NOT NULL</Word>
- <Word>IS NOT</Word>
- <Word>IS NULL</Word>
- <Word>IS</Word>
- <Word>&lt;&lt;</Word>
- <Word>&lt;=</Word>
- <Word>&lt;</Word>
- <Word>LIKE</Word>
- <Word>-</Word>
- <Word>%</Word>
- <Word>NOT BETWEEN</Word>
- <Word>!=</Word>
- <Word>&lt;&gt;</Word>
- <Word>NOT LIKE</Word>
- <Word>NOT REGEXP</Word>
- <Word>NOT</Word>
- <Word>!</Word>
- <Word>OR</Word>
- <Word>||</Word>
- <Word>+</Word>
- <Word>&gt;&gt;</Word>
- <Word>RLIKE</Word>
- <Word>SOUNDS</Word>
- <Word>*</Word>
- <Word>XOR</Word>
- <Word>(</Word>
- <Word>)</Word>
- <Word>SET</Word>
- <Word>MATCH</Word>
- <Word>MOD</Word>
- <Word>IN</Word>
- <Word>AS</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Declaration)">
- <Word>CREATE</Word>
- <Word>DATABASE</Word>
- <Word>SCHEMA</Word>
- <Word>IF NOT EXISTS</Word>
- <Word>CHARACTER</Word>
- <Word>COLLATION</Word>
- <Word>DROP</Word>
- <Word>IF EXISTS</Word>
- <Word>FUNCTION</Word>
- <Word>ALTER</Word>
- <Word>PROCEDURE</Word>
- <Word>ALTER</Word>
- <Word>VIEW</Word>
- <Word>TABLE</Word>
- <Word>TRIGGER</Word>
- <Word>TEMPORARY</Word>
- <Word>CONSTRAINT</Word>
- <Word>PRIMARY</Word>
- <Word>KEY</Word>
- <Word>INDEX</Word>
- <Word>UNIQUE</Word>
- <Word>FULLTEXT</Word>
- <Word>SPATIAL</Word>
- <Word>FOREIGN</Word>
- <Word>CHECK</Word>
- <Word>AUTO_INCREMENT</Word>
- <Word>COMMENT</Word>
- <Word>COLUMN_FORMAT</Word>
- <Word>FIXED</Word>
- <Word>DYNAMIC</Word>
- <Word>DEFAULT</Word>
- <Word>COLUMN_FORMAT</Word>
- <Word>COLUMN_FORMAT</Word>
- <Word>DISK</Word>
- <Word>MEMORY</Word>
- <Word>STORAGE</Word>
- <Word>USING</Word>
- <Word>REFERENCES</Word>
- <Word>FULL</Word>
- <Word>PARTIAL</Word>
- <Word>SIMPLE</Word>
- <Word>MATCH</Word>
- <Word>DELETE</Word>
- <Word>UPDATE</Word>
- <Word>RESTRICT</Word>
- <Word>CASCADE</Word>
- <Word>NULL</Word>
- <Word>ACTION</Word>
- <Word>ENGINE</Word>
- <Word>AVG_ROW_LENGTH</Word>
- <Word>CHECKSUM</Word>
- <Word>DATA</Word>
- <Word>DIRECTORY</Word>
- <Word>DELAY_KEY_WRITE</Word>
- <Word>INDEX DIRECTORY</Word>
- <Word>MAX_ROWS</Word>
- <Word>MIN_ROWS</Word>
- <Word>PACK_KEYS</Word>
- <Word>PASSWORD</Word>
- <Word>ADD</Word>
- <Word>COLUMN</Word>
- <Word>AFTER</Word>
- <Word>INDEX</Word>
- <Word>FULLTEXT</Word>
- <Word>DISABLE</Word>
- <Word>KEYS</Word>
- <Word>RENAME</Word>
- <Word>ENABLE</Word>
-
- </Keywords>
-
- <Keywords color = "Keyword(Parameter)">
- <Word>DECLARE</Word>
- <Word>IN</Word>
- <Word>OUT</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Selection)">
- <Word>SELECT</Word>
-
- <Word>FROM</Word>
-
- <Word>WHERE</Word>
-
- <Word>INNER</Word>
-
- <Word>LEFT</Word>
- <Word>RIGHT</Word>
- <Word>CROSS</Word>
- <Word>JOIN</Word>
- <Word>UNION</Word>
- <Word>ALL</Word>
- <Word>LIMIT</Word>
- <Word>USE</Word>
- <Word>MAX</Word>
- <Word>COUNT</Word>
- <Word>MIN</Word>
- <Word>SUM</Word>
- <Word>ASC</Word>
- <Word>DESC</Word>
- <Word>DUMPFILE</Word>
- <Word>INTO</Word>
- <Word>OUTFILE</Word>
- <Word>FIELDS</Word>
- <Word>TERMINATED</Word>
- <Word>LINES</Word>
- <Word>EXPLAIN</Word>
- <Word>ANALYZE</Word>
- <Word>SHOW</Word>
- <Word>TABLES</Word>
- <Word>DATABASES</Word>
- <Word>PROCEDURES</Word>
- <Word>DESCRIBE</Word>
- <Word>DELETE</Word>
- <Word>UPDATE</Word>
- <Word>EXISTS</Word>
- <Word>INSERT</Word>
- <Word>INTO</Word>
- <Word>START</Word>
- <Word>COMMIT</Word>
- <Word>ROLLBACK</Word>
- <Word>TRANSACTION</Word>
- <Word>UNCOMMITTED</Word>
- <Word>COMMITTED</Word>
- <Word>READ</Word>
- <Word>REPEATABLE</Word>
- <Word>SERIALIZABLE</Word>
- <Word>ORDER</Word>
- <Word>By</Word>
- <Word>Group</Word>
- <Word>Having</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Iteration)">
- <Word>HANDLER</Word>
- <Word>CALL</Word>
- <Word>DO</Word>
-
- <Word>WHILE</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Jump)">
- <Word>BREAK</Word>
-
- <Word>RETURN</Word>
- <Word>RETURNS</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Context)">
- </Keywords>
-
- <Keywords color = "Keyword(Exception)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Constants)">
-
- <Word>TRUE</Word>
-
- <Word>FALSE</Word>
- <Word>NULL</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Modifiers)">
- <Word>DEFAULT</Word>
- </Keywords>
-
-
- <Keywords ignorecase="true" color = "Keyword(Type)">
- <Word>TinyInt</Word>
- <Word>SmallInt</Word>
- <Word>MediumInt</Word>
- <Word>Int</Word>
- <Word>BigInt</Word>
- <Word>Float</Word>
- <Word>Double</Word>
- <Word>Real</Word>
- <Word>Decimal</Word>
- <Word>Numeric</Word>
- <Word>Bit</Word>
- <Word>Unsigned</Word>
- <Word>DateTime</Word>
- <Word>Date</Word>
- <Word>Time</Word>
- <Word>TimeStamp</Word>
- <Word>Year</Word>
- <Word>Char</Word>
- <Word>VarChar</Word>
- <Word>Binary</Word>
- <Word>VarBinary</Word>
- <Word>Blob</Word>
- <Word>TinyBlob</Word>
- <Word>MediumBlob</Word>
- <Word>LongBlob</Word>
- <Word>Text</Word>
- <Word>TinyText</Word>
- <Word>MediumText</Word>
- <Word>LongText</Word>
- <Word>Enum</Word>
- <Word>Set</Word>
- </Keywords>
-
- <Rule name = "text.preprocessor">
-
- </Rule>
-
- <Rule name = "Comment">
- <Keywords color="Comment Tag" ignorecase="True">
- <Word>TODO</Word>
-
- <Word>FIXME</Word>
-
- <Word>HACK</Word>
-
- <Word>UNDONE</Word>
-
- </Keywords>
-
- </Rule>
-
- <Rule name = "String">
- </Rule>
-</SyntaxMode>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCharacterSetSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCharacterSetSchema.cs
deleted file mode 100644
index b1f0b1ddcc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCharacterSetSchema.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlCharacterSetSchema : AbstractSchema
- {
- protected string defaultCollactionName;
- protected int maxLength;
-
- public MySqlCharacterSetSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public MySqlCharacterSetSchema (MySqlCharacterSetSchema schema)
- : base (schema)
- {
- defaultCollactionName = schema.defaultCollactionName;
- defaultCollactionName = schema.defaultCollactionName;
- }
-
- public int MaxLength {
- get { return maxLength; }
- set {
- if (maxLength != value) {
- maxLength = value;
- OnChanged ();
- }
- }
- }
-
- public string DefaultCollactionName {
- get { return defaultCollactionName; }
- set {
- if (defaultCollactionName != value) {
- defaultCollactionName = value;
- OnChanged ();
- }
- }
- }
-
- public override object Clone ()
- {
- return new MySqlCharacterSetSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCollationSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCollationSchema.cs
deleted file mode 100644
index b2c1d362c4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlCollationSchema.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlCollationSchema : AbstractSchema
- {
- protected int id;
- protected bool isDefaultCollation;
- protected bool isCompiled;
- protected int sortLength;
-
- protected string characterSetName;
-
- public MySqlCollationSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public MySqlCollationSchema (MySqlCollationSchema schema)
- : base (schema)
- {
- id = schema.id;
- isDefaultCollation = schema.isDefaultCollation;
- isCompiled = schema.isCompiled;
- sortLength = schema.sortLength;
- }
-
- public int Id {
- get { return id; }
- set {
- if (id != value) {
- id = value;
- OnChanged ();
- }
- }
- }
-
- public bool IsDefaultCollation {
- get { return isDefaultCollation; }
- set {
- if (isDefaultCollation != value) {
- isDefaultCollation = value;
- OnChanged ();
- }
- }
- }
-
- public bool IsCompiled {
- get { return isCompiled; }
- set {
- if (isCompiled != value) {
- isCompiled = value;
- OnChanged ();
- }
- }
- }
-
- public int SortLength {
- get { return sortLength; }
- set {
- if (sortLength != value) {
- sortLength = value;
- OnChanged ();
- }
- }
- }
-
- public string CharacterSetName {
- get { return characterSetName; }
- set {
- if (characterSetName != value) {
- characterSetName = value;
- OnChanged ();
- }
- }
- }
-
- public override object Clone ()
- {
- return new MySqlCollationSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlDatabaseSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlDatabaseSchema.cs
deleted file mode 100644
index e880117c12..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Schema/MySqlDatabaseSchema.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- public class MySqlDatabaseSchema : DatabaseSchema
- {
- protected string characterSetName;
- protected string collationName;
-
- public MySqlDatabaseSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public MySqlDatabaseSchema (MySqlDatabaseSchema schema)
- : base (schema)
- {
- characterSetName = schema.characterSetName;
- collationName = schema.collationName;
- }
-
- public string CharacterSetName {
- get { return characterSetName; }
- set {
- if (characterSetName != value) {
- characterSetName = value;
- OnChanged ();
- }
- }
- }
-
- public string CollationName {
- get { return collationName; }
- set {
- if (collationName != value) {
- collationName = value;
- OnChanged ();
- }
- }
- }
-
- public MySqlCharacterSetSchema CharacterSet {
- get {
- throw new NotImplementedException (); //TODO: implement
- }
- }
-
- public MySqlCollationSchema Collation {
- get {
- throw new NotImplementedException (); //TODO: implement
- }
- }
-
- public override object Clone ()
- {
- return new MySqlDatabaseSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlColumnEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlColumnEditorWidget.cs
deleted file mode 100644
index 255562641d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlColumnEditorWidget.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-
-using System;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
-
-
- [System.ComponentModel.Category("MonoDevelop.Database.Sql.MySql")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class MySqlColumnEditorWidget : Gtk.Bin
- {
-
- public MySqlColumnEditorWidget()
- {
- this.Build();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlCreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlCreateDatabaseWidget.cs
deleted file mode 100644
index 02bfd07b59..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/Widgets/MySqlCreateDatabaseWidget.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Sql.MySql
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Sql.MySql")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class MySqlCreateDatabaseWidget : Bin
- {
- ListStore storeCollation = new ListStore (typeof(string), typeof(MySqlCollationSchema));
- ListStore storeCharset = new ListStore (typeof(string), typeof(MySqlCharacterSetSchema));
-
- public MySqlCreateDatabaseWidget ()
- {
- this.Build();
- comboCharset.Model = storeCharset;
- comboCollation.Model = storeCollation;
- }
-
- public void Initialize (MySqlSchemaProvider provider)
- {
- ClearCombos ();
- MySqlCharacterSetSchemaCollection charsets = provider.GetCharacterSets ();
- MySqlCollationSchemaCollection collations = provider.GetCollations ();
-
- foreach (MySqlCharacterSetSchema charset in charsets)
- storeCharset.AppendValues (charset.Name, charset);
-
- foreach (MySqlCollationSchema collation in collations)
- storeCollation.AppendValues (collation.Name, collation);
-
- }
-
- private void ClearCombos ()
- {
- storeCollation.Clear ();
- storeCharset.Clear ();
- }
-
- public void SetDatabaseOptions (MySqlDatabaseSchema schema)
- {
-
- TreeIter iterCharset;
- TreeIter iterCollation;
- if (comboCharset.GetActiveIter (out iterCharset) && comboCollation.GetActiveIter (out iterCollation))
- {
- schema.CharacterSetName = ((MySqlCharacterSetSchema)storeCharset.GetValue (iterCharset, 1)).Name;
- schema.CollationName = ((MySqlCollationSchema)storeCollation.GetValue (iterCollation, 1)).Name;
- schema.Comment = "";
-
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.cs
deleted file mode 100644
index 212843d50b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Sql.MySql
-{
- public partial class MySqlColumnEditorWidget
- {
- private global::Gtk.VBox vbox2;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget";
- // Container child MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget.Gtk.Container+ContainerChild
- this.vbox2 = new global::Gtk.VBox ();
- this.vbox2.Name = "vbox2";
- this.vbox2.Spacing = 6;
- this.Add (this.vbox2);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs
deleted file mode 100644
index fa6eba4c42..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Sql.MySql
-{
- public partial class MySqlCreateDatabaseWidget
- {
- private global::Gtk.Table table;
-
- private global::Gtk.ComboBoxEntry comboCharset;
-
- private global::Gtk.ComboBoxEntry comboCollation;
-
- private global::Gtk.Label label2;
-
- private global::Gtk.Label label3;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget";
- // Container child MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.Gtk.Container+ContainerChild
- this.table = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
- this.table.Name = "table";
- this.table.RowSpacing = ((uint)(6));
- this.table.ColumnSpacing = ((uint)(6));
- this.table.BorderWidth = ((uint)(6));
- // Container child table.Gtk.Table+TableChild
- this.comboCharset = global::Gtk.ComboBoxEntry.NewText ();
- this.comboCharset.Name = "comboCharset";
- this.table.Add (this.comboCharset);
- global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table[this.comboCharset]));
- w1.LeftAttach = ((uint)(1));
- w1.RightAttach = ((uint)(2));
- w1.XOptions = ((global::Gtk.AttachOptions)(4));
- w1.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.comboCollation = global::Gtk.ComboBoxEntry.NewText ();
- this.comboCollation.Name = "comboCollation";
- this.table.Add (this.comboCollation);
- global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table[this.comboCollation]));
- w2.TopAttach = ((uint)(1));
- w2.BottomAttach = ((uint)(2));
- w2.LeftAttach = ((uint)(1));
- w2.RightAttach = ((uint)(2));
- w2.XOptions = ((global::Gtk.AttachOptions)(4));
- w2.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label2 = new global::Gtk.Label ();
- this.label2.Name = "label2";
- this.label2.Xalign = 0f;
- this.label2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Character Set:");
- this.table.Add (this.label2);
- global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table[this.label2]));
- w3.XOptions = ((global::Gtk.AttachOptions)(4));
- w3.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label3 = new global::Gtk.Label ();
- this.label3.Name = "label3";
- this.label3.Xalign = 0f;
- this.label3.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Collation:");
- this.table.Add (this.label3);
- global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table[this.label3]));
- w4.TopAttach = ((uint)(1));
- w4.BottomAttach = ((uint)(2));
- w4.XOptions = ((global::Gtk.AttachOptions)(4));
- w4.YOptions = ((global::Gtk.AttachOptions)(4));
- this.Add (this.table);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/generated.cs
deleted file mode 100644
index aa96390c4a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/generated.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class BinContainer
- {
- private Gtk.Widget child;
-
- private Gtk.UIManager uimanager;
-
- public static BinContainer Attach (Gtk.Bin bin)
- {
- BinContainer bc = new BinContainer ();
- bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested);
- bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated);
- bin.Added += new Gtk.AddedHandler (bc.OnAdded);
- return bc;
- }
-
- private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
- {
- if ((this.child != null)) {
- args.Requisition = this.child.SizeRequest ();
- }
- }
-
- private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
- {
- if ((this.child != null)) {
- this.child.Allocation = args.Allocation;
- }
- }
-
- private void OnAdded (object sender, Gtk.AddedArgs args)
- {
- this.child = args.Widget;
- }
-
- public void SetUiManager (Gtk.UIManager uim)
- {
- this.uimanager = uim;
- this.child.Realized += new System.EventHandler (this.OnRealized);
- }
-
- private void OnRealized (object sender, System.EventArgs args)
- {
- if ((this.uimanager != null)) {
- Gtk.Widget w;
- w = this.child.Toplevel;
- if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) {
- ((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
- this.uimanager = null;
- }
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/gui.stetic
deleted file mode 100644
index 1b242bd479..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="MonoDevelop.Components, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Core.Gui, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="Mono.TextEditor, Version=1.0.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Projects.Gui, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Designer.dll" />
- <widget-library name="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Sql.MySql.dll" internal="true" />
- </import>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget" design-size="300 300">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.VBox" id="vbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget" design-size="300 76">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.Table" id="table">
- <property name="MemberName" />
- <property name="NRows">2</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboCharset">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboCollation">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label2">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Character Set:</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label3">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Collation:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
-</stetic-interface>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/objects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/objects.xml
deleted file mode 100644
index 55f93a7331..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql/gtk-gui/objects.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<objects attr-sync="on">
- <object type="MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget" palette-category="MonoDevelop.Database.Sql.MySql" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Sql.MySql.MySqlColumnEditorWidget" palette-category="MonoDevelop.Database.Sql.MySql" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
-</objects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs
deleted file mode 100644
index cba3353492..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.Npgsql.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("Npgsql provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs.in
deleted file mode 100644
index ad14e65528..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Sql.Npgsql")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlEncodingCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlEncodingCollection.cs
deleted file mode 100644
index 39b4c622f0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlEncodingCollection.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// NpgsqlEncodingCollection.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
- public class NpgsqlEncodingCollection:SortedCollectionBase <NpgsqlEncoding>
- {
-
- public NpgsqlEncodingCollection ():base(true)
- {
-
- }
-
- public NpgsqlEncodingCollection (NpgsqlEncodingCollection collection):base(collection, true)
- {
-
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlTablespaceCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlTablespaceCollection.cs
deleted file mode 100644
index 4d8690014d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Collections/NpgsqlTablespaceCollection.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// NpgsqlTablespaceCollection.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
- public class NpgsqlTablespaceCollection:SortedCollectionBase<NpgsqlTablespace>
- {
-
- public NpgsqlTablespaceCollection ():base(true)
- {
-
- }
-
- public NpgsqlTablespaceCollection (NpgsqlTablespaceCollection collection):base(collection, true)
- {
-
- }
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlCreateDatabaseDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlCreateDatabaseDialog.cs
deleted file mode 100644
index 4022a22ab1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlCreateDatabaseDialog.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-//
-// NpgsqlCreateDatabaseDialog.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using Gtk;
-using System;
-using System.Data;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Ide;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
- public class NpgsqlCreateDatabaseDialog:CreateDatabaseDialog
- {
- ConnectionSettingsWidget connectionWidget;
- NpgsqlCreateDatabaseWidget createDBWidget;
-
- public NpgsqlCreateDatabaseDialog (IDbFactory factory):base(factory)
- {
- createDBWidget = new NpgsqlCreateDatabaseWidget ();
- Notebook.AppendPage (createDBWidget,
- new Label (AddinCatalog.GetString ("Database Properties")));
- Notebook.ShowTabs = true;
- Gtk.Notebook nb = Notebook;
-
- nb.SwitchPage += delegate(object o, SwitchPageArgs args) {
- if (nb.CurrentPage == 1)
- if (!connectionWidget.ValidateFields ())
- {
- nb.CurrentPage = 0;
- MessageService.ShowError (this,
- AddinCatalog.GetString ("Set the connection properties before the database properties."));
- } else {
- Initialize (factory);
- if (DatabaseConnection.ConnectionPool.HasErrors) {
- MessageService.ShowError (DatabaseConnection.ConnectionPool.Error);
- nb.CurrentPage = 0;
- return;
- }
- createDBWidget.Initialize ((NpgsqlSchemaProvider)DatabaseConnection.SchemaProvider);
- }
- };
-
- Notebook.ShowAll ();
- }
-
- private void Initialize (IDbFactory factory)
- {
- if (DatabaseConnection != null)
- DatabaseConnection.ConnectionPool.Close ();
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings(connectionWidget.ConnectionSettings);
- settings.Database = "postgres";
- // Create Context, Pool, Connection
- DatabaseConnectionContext ctx = new DatabaseConnectionContext (settings, true);
- ctx.ConnectionPool.Initialize ();
- DatabaseConnection = ctx;
-
- }
-
- protected override ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory)
- {
- connectionWidget = new ConnectionSettingsWidget (factory);
- connectionWidget.ShowSettings (factory.GetDefaultConnectionSettings ());
- connectionWidget.EnableTestButton = false;
- return connectionWidget;
- }
-
- protected override void OnBeforeDatabaseCreation (DatabaseSchema schema)
- {
- createDBWidget.SetDatabaseOptions ((NpgsqlDatabaseSchema)schema);
- base.OnBeforeDatabaseCreation (schema);
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlTableEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlTableEditorDialog.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Dialogs/NpgsqlTableEditorDialog.cs
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Encoding.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Encoding.xml
deleted file mode 100644
index e8d35299c1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Encoding.xml
+++ /dev/null
@@ -1,296 +0,0 @@
-<Encodings>
- <Encoding Server="False">
- <Name>BIG5</Name>
- <Description>Big Five</Description>
- <Language>Traditional Chinese</Language>
- <BytesChar>1-2</BytesChar>
- <Aliases>WIN950, Windows950</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>EUC_CN</Name>
- <Description>Extended UNIX Code-CN</Description>
- <Language>Simplified Chinese</Language>
- <BytesChar>1-3</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>EUC_JP</Name>
- <Description>Extended UNIX Code-JP</Description>
- <Language>Japanese</Language>
- <BytesChar>1-3</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>EUC_JIS_2004</Name>
- <Description>Extended UNIX Code-JP, JIS X 0213</Description>
- <Language>Japanese</Language>
- <BytesChar>1-3</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>EUC_KR</Name>
- <Description>Extended UNIX Code-KR</Description>
- <Language>Korean</Language>
- <BytesChar>1-3</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>EUC_TW</Name>
- <Description>Extended UNIX Code-TW</Description>
- <Language>Traditional Chinese, Taiwanese</Language>
- <BytesChar>1-3</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="False">
- <Name>GB18030</Name>
- <Description>National Standard</Description>
- <Language>Chinese</Language>
- <BytesChar>1-2</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="False">
- <Name>GBK</Name>
- <Description>Extended National Standard</Description>
- <Language>Simplified Chinese</Language>
- <BytesChar>1-2</BytesChar>
- <Aliases>WIN936, Windows936</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>ISO_8859_5</Name>
- <Description>ISO 8859-5, ECMA 113</Description>
- <Language>Latin/Cyrillic</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>ISO_8859_6</Name>
- <Description>ISO 8859-6, ECMA 114</Description>
- <Language>Latin/Arabic</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>ISO_8859_7</Name>
- <Description>ISO 8859-7, ECMA 118</Description>
- <Language>Latin/Greek</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>ISO_8859_8</Name>
- <Description>ISO 8859-8, ECMA 121</Description>
- <Language>Latin/Hebrew</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="False">
- <Name>JOHAB</Name>
- <Description>JOHAB</Description>
- <Language>Korean (Hangul)</Language>
- <BytesChar>1-3</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>KOI8R</Name>
- <Description>KOI8-R</Description>
- <Language>Cyrillic (Russian)</Language>
- <BytesChar>1</BytesChar>
- <Aliases>KOI8</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>KOI8U</Name>
- <Description>KOI8-U</Description>
- <Language>Cyrillic (Ukrainian)</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN1</Name>
- <Description>ISO 8859-1, ECMA 94</Description>
- <Language>Western European</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO88591</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN2</Name>
- <Description>ISO 8859-2, ECMA 94</Description>
- <Language>Central European</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO88592</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN3</Name>
- <Description>ISO 8859-3, ECMA 94</Description>
- <Language>South European</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO88593</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN4</Name>
- <Description>ISO 8859-4, ECMA 94</Description>
- <Language>North European</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO88594</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN5</Name>
- <Description>ISO 8859-9, ECMA 128</Description>
- <Language>Turkish</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO88599</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN6</Name>
- <Description>ISO 8859-10, ECMA 144</Description>
- <Language>Nordic</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO885910</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN7</Name>
- <Description>ISO 8859-13</Description>
- <Language>Baltic</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO885913</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN8</Name>
- <Description>ISO 8859-14</Description>
- <Language>Celtic</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO885914</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN9</Name>
- <Description>ISO 8859-15</Description>
- <Language>LATIN1 with Euro and accents</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO885915</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>LATIN10</Name>
- <Description>ISO 8859-16, ASRO SR 14111</Description>
- <Language>Romanian</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ISO885916</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>MULE_INTERNAL</Name>
- <Description>Mule internal code</Description>
- <Language>Multilingual Emacs</Language>
- <BytesChar>1-4</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="False">
- <Name>SJIS</Name>
- <Description>Shift JIS</Description>
- <Language>Japanese</Language>
- <BytesChar>1-2</BytesChar>
- <Aliases>Mskanji, ShiftJIS, WIN932, Windows932</Aliases>
- </Encoding>
- <Encoding Server="False">
- <Name>SHIFT_JIS_2004</Name>
- <Description>Shift JIS, JIS X 0213</Description>
- <Language>Japanese</Language>
- <BytesChar>1-2</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>SQL_ASCII</Name>
- <Description>unspecified</Description>
- <Language>any</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="False">
- <Name>UHC</Name>
- <Description>Unified Hangul Code</Description>
- <Language>Korean</Language>
- <BytesChar>1-2</BytesChar>
- <Aliases>WIN949, Windows949</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>UTF8</Name>
- <Description>Unicode, 8-bit</Description>
- <Language>all</Language>
- <BytesChar>1-4</BytesChar>
- <Aliases>Unicode</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN866</Name>
- <Description>Windows CP866</Description>
- <Language>Cyrillic</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ALT</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN874</Name>
- <Description>Windows CP874</Description>
- <Language>Thai</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1250</Name>
- <Description>Windows CP1250</Description>
- <Language>Central European</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1251</Name>
- <Description>Windows CP1251</Description>
- <Language>Cyrillic</Language>
- <BytesChar>1</BytesChar>
- <Aliases>WIN</Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1252</Name>
- <Description>Windows CP1252</Description>
- <Language>Western European</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1253</Name>
- <Description>Windows CP1253</Description>
- <Language>Greek</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1254</Name>
- <Description>Windows CP1254</Description>
- <Language>Turkish</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1255</Name>
- <Description>Windows CP1255</Description>
- <Language>Hebrew</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1256</Name>
- <Description>Windows CP1256</Description>
- <Language>Arabic</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1257</Name>
- <Description>Windows CP1257</Description>
- <Language>Baltic</Language>
- <BytesChar>1</BytesChar>
- <Aliases></Aliases>
- </Encoding>
- <Encoding Server="True">
- <Name>WIN1258</Name>
- <Description>Windows CP1258</Description>
- <Language>Vietnamese</Language>
- <BytesChar>1</BytesChar>
- <Aliases>ABC, TCVN, TCVN5712, VSCII</Aliases>
- </Encoding>
-</Encodings> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Makefile.am
deleted file mode 100644
index f60e87cdce..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Makefile.am
+++ /dev/null
@@ -1,65 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Sql.Npgsql.dll
-REFS = \
- $(GTK_SHARP_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:Npgsql \
- -r:System \
- -r:System.Core \
- -r:System.Data \
- -r:System.Xml.Linq
-
-FILES = \
- AssemblyInfo.cs \
- Collections/NpgsqlEncodingCollection.cs \
- Collections/NpgsqlTablespaceCollection.cs \
- Dialogs/NpgsqlCreateDatabaseDialog.cs \
- Dialogs/NpgsqlTableEditorDialog.cs \
- gtk-gui/generated.cs \
- gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.cs \
- NpgsqlConnectionProvider.cs \
- NpgsqlDbFactory.cs \
- NpgsqlDialect.cs \
- NpgsqlGuiProvider.cs \
- NpgsqlPooledDbConnection.cs \
- NpgsqlSchemaProvider.cs \
- Schema/dummy.cs \
- Schema/NpgsqlDatabaseSchema.cs \
- Schema/NpgsqlEncoding.cs \
- Schema/NpgsqlTablespace.cs \
- Widgets/NpgsqlColumnEditorWidget.cs \
- Widgets/NpgsqlCreateDatabaseWidget.cs
-
-RES = \
- Encoding.xml \
- gtk-gui/gui.stetic \
- gtk-gui/objects.xml \
- MonoDevelop.Database.Sql.Npgsql.addin.xml \
- NpgsqlSyntaxMode.xml
-
-if ENABLE_POSTGRES
-all: $(ASSEMBLY)
-else
-all:
-endif
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-if ENABLE_POSTGRES
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-endif
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.addin.xml
deleted file mode 100644
index d472c81e71..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.addin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<Addin id = "Database.Sql.Npgsql"
- namespace = "MonoDevelop"
- name = "Npgsql provider for Mono Data Sql"
- author = "Christian Hergert, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.Npgsql.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- <Addin id="SourceEditor2" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Database/Sql">
- <DatabaseFactory id = "Npgsql" class = "MonoDevelop.Database.Sql.Npgsql.NpgsqlDbFactory" />
- </Extension>
-
- <Extension path = "/MonoDevelop/SourceEditor2/SyntaxModes">
- <Templates resource="NpgsqlSyntaxMode.xml" />
- </Extension>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.csproj
deleted file mode 100644
index c1bdb55712..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/MonoDevelop.Database.Sql.Npgsql.csproj
+++ /dev/null
@@ -1,220 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{854F4CC1-BFDF-457E-89E0-0B7E20F1FDA3}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Npgsql</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql.Npgsql</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="Npgsql" />
- <Reference Include="System.Data" />
- <Reference Include="Mono.Posix" />
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Core" />
- <Reference Include="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral" />
- <Reference Include="MonoDevelop.Core, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="NRefactory, Version=2.1.1.0, Culture=neutral, PublicKeyToken=efe927acf176eea2">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral">
- <Package>monodevelop</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="NpgsqlConnectionProvider.cs" />
- <Compile Include="NpgsqlSchemaProvider.cs" />
- <Compile Include="NpgsqlDbFactory.cs" />
- <Compile Include="NpgsqlPooledDbConnection.cs" />
- <Compile Include="NpgsqlDialect.cs" />
- <Compile Include="NpgsqlGuiProvider.cs" />
- <Compile Include="Dialogs\NpgsqlTableEditorDialog.cs" />
- <Compile Include="Schema\dummy.cs" />
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Widgets\NpgsqlCreateDatabaseWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.cs" />
- <Compile Include="Widgets\NpgsqlColumnEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Schema\NpgsqlDatabaseSchema.cs" />
- <Compile Include="Schema\NpgsqlEncoding.cs" />
- <Compile Include="Collections\NpgsqlEncodingCollection.cs" />
- <Compile Include="Schema\NpgsqlTablespace.cs" />
- <Compile Include="Collections\NpgsqlTablespaceCollection.cs" />
- <Compile Include="Dialogs\NpgsqlCreateDatabaseDialog.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.Npgsql.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.Npgsql.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\objects.xml">
- <LogicalName>objects.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="Encoding.xml">
- <LogicalName>Encoding.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="NpgsqlSyntaxMode.xml">
- <LogicalName>NpgsqlSyntaxMode.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
- <ItemGroup>
- <Folder Include="Collections\" />
- </ItemGroup>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlConnectionProvider.cs
deleted file mode 100644
index 77d014fb12..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlConnectionProvider.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using Npgsql;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Npgsql
-{
- public class NpgsqlConnectionProvider : AbstractConnectionProvider
- {
- public override IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error)
- {
- string connStr = null;
- try {
- if (settings.UseConnectionString) {
- connStr = settings.ConnectionString;
- } else {
- //User ID=root;Password=myPassword;Host=localhost;Port=5432;Database=myDataBase;Pooling=true;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;
- if (settings.Port > 0)
- connStr = String.Format ("User ID={0};Password={1};Host={2};Port={3};Database={4};",
- settings.Username, settings.Password, settings.Server, settings.Port, settings.Database);
- else
- connStr = String.Format ("User ID={0};Password={1};Host={2};Database={3};",
- settings.Username, settings.Password, settings.Server, settings.Database);
-
- }
- connStr = SetConnectionStringParameter (connStr, String.Empty, "Pooling", "false");
- NpgsqlConnection connection = new NpgsqlConnection (connStr);
- connection.Open ();
-
- error = null;
- return new NpgsqlPooledDbConnection (pool, connection);
- } catch (Exception e) {
- error = e.Message;
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs
deleted file mode 100644
index 2fbf6f9ed4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using MonoDevelop.Core;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Sql;
-using System;
-using System.Collections.Generic;
-using System.Data;
- namespace MonoDevelop.Database.Sql.Npgsql
-{
- public class NpgsqlDbFactory : IDbFactory, IDbLinq
- {
- private ISqlDialect dialect;
- private IConnectionProvider connectionProvider;
- private IGuiProvider guiProvider;
-
- public string Identifier {
- get { return "Npgsql"; }
- }
-
- public string Name {
- get { return AddinCatalog.GetString ("PostgreSQL database"); }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new NpgsqlDialect ();
- return dialect;
- }
- }
-
- public IConnectionProvider ConnectionProvider {
- get {
- if (connectionProvider == null)
- connectionProvider = new NpgsqlConnectionProvider ();
- return connectionProvider;
- }
- }
-
- public IGuiProvider GuiProvider {
- get {
- if (guiProvider == null)
- guiProvider = new NpgsqlGuiProvider ();
- return guiProvider;
- }
- }
-
- public IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- return new DefaultConnectionPool (this, ConnectionProvider, context);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool)
- {
- return new NpgsqlSchemaProvider (connectionPool);
- }
-
- public DatabaseConnectionSettings GetDefaultConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.Server = "localhost";
- settings.Port = 5432;
- settings.Username = "postgres";
- settings.MaxPoolSize = 5;
-
- return settings;
- }
-
- #region IDbLinq implementation
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string language,
- string style, string defaultNamespace, string entityBase, string entityAttr,
- string membersAttr, string generateTypes, string culture, bool generateSchema,
- bool generateTimestamp, bool overrideEqualAndHash, bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, language, style, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize);
- }
-
-
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string defaultNamespace,
- string entityBase, string entityAttr, string membersAttr, string generateTypes,
- string culture, bool generateSchema, bool generateTimestamp, bool overrideEqualAndHash,
- bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize); }
-
- public string Provider {
- get {
- return "PostgreSql";
- }
- }
-
-
- public bool HasProcedures {
- get {
- return true;
- }
- }
-
- #endregion
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDialect.cs
deleted file mode 100644
index 0229e6bf5d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlDialect.cs
+++ /dev/null
@@ -1,451 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Npgsql
-{
- public class NpgsqlDialect : AbstractSqlDialect
- {
- public override string QuoteIdentifier (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- if (IsReservedWord (identifier) || identifier.Contains (" "))
- return String.Concat ('"', identifier, '"');
-
- return identifier;
- }
-
- public override string MarkAsParameter (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return ":" + identifier;
- }
-
- //http://www.postgresql.org/docs/8.1/interactive/sql-keywords-appendix.html
- protected virtual bool IsReservedWord (string word)
- {
- word = word.ToUpper ();
-
- switch (word) {
- case "A":
- case "ABS":
- case "ADA":
- case "ALIAS":
- case "ALL":
- case "ALLOCATE":
- case "ALWAYS":
- case "ANALYSE":
- case "ANALYZE":
- case "AND":
- case "ANY":
- case "ARE":
- case "ARRAY":
- case "AS":
- case "ASC":
- case "ASENSITIVE":
- case "ASYMMETRIC":
- case "ATOMIC":
- case "ATTRIBUTE":
- case "ATTRIBUTES":
- case "AUTHORIZATION":
- case "AVG":
- case "BERNOULLI":
- case "BETWEEN":
- case "BINARY":
- case "BITVAR":
- case "BIT_LENGTH":
- case "BLOB":
- case "BOTH":
- case "BREADTH":
- case "C":
- case "CALL":
- case "CARDINALITY":
- case "CASCADED":
- case "CASE":
- case "CAST":
- case "CATALOG":
- case "CATALOG_NAME":
- case "CEIL":
- case "CEILING":
- case "CHARACTERS":
- case "CHARACTER_LENGTH":
- case "CHARACTER_SET_CATALOG":
- case "CHARACTER_SET_NAME":
- case "CHARACTER_SET_SCHEMA":
- case "CHAR_LENGTH":
- case "CHECK":
- case "CHECKED":
- case "CLASS_ORIGIN":
- case "CLOB":
- case "COBOL":
- case "COLLATE":
- case "COLLATION":
- case "COLLATION_CATALOG":
- case "COLLATION_NAME":
- case "COLLATION_SCHEMA":
- case "COLLECT":
- case "COLUMN":
- case "COLUMN_NAME":
- case "COMMAND_FUNCTION":
- case "COMMAND_FUNCTION_CODE":
- case "COMPLETION":
- case "CONDITION":
- case "CONDITION_NUMBER":
- case "CONNECT":
- case "CONNECTION_NAME":
- case "CONSTRAINT":
- case "CONSTRAINT_CATALOG":
- case "CONSTRAINT_NAME":
- case "CONSTRAINT_SCHEMA":
- case "CONSTRUCTOR":
- case "CONTAINS":
- case "CONTINUE":
- case "CORR":
- case "CORRESPONDING":
- case "COUNT":
- case "COVAR_POP":
- case "COVAR_SAMP":
- case "CREATE":
- case "CROSS":
- case "CUBE":
- case "CUME_DIST":
- case "CURRENT":
- case "CURRENT_DATE":
- case "CURRENT_DEFAULT_TRANSFORM_GROUP":
- case "CURRENT_PATH":
- case "CURRENT_ROLE":
- case "CURRENT_TIME":
- case "CURRENT_TIMESTAMP":
- case "CURRENT_TRANSFORM_GROUP_FOR_TYPE":
- case "CURRENT_USER":
- case "CURSOR_NAME":
- case "DATA":
- case "DATE":
- case "DATETIME_INTERVAL_CODE":
- case "DATETIME_INTERVAL_PRECISION":
- case "DEFAULT":
- case "DEFERRABLE":
- case "DEFINED":
- case "DEGREE":
- case "DENSE_RANK":
- case "DEPTH":
- case "DEREF":
- case "DERIVED":
- case "DESC":
- case "DESCRIBE":
- case "DESCRIPTOR":
- case "DESTROY":
- case "DESTRUCTOR":
- case "DETERMINISTIC":
- case "DIAGNOSTICS":
- case "DICTIONARY":
- case "DISCONNECT":
- case "DISPATCH":
- case "DISTINCT":
- case "DO":
- case "DYNAMIC":
- case "DYNAMIC_FUNCTION":
- case "DYNAMIC_FUNCTION_CODE":
- case "ELEMENT":
- case "ELSE":
- case "END":
- case "END-EXEC":
- case "EQUALS":
- case "EVERY":
- case "EXCEPT":
- case "EXCEPTION":
- case "EXCLUDE":
- case "EXEC":
- case "EXISTING":
- case "EXP":
- case "0":
- case "FILTER":
- case "FINAL":
- case "FLOOR":
- case "FOLLOWING":
- case "FOR":
- case "FOREIGN":
- case "FORTRAN":
- case "FOUND":
- case "FREE":
- case "FREEZE":
- case "FROM":
- case "FULL":
- case "FUSION":
- case "G":
- case "GENERAL":
- case "GENERATED":
- case "GET":
- case "GO":
- case "GOTO":
- case "GRANT":
- case "GROUP":
- case "GROUPING":
- case "HAVING":
- case "HIERARCHY":
- case "HOST":
- case "IDENTITY":
- case "IGNORE":
- case "ILIKE":
- case "IMPLEMENTATION":
- case "IN":
- case "INDICATOR":
- case "INFIX":
- case "INITIALIZE":
- case "INITIALLY":
- case "INNER":
- case "INSTANCE":
- case "INSTANTIABLE":
- case "INTERSECT":
- case "INTERSECTION":
- case "INTO":
- case "IS":
- case "ISNULL":
- case "ITERATE":
- case "JOIN":
- case "K":
- case "KEY_MEMBER":
- case "KEY_TYPE":
- case "LATERAL":
- case "LEADING":
- case "LEFT":
- case "LENGTH":
- case "LESS":
- case "LIKE":
- case "LIMIT":
- case "LN":
- case "LOCALTIME":
- case "LOCALTIMESTAMP":
- case "LOCATOR":
- case "LOWER":
- case "M":
- case "MAP":
- case "MATCHED":
- case "MAX":
- case "MEMBER":
- case "MERGE":
- case "MESSAGE_LENGTH":
- case "MESSAGE_OCTET_LENGTH":
- case "MESSAGE_TEXT":
- case "METHOD":
- case "MIN":
- case "MOD":
- case "MODIFIES":
- case "MODIFY":
- case "MODULE":
- case "MORE":
- case "MULTISET":
- case "MUMPS":
- case "NAME":
- case "NATURAL":
- case "NCLOB":
- case "NESTING":
- case "NEW":
- case "NOLOGIN":
- case "NORMALIZE":
- case "NORMALIZED":
- case "NOT":
- case "NOTNULL":
- case "NULL":
- case "NULLABLE":
- case "NULLS":
- case "NUMBER":
- case "OCTETS":
- case "OCTET_LENGTH":
- case "OFF":
- case "OFFSET":
- case "OLD":
- case "ON":
- case "ONLY":
- case "OPEN":
- case "OPERATION":
- case "OPTIONS":
- case "OR":
- case "ORDER":
- case "ORDERING":
- case "ORDINALITY":
- case "OTHERS":
- case "OUTER":
- case "OUTPUT":
- case "OVER":
- case "OVERLAPS":
- case "OVERRIDING":
- case "PAD":
- case "PARAMETER":
- case "PARAMETERS":
- case "PARAMETER_MODE":
- case "PARAMETER_NAME":
- case "PARAMETER_ORDINAL_POSITION":
- case "PARAMETER_SPECIFIC_CATALOG":
- case "PARAMETER_SPECIFIC_NAME":
- case "PARAMETER_SPECIFIC_SCHEMA":
- case "PARTITION":
- case "PASCAL":
- case "PATH":
- case "PERCENTILE_CONT":
- case "PERCENTILE_DISC":
- case "PERCENT_RANK":
- case "PLACING":
- case "PLI":
- case "POSTFIX":
- case "POWER":
- case "PRECEDING":
- case "PREFIX":
- case "PREORDER":
- case "PRIMARY":
- case "PUBLIC":
- case "RANGE":
- case "RANK":
- case "READS":
- case "RECURSIVE":
- case "REF":
- case "REFERENCES":
- case "REFERENCING":
- case "REGR_AVGX":
- case "REGR_AVGY":
- case "REGR_COUNT":
- case "REGR_INTERCEPT":
- case "REGR_R2":
- case "REGR_SLOPE":
- case "REGR_SXX":
- case "REGR_SXY":
- case "REGR_SYY":
- case "RESULT":
- case "RETURN":
- case "RETURNED_CARDINALITY":
- case "RETURNED_LENGTH":
- case "RETURNED_OCTET_LENGTH":
- case "RETURNED_SQLSTATE":
- case "RIGHT":
- case "ROLLUP":
- case "ROUTINE":
- case "ROUTINE_CATALOG":
- case "ROUTINE_NAME":
- case "ROUTINE_SCHEMA":
- case "ROW_COUNT":
- case "ROW_NUMBER":
- case "SCALE":
- case "SCHEMA_NAME":
- case "SCOPE":
- case "SCOPE_CATALOG":
- case "SCOPE_NAME":
- case "SCOPE_SCHEMA":
- case "SEARCH":
- case "SECTION":
- case "SELECT":
- case "SELF":
- case "SENSITIVE":
- case "SERVER_NAME":
- case "SESSION_USER":
- case "SETS":
- case "SIMILAR":
- case "SIZE":
- case "SOME":
- case "SOURCE":
- case "SPACE":
- case "SPECIFIC":
- case "SPECIFICTYPE":
- case "SPECIFIC_NAME":
- case "SQL":
- case "SQLCODE":
- case "SQLERROR":
- case "SQLEXCEPTION":
- case "SQLSTATE":
- case "SQLWARNING":
- case "SQRT":
- case "STATE":
- case "STATIC":
- case "STDDEV_POP":
- case "STDDEV_SAMP":
- case "STRUCTURE":
- case "STYLE":
- case "SUBCLASS_ORIGIN":
- case "SUBLIST":
- case "SUBMULTISET":
- case "SUM":
- case "SYMMETRIC":
- case "SYSTEM_USER":
- case "TABLE":
- case "TABLESAMPLE":
- case "TABLE_NAME":
- case "TERMINATE":
- case "THAN":
- case "THEN":
- case "TIES":
- case "TIMEZONE_HOUR":
- case "TIMEZONE_MINUTE":
- case "TO":
- case "TOP_LEVEL_COUNT":
- case "TRAILING":
- case "TRANSACTIONS_COMMITTED":
- case "TRANSACTIONS_ROLLED_BACK":
- case "TRANSACTION_ACTIVE":
- case "TRANSFORM":
- case "TRANSFORMS":
- case "TRANSLATE":
- case "TRANSLATION":
- case "TRIGGER_CATALOG":
- case "TRIGGER_NAME":
- case "TRIGGER_SCHEMA":
- case "1":
- case "UESCAPE":
- case "UNBOUNDED":
- case "UNDER":
- case "UNION":
- case "UNIQUE":
- case "UNNAMED":
- case "UNNEST":
- case "UPPER":
- case "USAGE":
- case "USER":
- case "USER_DEFINED_TYPE_CATALOG":
- case "USER_DEFINED_TYPE_CODE":
- case "USER_DEFINED_TYPE_NAME":
- case "USER_DEFINED_TYPE_SCHEMA":
- case "USING":
- case "VALUE":
- case "VARIABLE":
- case "VAR_POP":
- case "VAR_SAMP":
- case "VERBOSE":
- case "WHEN":
- case "WHENEVER":
- case "WHERE":
- case "WIDTH_BUCKET":
- case "WINDOW":
- case "WITHIN":
- return true;
- default:
- return false;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlGuiProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlGuiProvider.cs
deleted file mode 100644
index bbf2d0a7b1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlGuiProvider.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.Npgsql
-{
- public class NpgsqlGuiProvider : IGuiProvider
- {
- public bool ShowCreateDatabaseDialog (IDbFactory factory)
- {
- NpgsqlCreateDatabaseDialog dialog = new NpgsqlCreateDatabaseDialog (factory);
- int resp;
- do {
- resp = dialog.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
- dialog.Destroy ();
- if (resp == (int)ResponseType.Ok)
- return true;
- else
- return false;
-
- }
-
- public bool ShowAddConnectionDialog (IDbFactory factory)
- {
- DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (factory);
- return RunDialog (dlg);
- }
-
- public bool ShowEditConnectionDialog (IDbFactory factory,
- DatabaseConnectionSettings settings,
- out DatabaseConnectionSettings newSettings)
- {
- DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (factory, settings);
- bool result = RunDialog (dlg);
- if (result)
- newSettings = dlg.ConnectionSettings;
- else
- newSettings = null;
- return result;
- }
-
- 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 ShowViewEditorDialog (IEditSchemaProvider schemaProvider, ViewSchema view, bool create)
- {
- ViewEditorSettings settings = new ViewEditorSettings ();
- ViewEditorDialog dlg = new ViewEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (view);
-
- return RunDialog (dlg);
- }
-
- public bool ShowProcedureEditorDialog (IEditSchemaProvider schemaProvider, ProcedureSchema procedure, bool create)
- {
- ProcedureEditorSettings settings = new ProcedureEditorSettings ();
- ProcedureEditorDialog dlg = new ProcedureEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (procedure);
-
- return RunDialog (dlg);
- }
-
- public bool ShowUserEditorDialog (IEditSchemaProvider schemaProvider, UserSchema user, bool create)
- {
- return false; //TODO: implement ShowUserEditorDialog
- }
-
- private bool RunDialog (Dialog dlg)
- {
- bool result = false;
- // If the Preview Dialog is canceled, don't execute and don't close the Editor Dialog.
- try {
- int resp;
- do {
- resp = dlg.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
-
- if (resp == (int)ResponseType.Ok)
- result = true;
- else
- result = false;
- } finally {
- dlg.Destroy ();
- }
- return result;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlPooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlPooledDbConnection.cs
deleted file mode 100644
index b198f92dd2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlPooledDbConnection.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Npgsql;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
- public class NpgsqlPooledDbConnection : AbstractPooledDbConnection
- {
- public NpgsqlPooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- : base (connectionPool, connection)
- {
- }
-
- public override Version DatabaseVersion {
- get {
- NpgsqlConnection connection = DbConnection as NpgsqlConnection;
- ServerVersion version = connection.ServerVersion;
- return new Version (version.Major, version.Minor, version.Patch);
- }
- }
-
- public override DataSet ExecuteSet (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataSet set = new DataSet ();
- using (command) {
- using (NpgsqlDataAdapter adapter = new NpgsqlDataAdapter (command as NpgsqlCommand)) {
- try {
- adapter.Fill (set);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteTable (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataTable table = new DataTable ();
- using (command) {
- using (NpgsqlDataAdapter adapter = new NpgsqlDataAdapter (command as NpgsqlCommand)) {
- try {
- adapter.Fill (table);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return table;
- }
-
- public override DataTable GetSchema (string collectionName, params string[] restrictionValues)
- {
- return (connection as NpgsqlConnection).GetSchema (collectionName, restrictionValues);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSchemaProvider.cs
deleted file mode 100644
index 13739db1c3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSchemaProvider.cs
+++ /dev/null
@@ -1,1654 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Xml;
-using System.Linq;
-using System.Data;
-using System.Text;
-using System.Reflection;
-using System.Text.RegularExpressions;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using Npgsql;
- namespace MonoDevelop.Database.Sql.Npgsql
-{
- public class NpgsqlSchemaProvider : AbstractEditSchemaProvider
- {
- int lastSystemOID = 0;
- IConnectionPool pool;
-
- public NpgsqlSchemaProvider (IConnectionPool connectionPool): base (connectionPool)
- {
- AddSupportedSchemaActions (SchemaType.Database, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.Table, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.View, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.Procedure, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.TableColumn, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.ProcedureParameter, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Trigger, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.PrimaryKeyConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.ForeignKeyConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.CheckConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.UniqueConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Constraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.User, SchemaActions.Schema);
- pool = connectionPool;
- }
-
- public override TableSchemaCollection GetTables ()
- {
- TableSchemaCollection tables = new TableSchemaCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (
- @"SELECT DISTINCT
- c.relname,
- n.nspname,
- u.usename
- FROM
- pg_class c,
- pg_namespace n,
- pg_user u
- WHERE
- c.relnamespace = n.oid
- AND c.relowner = u.usesysid
- AND c.relkind='r'
- AND NOT EXISTS
- (SELECT 1 FROM pg_rewrite r WHERE r.ev_class = c.oid AND r.ev_type = '1')
- ORDER BY relname;")) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- TableSchema table = new TableSchema (this);
- table.Name = r.GetString (0);
- table.IsSystemTable = table.Name.StartsWith ("pg_") || table.Name.StartsWith ("sql_");
- table.SchemaName = r.GetString (1);
- table.OwnerName = r.GetString (2);
- // TODO: Fill table.Definition
- tables.Add (table);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return tables;
- }
-
- public override ColumnSchemaCollection GetTableColumns (TableSchema table)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format(
- @"SELECT
- a.attname,
- a.attnotnull,
- a.attlen,
- t.typname,
- adef.adsrc
- FROM
- pg_catalog.pg_attribute a
- LEFT JOIN pg_catalog.pg_attrdef adef ON
- a.attrelid=adef.adrelid
- AND a.attnum=adef.adnum
- LEFT JOIN pg_catalog.pg_type t ON
- a.atttypid=t.oid
- WHERE
- a.attrelid =
- (SELECT oid
- FROM pg_catalog.pg_class
- WHERE relname='{0}')
- AND a.attnum > 0
- AND NOT a.attisdropped
- AND a.atttypid = t.oid
- ORDER BY a.attnum;", table.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this, table);
- column.Name = r.GetString (0);
- column.DataTypeName = r.GetString (3);
- column.IsNullable = !r.GetBoolean (1);
- column.DefaultValue = r.IsDBNull (4) ? null : r.GetString (4);
- column.HasDefaultValue = !r.IsDBNull (4);
- // TODO: fill column.Definition
- columns.Add (column);
- }
- r.Close ();
- }
- } catch (NpgsqlException) {
- // Don't raise error, if the table doesn't exists return an empty collection
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return columns;
- }
-
- public NpgsqlEncodingCollection GetEncodings ()
- {
- NpgsqlEncodingCollection coll = new NpgsqlEncodingCollection ();
- using (System.IO.Stream stream = Assembly.GetExecutingAssembly ().GetManifestResourceStream ("Encoding.xml")) {
- XmlDocument doc = new XmlDocument ();
- doc.Load (stream);
- var encodings = doc.GetElementsByTagName ("Encoding");
- foreach (var enc in encodings) {
- NpgsqlEncoding newEnc = new NpgsqlEncoding (this);
- newEnc.Server = Convert.ToBoolean (((XmlNode)enc).Attributes["Server"].Value);
- newEnc.Name = ((XmlNode)enc).ChildNodes[0].InnerText;
- newEnc.Description = ((XmlNode)enc).ChildNodes[1].InnerText;
- newEnc.Language = ((XmlNode)enc).ChildNodes[2].InnerText;
- newEnc.BytesChar = ((XmlNode)enc).ChildNodes[3].InnerText;
- newEnc.Aliases = ((XmlNode)enc).ChildNodes[4].InnerText;
- coll.Add (newEnc);
- }
-
- // This doesn't work until this bug isn't fixed
- //
-// XmlTextReader reader = new XmlTextReader (stream);
-// XDocument encodingsDoc = XDocument.Load (reader, LoadOptions.None);
-//
-// var encodings = from enc in encodingsDoc.Descendants ("Encodings")
-// select new {
-// IsServer = Convert.ToBoolean(enc.Attribute("Server").Value),
-// Name = enc.Element("Name").Value,
-// Description = enc.Element("Description").Value,
-// Language = enc.Element("Language").Value,
-// BytesChar = enc.Element("BytesChar").Value,
-// Aliases = enc.Element("Aliases").Value
-// };
-//
-// foreach (var enc in encodings) {
-// NpgsqlEncoding newEnc = new NpgsqlEncoding (this);
-// newEnc.Server = enc.IsServer;
-// newEnc.Name = enc.Name;
-// newEnc.Description = enc.Description;
-// newEnc.Language = enc.Language;
-// newEnc.BytesChar = enc.BytesChar;
-// newEnc.Aliases = enc.Aliases;
-// coll.Add (newEnc);
-// }
- }
- return coll;
- }
-
- public override ViewSchemaCollection GetViews ()
- {
- ViewSchemaCollection views = new ViewSchemaCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format (
- @"SELECT
- v.schemaname,
- v.viewname,
- v.viewowner,
- v.definition,
- (c.oid <= {0}),
- (SELECT
- description
- from
- pg_description pd,
- pg_class pc
- WHERE
- pc.oid = pd.objoid
- AND pc.relname= v.viewname)
- FROM
- pg_views v,
- pg_class c
- WHERE
- v.viewname = c.relname
- ORDER BY viewname", LastSystemOID))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ViewSchema view = new ViewSchema (this);
- view.Name = r.GetString (1);
- view.OwnerName = r.GetString (2);
- view.SchemaName = r.GetString (0);
- view.IsSystemView = r.GetBoolean (4);
- view.Comment = r.IsDBNull (5) ? null : r.GetString (5);
- // TODO: Fill view.Definition
- views.Add (view);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return views;
- }
-
- public override ColumnSchemaCollection GetViewColumns (ViewSchema view)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format (
- @"SELECT
- attname,
- typname,
- attlen,
- attnotnull
- FROM
- pg_catalog.pg_attribute a
- LEFT JOIN pg_catalog.pg_attrdef adef ON
- a.attrelid = adef.adrelid
- AND a.attnum = adef.adnum
- LEFT JOIN pg_catalog.pg_type t ON
- a.atttypid = t.oid
- WHERE
- a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname='{0}')
- AND a.attnum > 0
- AND NOT a.attisdropped
- ORDER BY a.attnum;", view.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this, view);
- column.Name = r.GetString(0);
- column.DataTypeName = r.GetString (1);
- column.SchemaName = view.SchemaName;
- column.IsNullable = r.GetBoolean (3);
- column.DataType.LengthRange.Default = r.GetInt32 (2);
- // TODO: Fill column.Definition
- columns.Add (column);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return columns;
- }
-
- public override ProcedureSchemaCollection GetProcedures ()
- {
- ProcedureSchemaCollection procedures = new ProcedureSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- // Exclude: Language Handler (2280) - Triggers (2279) - Void (2278)
- using (IDbCommand command = conn.CreateCommand (
- @"SELECT
- pc.proname,
- pc.oid::integer,
- pl.lanname,
- pc.prosrc,
- pc.procost,
- pc.provolatile,
- pt.typname as rettypename,
- pc.proargnames as argnames,
- pc.proargmodes as argmodes,
- pc.proallargtypes as argtypes
- FROM
- pg_proc pc,
- pg_user pu,
- pg_type pt,
- pg_language pl
- WHERE
- pc.proowner = pu.usesysid
- AND pc.prorettype = pt.oid
- AND pc.prolang = pl.oid
- AND pc.prorettype not in (2278, 2279, 2280)
-
- UNION
-
- SELECT
- pc.proname,
- pt.oid::integer,
- pl.lanname,
- pc.prosrc,
- pc.procost,
- pc.provolatile,
- pt.typname as rettypename,
- pc.proargnames as argnames,
- pc.proargmodes as argmodes,
- pc.proallargtypes as argtypes
- FROM
- pg_proc pc,
- pg_user pu,
- pg_type pt,
- pg_language pl
- WHERE
- pc.proowner = pu.usesysid
- AND pc.prorettype not in (2278, 2279, 2280)
- AND pc.prorettype = 0
- AND pc.prolang = pl.oid;")) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ProcedureSchema procedure = new ProcedureSchema (this);
- procedure.Name = r.GetString (0);
- procedure.LanguageName = r.GetString (2);
- if (!r.IsDBNull (1) && r.GetInt32 (1) < LastSystemOID)
- procedure.IsSystemProcedure = true;
- procedure.IsFunction = true;
-
- // Procedure Definition
- StringBuilder proc = new StringBuilder ();
- if (procedure.IsFunction) {
- string lang = r.GetString (2);
- string proctype = string.Empty;
- string retType = r.GetString (6);
-
- switch (r.GetString (5)) {
- case "s":
- proctype = "STABLE";
- break;
- case "i":
- proctype = "INMUTABLE";
- break;
- default:
- proctype = "VOLATILE";
- break;
- }
-
- float cost = r.GetFloat (4);
-
- proc.AppendFormat ("CREATE OR REPLACE FUNCTION {0} (", r.GetString (0));
- // Get parameters collection
- ParameterSchemaCollection pars = GetParams (r.GetValue (7).ToString (),
- r.GetValue (8).ToString (),
- r.GetValue (9).ToString (), conn);
- bool first = true;
- // Set Parameters list
- foreach (ParameterSchema p in pars) {
- if (!first) {
- proc.Append (", ");
- }
- first = false;
- proc.Append (p.ParameterType.ToString ());
- if (p.Name != "") {
- proc.AppendFormat (" {0}", p.Name);
- }
- proc.AppendFormat (" {0}", p.DataTypeName);
- }
- proc.Append (")");
- if (lang == "edbspl")
- proc.AppendFormat ("\nRETURN {0} AS \n", retType);
- else
- proc.AppendFormat ("\nRETURNS {0} AS \n", retType);
- proc.AppendFormat ("$BODY$ {0} $BODY$\n", r.GetString (3));
- proc.AppendFormat ("LANGUAGE '{0}' {1}\n", lang, proctype);
- proc.AppendFormat ("COST {0};\n", cost.ToString ());
- }
- procedure.Definition = proc.ToString ();
- procedures.Add (procedure);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return procedures;
- }
-
- private ParameterSchemaCollection GetParams (string names, string directions, string types, IPooledDbConnection conn)
- {
- ParameterSchemaCollection pars = new ParameterSchemaCollection ();
-
- if (names == string.Empty || directions == string.Empty || types == String.Empty)
- return pars;
-
- // Array always start with { and end with }
- if (!names.StartsWith ("{") || !names.EndsWith ("}"))
- throw new ArgumentOutOfRangeException ("names");
-
- string[] namesArray = names.Substring(1, names.Length -2).Split (',');
- string[] directionsArray = directions.Substring(1, directions.Length -2).Split (',');
- string[] typesArray = types.Substring(1, types.Length -2).Split (',');
-
- for (int idx = 0; idx < namesArray.Length; idx++) {
- ParameterSchema ps = new ParameterSchema (this);
- // Name
- if (namesArray[idx] != "\"\"")
- ps.Name = namesArray[idx];
-
- // Direction
- string d = directionsArray[idx];
- if (d == "i")
- ps.ParameterType = ParameterType.In;
- else if (d == "o")
- ps.ParameterType = ParameterType.Out;
- else
- ps.ParameterType = ParameterType.InOut;
-
- // Type
- using (IDbCommand cmd = conn.CreateCommand (string.Format (
- "select format_type(oid, null) from pg_type WHERE oid = '{0}'::oid", typesArray[idx]))) {
- using (IDataReader r = cmd.ExecuteReader())
- if (r.Read ())
- ps.DataTypeName = r.GetString (0);
- }
- pars.Add (ps);
- }
- return pars;
- }
-
- public override ParameterSchemaCollection GetProcedureParameters (ProcedureSchema procedure)
- {
- ParameterSchemaCollection parameters = null;
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (String.Format (
- @"SELECT
- pc.proname,
- pc.oid::integer,
- pl.lanname,
- pc.prosrc,
- pc.procost,
- pc.provolatile,
- pt.typname as rettypename,
- pc.proargnames as argnames,
- pc.proargmodes as argmodes,
- pc.proallargtypes as argtypes
- FROM
- pg_proc pc,
- pg_user pu,
- pg_type pt,
- pg_language pl
- WHERE
- pc.proowner = pu.usesysid
- AND pc.prorettype = pt.oid
- AND pc.prolang = pl.oid
- AND pc.prorettype not in (2278, 2279, 2280)
- AND pc.proname = '{0}'
-
- UNION
-
- SELECT
- pc.proname,
- pt.oid::integer,
- pl.lanname,
- pc.prosrc,
- pc.procost,
- pc.provolatile,
- pt.typname as rettypename,
- pc.proargnames as argnames,
- pc.proargmodes as argmodes,
- pc.proallargtypes as argtypes
- FROM
- pg_proc pc,
- pg_user pu,
- pg_type pt,
- pg_language pl
- WHERE
- pc.proowner = pu.usesysid
- AND pc.prorettype not in (2278, 2279, 2280)
- AND pc.prorettype = 0
- AND pc.prolang = pl.oid
- AND pc.proname = '{0}';", procedure.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- if (r.Read ())
- parameters = GetParams (r.GetValue (7).ToString (), r.GetValue (8).ToString (), r.GetValue (9).ToString (), conn);
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return parameters;
- }
-
- public override ConstraintSchemaCollection GetTableConstraints (TableSchema table)
- {
- ConstraintSchemaCollection constraints = new ConstraintSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (String.Format (
- @"SELECT
- pc.conname,
- pg_catalog.pg_get_constraintdef(pc.oid, true) AS consrc,
- pc.contype,
- CASE WHEN pc.contype='u' OR pc.contype='p' THEN (
- SELECT
- indisclustered
- FROM
- pg_catalog.pg_depend pd,
- pg_catalog.pg_class pl,
- pg_catalog.pg_index pi
- WHERE
- pd.refclassid=pc.tableoid
- AND pd.refobjid=pc.oid
- AND pd.objid=pl.oid
- AND pl.oid=pi.indexrelid)
- ELSE
- NULL
- END AS indisclustered
- FROM
- pg_catalog.pg_constraint pc
- WHERE
- pc.conrelid = (
- SELECT oid
- FROM pg_catalog.pg_class
- WHERE
- relname='{0}'
- AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname='{1}'))
- ORDER BY 1;", table.Name, table.SchemaName))) {
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ConstraintSchema constraint = null;
-
- //TODO: Add support for Check constraints.
- switch (r.GetString (2)) {
- case "f":
- string match = @".*REFERENCES (.+)\(.*\).*";
- constraint = new ForeignKeyConstraintSchema (this);
- if (Regex.IsMatch (r.GetString (1), match))
- (constraint as ForeignKeyConstraintSchema).ReferenceTableName
- = Regex.Match (r.GetString (1), match).Groups[0].Captures[0].Value;
- break;
- case "u":
- constraint = new UniqueConstraintSchema (this);
- break;
- case "p":
- default:
- constraint = new PrimaryKeyConstraintSchema (this);
- break;
- }
-
- constraint.Name = r.GetString (0);
- constraint.Definition = r.GetString (1);
-
- int parenOpen = constraint.Definition.IndexOf ('(');
- if (parenOpen > 0) {
- int parenClose = constraint.Definition.IndexOf (')');
- string colstr = constraint.Definition.Substring (parenOpen + 1, parenClose - parenOpen - 1);
- foreach (string col in colstr.Split (',')) {
- ColumnSchema column = new ColumnSchema (this, table);
- column.Name = col.Trim ();
- constraint.Columns.Add (column);
- }
- }
- constraints.Add (constraint);
- }
- r.Close ();
- }
- } catch (Exception) {
- // Don't raise error, if the table doesn't exists return an empty collection
- } finally {
- conn.Release ();
- }
- }
- }
- return constraints;
- }
-
- public override UserSchemaCollection GetUsers ()
- {
- UserSchemaCollection users = new UserSchemaCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand ("SELECT * FROM pg_user;")) {
- try {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- UserSchema user = new UserSchema (this);
-
- user.Name = r.GetString (0);
- user.UserId = String.Format ("{0}", r.GetValue (1));
- user.Expires = r.IsDBNull (6) ? DateTime.MinValue : r.GetDateTime (6);
- user.Password = r.GetString (5);
-
- StringBuilder sb = new StringBuilder ();
- sb.AppendFormat ("-- User: \"{0}\"\n\n", user.Name);
- sb.AppendFormat ("-- DROP USER {0};\n\n", user.Name);
- sb.AppendFormat ("CREATE USER {0}", user.Name);
- sb.AppendFormat (" WITH SYSID {0}", user.UserId);
- if (user.Password != "********")
- sb.AppendFormat (" ENCRYPTED PASSWORD {0}", user.Password);
- if (user.Expires != DateTime.MinValue)
- sb.AppendFormat (" VALID UNTIL {0}", user.Expires);
- sb.Append (";");
- user.Definition = sb.ToString ();
- users.Add (user);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return users;
- }
-
- public override DataTypeSchemaCollection GetDataTypes ()
- {
- DataTypeSchemaCollection collection = new DataTypeSchemaCollection ();
-
- #region Types
- // ENUM
- DataTypeSchema schema = new DataTypeSchema (this);
- schema.Name = "smallint";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(Int16);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Integer
- schema = new DataTypeSchema (this);
- schema.Name = "integer";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(int);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Big Int
- schema = new DataTypeSchema (this);
- schema.Name = "bigint";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(long);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Serial
- schema = new DataTypeSchema (this);
- schema.Name = "serial";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(long);
- schema.IsAutoincrementable = true;
- schema.IsFixedLength = true;
- schema.IsNullable = false;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Big Serial
- schema = new DataTypeSchema (this);
- schema.Name = "bigserial";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(long);
- schema.IsAutoincrementable = true;
- schema.IsFixedLength = true;
- schema.IsNullable = false;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Numeric
- schema = new DataTypeSchema (this);
- schema.Name = "numeric";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(float);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Decimal
- schema = new DataTypeSchema (this);
- schema.Name = "decimal";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(float);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // real
- schema = new DataTypeSchema (this);
- schema.Name = "real";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(float);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // double precision
- schema = new DataTypeSchema (this);
- schema.Name = "double precision";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(float);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // money
- schema = new DataTypeSchema (this);
- schema.Name = "money";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(float);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // character varying
- schema = new DataTypeSchema (this);
- schema.Name = "character varying";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // varying
- schema = new DataTypeSchema (this);
- schema.Name = "varying";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // varchar
- schema = new DataTypeSchema (this);
- schema.Name = "varchar";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // text
- schema = new DataTypeSchema (this);
- schema.Name = "text";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // character
- schema = new DataTypeSchema (this);
- schema.Name = "character";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // char
- schema = new DataTypeSchema (this);
- schema.Name = "char";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // bytea
- schema = new DataTypeSchema (this);
- schema.Name = "bytea";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(byte);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // timeSpan
- schema = new DataTypeSchema (this);
- schema.Name = "timespan";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(object);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // interval
- schema = new DataTypeSchema (this);
- schema.Name = "interval";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(TimeSpan);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Date
- schema = new DataTypeSchema (this);
- schema.Name = "date";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(DateTime);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // Time
- schema = new DataTypeSchema (this);
- schema.Name = "time";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(DateTime);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // boolean
- schema = new DataTypeSchema (this);
- schema.Name = "boolean";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(bool);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // bit
- schema = new DataTypeSchema (this);
- schema.Name = "bit";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(bool);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // uuid
- schema = new DataTypeSchema (this);
- schema.Name = "bit";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(Guid);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // xml
- schema = new DataTypeSchema (this);
- schema.Name = "xml";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(Guid);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // point
- schema = new DataTypeSchema (this);
- schema.Name = "point";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // line
- schema = new DataTypeSchema (this);
- schema.Name = "line";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // lseg
- schema = new DataTypeSchema (this);
- schema.Name = "lseg";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // box
- schema = new DataTypeSchema (this);
- schema.Name = "box";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // polygon
- schema = new DataTypeSchema (this);
- schema.Name = "polygon";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // circle
- schema = new DataTypeSchema (this);
- schema.Name = "circle";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- // inet
- schema = new DataTypeSchema (this);
- schema.Name = "inet";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
-
- // cidr
- schema = new DataTypeSchema (this);
- schema.Name = "cidr";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(string);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = true;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- schema = new DataTypeSchema (this);
- schema.Name = "enum";
- schema.LengthRange = new Range (0);
- schema.DotNetType = typeof(object);
- schema.IsAutoincrementable = false;
- schema.IsFixedLength = false;
- schema.IsNullable = true;
- schema.ScaleRange = new Range (0, 0);
- schema.PrecisionRange = new Range (0, 0);
- collection.Add (schema);
-
- #endregion
- return collection;
- }
-
- public override TriggerSchemaCollection GetTableTriggers (TableSchema table)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
- TriggerSchemaCollection triggers = new TriggerSchemaCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format (
- @"SELECT * FROM
- information_schema.triggers
- WHERE event_object_table = '{0}' order by trigger_name",
- table.Name))) {
- try {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- TriggerSchema trigger = new TriggerSchema (this);
- trigger.Name = r.GetString (r.GetOrdinal ("trigger_name"));
- trigger.Source = r.GetString (r.GetOrdinal ("action_statement"));
- trigger.TriggerType = (TriggerType)Enum.Parse (typeof(TriggerType),
- r.GetString (r.GetOrdinal ("condition_timing")));
- trigger.TriggerEvent = (TriggerEvent)Enum.Parse (typeof(TriggerEvent),
- r.GetString (r.GetOrdinal ("event_manipulation")));
- trigger.TriggerFireType = TriggerFireType.ForEachRow;
- triggers.Add (trigger);
- }
- }
- } catch (NpgsqlException e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return triggers;
- }
-
- public override DataTypeSchema GetDataType (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- if (name == null)
- throw new ArgumentNullException ("name");
-
- string type = null;
- int length = 0;
- int scale = 0;
- ParseType (name, out type, out length, out scale);
-
- DataTypeSchema dts = new DataTypeSchema (this);
- dts.Name = type;
- switch (type) {
- case "enum":
- case "smallint":
- case "integer":
- case "bigint":
- case "serial":
- case "bigserial":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "numeric":
- case "decimal":
- case "real":
- case "double precision":
- case "money":
- dts.LengthRange = new Range (length);
- dts.ScaleRange = new Range (scale);
- dts.DataTypeCategory = DataTypeCategory.Float;
- break;
- case "character varying":
- case "varying":
- case "varchar":
- case "text":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.VarChar;
- break;
- case "character":
- case "char":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Char;
- break;
- case "bytea":
- dts.LengthRange = new Range (length);
- dts.DataTypeCategory = DataTypeCategory.Binary;
- break;
- case "timestamp":
- dts.DataTypeCategory = DataTypeCategory.TimeStamp;
- break;
- case "interval":
- dts.DataTypeCategory = DataTypeCategory.Interval;
- break;
- case "date":
- dts.DataTypeCategory = DataTypeCategory.Date;
- break;
- case "time":
- dts.DataTypeCategory = DataTypeCategory.Time;
- break;
- case "boolean":
- dts.DataTypeCategory = DataTypeCategory.Bit;
- break;
- case "point":
- case "line":
- case "lseg":
- case "box":
- case "polygon":
- case "circle":
- case "inet":
- case "cidr":
- // Research this
- dts.DataTypeCategory = DataTypeCategory.VarChar;
- break;
- case "bit":
- dts.DataTypeCategory = DataTypeCategory.Bit;
- break;
- case "uuid":
- dts.DataTypeCategory = DataTypeCategory.Uid;
- break;
- case "xml":
- dts.DataTypeCategory = DataTypeCategory.Xml;
- break;
- default:
- dts.DataTypeCategory = DataTypeCategory.Other;
- break;
- }
-
- return dts;
- }
-
- private void ParseType (string str, out string type, out int length, out int scale)
- {
- int parenOpen = str.IndexOf ('(');
- int parenClose = str.IndexOf (')');
- int commaPos = -1;
- if (parenOpen > 0)
- commaPos = str.IndexOf (',', parenOpen);
-
- if (parenOpen > 0) {
- type = str.Substring (0, parenOpen).Trim ();
-
- string lengthString = null;
- if (commaPos > 0) {
- lengthString = str.Substring (parenOpen + 1, commaPos - parenOpen - 1);
- string scaleString = str.Substring (commaPos + 1, parenClose - commaPos - 1).Trim ();
- int.TryParse (scaleString, out scale);
- } else {
- lengthString = str.Substring (parenOpen + 1, parenClose - parenOpen - 1);
- scale = 0;
- }
- int.TryParse (lengthString, out length);
- } else {
- type = str;
- length = 1;
- scale = 0;
- }
- }
-
- public override DatabaseSchema CreateDatabaseSchema (string name)
- {
- NpgsqlDatabaseSchema schema = new NpgsqlDatabaseSchema (this);
- schema.Name = name;
-
- return schema;
- }
-
- public NpgsqlTablespaceCollection GetTablespaces()
- {
- NpgsqlTablespaceCollection tables = new NpgsqlTablespaceCollection ();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand ("select * from pg_tablespace")) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- NpgsqlTablespace ts = new NpgsqlTablespace (this);
- ts.Name = r.GetString (r.GetOrdinal ("spcname"));
- ts.Oid = Convert.ToInt32 (r.GetValue (r.GetOrdinal ("spcowner")));
- tables.Add (ts);
- }
- }
- }
- }
- return tables;
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-createdatabase.html
- public override void CreateDatabase (DatabaseSchema database)
- {
- NpgsqlDatabaseSchema schema = (NpgsqlDatabaseSchema)database;
-
- StringBuilder sb = new StringBuilder (string.Concat("CREATE DATABASE ", database.Name));
- if (schema.Owner != null && schema.Owner.Name != string.Empty)
- sb.AppendFormat (" OWNER = {0}", schema.Owner.Name);
- if (schema.Template != null && schema.Template.Name != string.Empty)
- sb.AppendFormat (" TEMPLATE = {0}", schema.Template.Name);
- if (schema.Tablespace != null && schema.Tablespace.Name != string.Empty)
- sb.AppendFormat (" TABLESPACE = {0}", schema.Tablespace.Name);
- if (schema.Encoding != null && schema.Encoding.Name != string.Empty)
- sb.AppendFormat (" ENCODING = '{0}'", schema.Encoding.Name);
- ExecuteNonQuery (sb.ToString ());
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-createtable.html
- public override string GetTableCreateStatement (TableSchema table)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("CREATE TABLE ");
- sb.Append (table.Name);
- sb.Append (" (");
-
- bool first = true;
- foreach (ColumnSchema column in table.Columns) {
- if (first)
- first = false;
- else
- sb.Append ("," + Environment.NewLine);
-
- sb.Append (column.Name);
- sb.Append (' ');
- sb.Append (column.DataType.GetCreateString (column));
-
- if (!column.IsNullable)
- sb.Append (" NOT NULL ");
-
- if (column.HasDefaultValue) {
- sb.Append (" DEFAULT ");
- if (column.DefaultValue == null)
- sb.Append (" NULL ");
- else
- sb.Append (column.DefaultValue);
- }
-
- foreach (ConstraintSchema constraint in column.Constraints)
- sb.Append (GetConstraintString (constraint, false));
- }
-
- foreach (ConstraintSchema constraint in table.Constraints) {
- sb.Append ("," + Environment.NewLine);
- sb.Append (GetConstraintString (constraint, true));
- }
-
- sb.Append (")");
-
- if (table.TableSpaceName != null) {
- sb.Append (" TABLESPACE ");
- sb.Append (table.TableSpaceName);
- sb.Append (';');
- }
- sb.Append (';');
- foreach (TriggerSchema trigger in table.Triggers) {
- sb.Append (Environment.NewLine);
- sb.Append (GetTriggerCreateStatement (trigger));
- }
-
- return sb.ToString ();
- }
-
- protected virtual string GetConstraintString (ConstraintSchema constraint, bool isTableConstraint)
- {
- StringBuilder sb = new StringBuilder ();
- sb.Append ("CONSTRAINT ");
- sb.Append (constraint.Name);
- sb.Append (' ');
-
- switch (constraint.ConstraintType) {
- case ConstraintType.PrimaryKey:
- sb.Append ("PRIMARY KEY ");
- if (isTableConstraint)
- sb.Append (GetColumnsString (constraint.Columns, true));
- break;
- case ConstraintType.Unique:
- sb.Append ("UNIQUE ");
- if (isTableConstraint)
- sb.Append (GetColumnsString (constraint.Columns, true));
- break;
- case ConstraintType.ForeignKey:
- sb.Append ("FOREIGN KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- sb.Append (" REFERENCES ");
-
- ForeignKeyConstraintSchema fk = constraint as ForeignKeyConstraintSchema;
- sb.Append (fk.ReferenceTableName);
- sb.Append (' ');
- if (fk.ReferenceColumns != null)
- sb.Append (GetColumnsString (fk.ReferenceColumns, true));
- break;
- case ConstraintType.Check:
- sb.Append ("CHECK (");
- sb.Append ((constraint as CheckConstraintSchema).Source);
- sb.Append (")");
- break;
- default:
- throw new NotImplementedException ();
- }
-
- return sb.ToString ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-createview.html
- public override void CreateView (ViewSchema view)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-createindex.html
- //http://www.postgresql.org/docs/8.2/interactive/sql-createconstraint.html
- public override void CreateIndex (IndexSchema index)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-createtrigger.html
- public override void CreateTrigger (TriggerSchema trigger)
- {
- string sql = GetTriggerCreateStatement (trigger);
- ExecuteNonQuery (sql);
- }
-
- protected virtual string GetTriggerCreateStatement (TriggerSchema trigger)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("CREATE TRIGGER ");
- sb.Append (trigger.Name);
-
- switch (trigger.TriggerType) {
- case TriggerType.Before:
- sb.Append (" BEFORE");
- break;
- case TriggerType.After:
- sb.Append (" AFTER");
- break;
- default:
- throw new NotImplementedException ();
- }
-
- switch (trigger.TriggerEvent) {
- case TriggerEvent.Insert:
- sb.Append (" INSERT ");
- break;
- case TriggerEvent.Update:
- sb.Append (" UPDATE ");
- break;
- case TriggerEvent.Delete:
- sb.Append (" DELETE ");
- break;
- default:
- throw new NotImplementedException ();
- }
-
- sb.Append ("ON ");
- sb.Append (trigger.TableName);
- sb.Append (' ');
- sb.Append (Environment.NewLine);
-
- switch (trigger.TriggerFireType) {
- case TriggerFireType.ForEachRow:
- sb.Append (" FOR EACH ROW ");
- break;
- case TriggerFireType.ForEachStatement:
- sb.Append (" FOR EACH STATEMENT ");
- break;
- default:
- throw new NotImplementedException ();
- }
-
- sb.Append (Environment.NewLine);
- sb.Append ("EXECUTE PROCEDURE ");
- sb.Append (trigger.Source);
- sb.Append (";");
-
- return sb.ToString ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-createuser.html
- public override void CreateUser (UserSchema user)
- {
- throw new NotImplementedException ();
- }
-
- public override void AlterProcedure (ProcedureAlterSchema procedure)
- {
- ExecuteNonQuery (procedure.NewSchema.Definition);
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-alterdatabase.html
- public override void AlterDatabase (DatabaseAlterSchema database)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-altertable.html
- public override void AlterTable (TableAlterSchema table)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-alterindex.html
- public override void AlterIndex (IndexAlterSchema index)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-altertrigger.html
- public override void AlterTrigger (TriggerAlterSchema trigger)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-alteruser.html
- public override void AlterUser (UserAlterSchema user)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-dropdatabase.html
- public override void DropDatabase (DatabaseSchema database)
- {
- if (String.Compare (database.Name, "template1", true) == 0)
- throw new ArgumentOutOfRangeException ("Cannot delete template1 database");
-
- string connStr = null;
- // Close the pool, connect to a default DB an delete the other.
- DatabaseConnectionSettings newSettings = new DatabaseConnectionSettings(pool.ConnectionContext.ConnectionSettings);
- database.SchemaProvider.ConnectionPool.Close ();
- database.SchemaProvider.ConnectionPool.ConnectionContext.Refresh ();
- pool.Close ();
-
- newSettings.Database = "template1";
- if (newSettings.Port > 0)
- connStr = String.Format ("User ID={0};Password={1};Host={2};Port={3};Database={4};",
- newSettings.Username, newSettings.Password, newSettings.Server,
- newSettings.Port, newSettings.Database);
- else
- connStr = String.Format ("User ID={0};Password={1};Host={2};Database={3};",
- newSettings.Username, newSettings.Password,
- newSettings.Server, newSettings.Database);
-
- using (NpgsqlConnection conn = new NpgsqlConnection(connStr)) {
- conn.Open ();
- NpgsqlCommand cmd = new NpgsqlCommand (string.Concat("DROP DATABASE IF EXISTS \"", database.Name, "\";"));
- cmd.Connection = conn;
- cmd.ExecuteNonQuery ();
- conn.Close ();
- }
-
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-droptable.html
- public override void DropTable (TableSchema table)
- {
- ExecuteNonQuery (string.Concat("DROP TABLE IF EXISTS ", table.Name, ";"));
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-dropview.html
- public override void DropView (ViewSchema view)
- {
- ExecuteNonQuery (string.Concat("DROP VIEW IF EXISTS ", view.Name, ";"));
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-dropindex.html
- public override void DropIndex (IndexSchema index)
- {
- ExecuteNonQuery (string.Concat("DROP INDEX IF EXISTS ", index.Name, " ON ", index.TableName, ";"));
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-droptrigger.html
- public override void DropTrigger (TriggerSchema trigger)
- {
- ExecuteNonQuery (string.Concat("DROP TRIGGER IF EXISTS ", trigger.Name, " ON ", trigger.TableName, ";"));
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-dropuser.html
- public override void DropUser (UserSchema user)
- {
- ExecuteNonQuery (string.Concat("DROP USER IF EXISTS ", user.Name, ";"));
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-alterdatabase.html
- public override void RenameDatabase (DatabaseSchema database, string name)
- {
- ExecuteNonQuery (string.Concat("ALTER DATABASE ", database.Name, " RENAME TO ", name, ";"));
- connectionPool.ConnectionContext.ConnectionSettings.Database = name;
- database.Name = name;
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-altertable.html
- public override void RenameTable (TableSchema table, string name)
- {
- ExecuteNonQuery (string.Concat("ALTER TABLE ", table.Name, " RENAME TO ", name, ";"));
- table.Name = name;
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-altertable.html
- public override void RenameView (ViewSchema view, string name)
- {
- //this is no copy paste error, it really is "ALTER TABLE"
- ExecuteNonQuery (string.Concat("ALTER TABLE ", view.Name, " RENAME TO ", name, ";"));
- view.Name = name;
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-altertrigger.html
- public override void RenameTrigger (TriggerSchema trigger, string name)
- {
- ExecuteNonQuery (string.Concat("ALTER TRIGGER ", trigger.Name, " ON ", trigger.TableName, " RENAME TO ",
- name, ";"));
- trigger.Name = name;
- }
-
- //http://www.postgresql.org/docs/8.2/interactive/sql-alteruser.html
- public override void RenameUser (UserSchema user, string name)
- {
- ExecuteNonQuery (string.Concat("ALTER USER ", user.Name, " RENAME TO ", name, ";"));
- user.Name = name;
- }
-
- public override string GetViewAlterStatement (ViewSchema view)
- {
- return view.Definition.Insert (8, "OR REPLACE ");
- }
-
- public override string GetProcedureAlterStatement (ProcedureSchema procedure)
- {
- return procedure.Definition;
- }
-
- /// <summary>
- /// Last system OID used in postgres to monitor system vs user
- /// objects. This varies based on the connections Server Version.
- /// </summary>
- protected int LastSystemOID {
- get {
- if (lastSystemOID != 0)
- return lastSystemOID;
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (NpgsqlConnection internalConn = conn.DbConnection as NpgsqlConnection) {
- int major = internalConn.ServerVersion.Major;
- int minor = internalConn.ServerVersion.Minor;
- try {
- using (IDbCommand command = conn.CreateCommand (
- "SELECT datlastsysoid FROM pg_database Limit 1"))
- using (IDataReader r = command.ExecuteReader())
- if (r.Read ())
- lastSystemOID = Convert.ToInt32 (r.GetValue (0));
- else
- throw new Exception ();
-
- } catch (Exception) {
- if (major == 8)
- lastSystemOID = 17137;
- else if (major == 7 && minor == 1)
- lastSystemOID = 18539;
- else if (major == 7 && minor == 2)
- lastSystemOID = 16554;
- else if (major == 7 && minor == 3)
- lastSystemOID = 16974;
- else if (major == 7 && minor == 4)
- lastSystemOID = 17137;
- else
- lastSystemOID = 17137;
- } finally {
- conn.Release ();
- }
- }
- return lastSystemOID;
- }
- }
- }
-
- public override string GetMimeType ()
- {
- return "text/x-npgsql";
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSyntaxMode.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSyntaxMode.xml
deleted file mode 100644
index 295c35c19a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/NpgsqlSyntaxMode.xml
+++ /dev/null
@@ -1,610 +0,0 @@
-<!-- NpgsqlSyntaxMode.xml - Npgsql Syntaxis mode file.
-
- Author:
- Luciano N. Callero <lnc19@hotmail.com>
-
- Copyright (c) 2009 Luciano N. Callero
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE. -->
-
-<SyntaxMode name = "Npgsql" mimeTypes="text/x-npgsql" ignorecase="true">
-
- <EolSpan color = "Comment(Line)" rule="Comment" tagColor="comment.tag">-</EolSpan>
-
- <Span color = "Comment(Block)" rule="Comment" tagColor="comment.tag.block">
- <Begin>/*</Begin>
- <End>*/</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>"</Begin>
- <End>"</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>'</Begin>
- <End>'</End>
- </Span>
-
- <Keywords color = "Keyword(Other)">
- <Word>abs</Word>
- <Word>cbrt</Word>
- <Word>ceil</Word>
- <Word>ceiling</Word>
- <Word>degrees</Word>
- <Word>exp</Word>
- <Word>floor</Word>
- <Word>ln</Word>
- <Word>log</Word>
- <Word>mod</Word>
- <Word>pi</Word>
- <Word>power</Word>
- <Word>radians</Word>
- <Word>random</Word>
- <Word>round</Word>
- <Word>setseed</Word>
- <Word>sign</Word>
- <Word>sqrt</Word>
- <Word>trunc</Word>
- <Word>width_bucket</Word>
- <Word>acos</Word>
- <Word>asin</Word>
- <Word>atan</Word>
- <Word>atan2</Word>
- <Word>cos</Word>
- <Word>cot</Word>
- <Word>sin</Word>
- <Word>tan</Word>
- <Word>character_length</Word>
- <Word>string</Word>
- <Word>bit_length</Word>
- <Word>char_length</Word>
- <Word>convert</Word>
- <Word>lower</Word>
- <Word>octet_length</Word>
- <Word>overlay</Word>
- <Word>position</Word>
- <Word>substring</Word>
- <Word>trim</Word>
- <Word>upper</Word>
- <Word>ascii</Word>
- <Word>btrim</Word>
- <Word>chr</Word>
- <Word>convert</Word>
- <Word>decode</Word>
- <Word>encode</Word>
- <Word>initcap</Word>
- <Word>length</Word>
- <Word>lpad</Word>
- <Word>ltrim</Word>
- <Word>md5</Word>
- <Word>pg_client_encoding</Word>
- <Word>quote_ident</Word>
- <Word>regexp_replace</Word>
- <Word>repeat</Word>
- <Word>replace</Word>
- <Word>rpad</Word>
- <Word>rtrim</Word>
- <Word>split_part</Word>
- <Word>strpos</Word>
- <Word>substr</Word>
- <Word>to_ascii</Word>
- <Word>to_hex</Word>
- <Word>translate</Word>
- <Word>Notes:</Word>
- <Word>ascii_to_mic</Word>
- <Word>ascii_to_utf8</Word>
- <Word>big5_to_euc_tw</Word>
- <Word>big5_to_mic</Word>
- <Word>big5_to_utf8</Word>
- <Word>euc_cn_to_mic</Word>
- <Word>euc_cn_to_utf8</Word>
- <Word>euc_jp_to_mic</Word>
- <Word>euc_jp_to_sjis</Word>
- <Word>euc_jp_to_utf8</Word>
- <Word>euc_kr_to_mic</Word>
- <Word>euc_kr_to_utf8</Word>
- <Word>euc_tw_to_big5</Word>
- <Word>euc_tw_to_mic</Word>
- <Word>euc_tw_to_utf8</Word>
- <Word>gb18030_to_utf8</Word>
- <Word>gbk_to_utf8</Word>
- <Word>iso_8859_10_to_utf8</Word>
- <Word>iso_8859_13_to_utf8</Word>
- <Word>iso_8859_14_to_utf8</Word>
- <Word>iso_8859_15_to_utf8</Word>
- <Word>iso_8859_16_to_utf8</Word>
- <Word>iso_8859_1_to_mic</Word>
- <Word>iso_8859_1_to_utf8</Word>
- <Word>iso_8859_2_to_mic</Word>
- <Word>iso_8859_2_to_utf8</Word>
- <Word>iso_8859_2_to_windows_1250</Word>
- <Word>iso_8859_3_to_mic</Word>
- <Word>iso_8859_3_to_utf8</Word>
- <Word>iso_8859_4_to_mic</Word>
- <Word>iso_8859_4_to_utf8</Word>
- <Word>iso_8859_5_to_koi8_r</Word>
- <Word>iso_8859_5_to_mic</Word>
- <Word>iso_8859_5_to_utf8</Word>
- <Word>iso_8859_5_to_windows_1251</Word>
- <Word>iso_8859_5_to_windows_866</Word>
- <Word>iso_8859_6_to_utf8</Word>
- <Word>iso_8859_7_to_utf8</Word>
- <Word>iso_8859_8_to_utf8</Word>
- <Word>iso_8859_9_to_utf8</Word>
- <Word>johab_to_utf8</Word>
- <Word>koi8_r_to_iso_8859_5</Word>
- <Word>koi8_r_to_mic</Word>
- <Word>koi8_r_to_utf8</Word>
- <Word>koi8_r_to_windows_1251</Word>
- <Word>koi8_r_to_windows_866</Word>
- <Word>mic_to_ascii</Word>
- <Word>mic_to_big5</Word>
- <Word>mic_to_euc_cn</Word>
- <Word>mic_to_euc_jp</Word>
- <Word>mic_to_euc_kr</Word>
- <Word>mic_to_euc_tw</Word>
- <Word>mic_to_iso_8859_1</Word>
- <Word>mic_to_iso_8859_2</Word>
- <Word>mic_to_iso_8859_3</Word>
- <Word>mic_to_iso_8859_4</Word>
- <Word>mic_to_iso_8859_5</Word>
- <Word>mic_to_koi8_r</Word>
- <Word>mic_to_sjis</Word>
- <Word>mic_to_windows_1250</Word>
- <Word>mic_to_windows_1251</Word>
- <Word>mic_to_windows_866</Word>
- <Word>sjis_to_euc_jp</Word>
- <Word>sjis_to_mic</Word>
- <Word>sjis_to_utf8</Word>
- <Word>tcvn_to_utf8</Word>
- <Word>uhc_to_utf8</Word>
- <Word>utf8_to_ascii</Word>
- <Word>utf8_to_big5</Word>
- <Word>utf8_to_euc_cn</Word>
- <Word>utf8_to_euc_jp</Word>
- <Word>utf8_to_euc_kr</Word>
- <Word>utf8_to_euc_tw</Word>
- <Word>utf8_to_gb18030</Word>
- <Word>utf8_to_gbk</Word>
- <Word>utf8_to_iso_8859_1</Word>
- <Word>utf8_to_iso_8859_10</Word>
- <Word>utf8_to_iso_8859_13</Word>
- <Word>utf8_to_iso_8859_14</Word>
- <Word>utf8_to_iso_8859_15</Word>
- <Word>utf8_to_iso_8859_16</Word>
- <Word>utf8_to_iso_8859_2</Word>
- <Word>utf8_to_iso_8859_3</Word>
- <Word>utf8_to_iso_8859_4</Word>
- <Word>utf8_to_iso_8859_5</Word>
- <Word>utf8_to_iso_8859_6</Word>
- <Word>utf8_to_iso_8859_7</Word>
- <Word>utf8_to_iso_8859_8</Word>
- <Word>utf8_to_iso_8859_9</Word>
- <Word>utf8_to_johab</Word>
- <Word>utf8_to_koi8_r</Word>
- <Word>utf8_to_sjis</Word>
- <Word>utf8_to_tcvn</Word>
- <Word>utf8_to_uhc</Word>
- <Word>utf8_to_windows_1250</Word>
- <Word>utf8_to_windows_1251</Word>
- <Word>utf8_to_windows_1252</Word>
- <Word>utf8_to_windows_1256</Word>
- <Word>utf8_to_windows_866</Word>
- <Word>utf8_to_windows_874</Word>
- <Word>windows_1250_to_iso_8859_2</Word>
- <Word>windows_1250_to_mic</Word>
- <Word>windows_1250_to_utf8</Word>
- <Word>windows_1251_to_iso_8859_5</Word>
- <Word>windows_1251_to_koi8_r</Word>
- <Word>windows_1251_to_mic</Word>
- <Word>windows_1251_to_utf8</Word>
- <Word>windows_1251_to_windows_866</Word>
- <Word>windows_1252_to_utf8</Word>
- <Word>windows_1256_to_utf8</Word>
- <Word>windows_866_to_iso_8859_5</Word>
- <Word>windows_866_to_koi8_r</Word>
- <Word>windows_866_to_mic</Word>
- <Word>windows_866_to_utf8</Word>
- <Word>windows_866_to_windows_1251</Word>
- <Word>windows_874_to_utf8</Word>
- <Word>get_byte</Word>
- <Word>set_byte</Word>
- <Word>get_bit</Word>
- <Word>set_bit</Word>
- <Word>to_char</Word>
- <Word>to_date</Word>
- <Word>to_timestamp</Word>
- <Word>to_number</Word>
- <Word>age</Word>
- <Word>current_date</Word>
- <Word>current_time</Word>
- <Word>current_timestamp</Word>
- <Word>date_part</Word>
- <Word>date_trunc</Word>
- <Word>extract</Word>
- <Word>isfinite</Word>
- <Word>justify_hours</Word>
- <Word>justify_days</Word>
- <Word>localtime</Word>
- <Word>localtimestamp</Word>
- <Word>now</Word>
- <Word>timeofday</Word>
- <Word>area</Word>
- <Word>center</Word>
- <Word>diameter</Word>
- <Word>height</Word>
- <Word>isclosed</Word>
- <Word>isopen</Word>
- <Word>npoints</Word>
- <Word>pclose</Word>
- <Word>popen</Word>
- <Word>radius</Word>
- <Word>width</Word>
- <Word>box</Word>
- <Word>circle</Word>
- <Word>lseg</Word>
- <Word>path</Word>
- <Word>point</Word>
- <Word>polygon</Word>
- <Word>broadcast</Word>
- <Word>host</Word>
- <Word>masklen</Word>
- <Word>set_masklen</Word>
- <Word>netmask</Word>
- <Word>hostmask</Word>
- <Word>network</Word>
- <Word>text</Word>
- <Word>abbrev</Word>
- <Word>family</Word>
- <Word>trunc</Word>
- <Word>nextval</Word>
- <Word>currval</Word>
- <Word>lastval</Word>
- <Word>setval</Word>
- <Word>nullif</Word>
- <Word>array_cat </Word>
- <Word>array_append</Word>
- <Word>array_prepend</Word>
- <Word>array_dims</Word>
- <Word>array_lower</Word>
- <Word>array_upper</Word>
- <Word>array_to_string</Word>
- <Word>string_to_array</Word>
- <Word>avg</Word>
- <Word>bit_and</Word>
- <Word>bit_or</Word>
- <Word>bool_and</Word>
- <Word>bool_or</Word>
- <Word>count</Word>
- <Word>count</Word>
- <Word>every</Word>
- <Word>max</Word>
- <Word>min</Word>
- <Word>stddev</Word>
- <Word>sum</Word>
- <Word>variance</Word>
- <Word>current_database</Word>
- <Word>current_schema</Word>
- <Word>current_schemas</Word>
- <Word>current_user</Word>
- <Word>inet_client_addr</Word>
- <Word>inet_client_port</Word>
- <Word>inet_server_addr</Word>
- <Word>inet_server_port</Word>
- <Word>session_user</Word>
- <Word>pg_postmaster_start_time</Word>
- <Word>user</Word>
- <Word>version</Word>
- <Word>has_table_privilege</Word>
- <Word>has_database_privilege</Word>
- <Word>has_function_privilege</Word>
- <Word>has_language_privilege</Word>
- <Word>pg_has_role</Word>
- <Word>has_schema_privilege</Word>
- <Word>has_tablespace_privilege</Word>
- <Word>pg_table_is_visible</Word>
- <Word>pg_type_is_visible</Word>
- <Word>pg_function_is_visible</Word>
- <Word>pg_operator_is_visible</Word>
- <Word>pg_opclass_is_visible</Word>
- <Word>pg_conversion_is_visible</Word>
- <Word>format_type</Word>
- <Word>pg_get_constraintdef</Word>
- <Word>pg_get_expr</Word>
- <Word>pg_get_indexdef</Word>
- <Word>pg_get_ruledef</Word>
- <Word>pg_get_serial_sequence</Word>
- <Word>pg_tablespace_databases</Word>
- <Word>pg_get_triggerdef</Word>
- <Word>pg_get_userbyid</Word>
- <Word>pg_get_viewdef</Word>
- <Word></Word>
- <Word></Word>
- <Word></Word>
- <Word></Word>
- <Word>obj_description</Word>
- <Word>col_description</Word>
- <Word>current_setting</Word>
- <Word>set_config</Word>
- <Word>pg_cancel_backend</Word>
- <Word>pg_reload_conf</Word>
- <Word>pg_rotate_logfile</Word>
- <Word>pg_start_backup</Word>
- <Word>pg_stop_backup</Word>
- <Word>pg_column_size</Word>
- <Word>pg_tablespace_size</Word>
- <Word>pg_database_size</Word>
- <Word>pg_relation_size</Word>
- <Word>pg_total_relation_size</Word>
- <Word>pg_size_pretty</Word>
- <Word>pg_ls_dir</Word>
- <Word>pg_read_file</Word>
- <Word>pg_stat_file</Word>
-
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Operator)">
- <Word>AND</Word>
- <Word>OR</Word>
- <Word>NOT</Word>
- <Word>&lt;</Word>
- <Word>&gt;</Word>
- <Word>&lt;=</Word>
- <Word>&gt;=</Word>
- <Word>=</Word>
- <Word>&lt;&gt;</Word>
- <Word>!=</Word>
- <Word>BETWEEN</Word>
- <Word>IS</Word>
- <Word>NOT</Word>
- <Word>NULL</Word>
- <Word>UNKNOW</Word>
- <Word>+</Word>
- <Word>-</Word>
- <Word>*</Word>
- <Word>/</Word>
- <Word>%</Word>
- <Word>^</Word>
- <Word>|/</Word>
- <Word>||/</Word>
- <Word>!</Word>
- <Word>!!</Word>
- <Word>@</Word>
- <Word>&amp;</Word>
- <Word>|</Word>
- <Word>#</Word>
- <Word>~</Word>
- <Word>&lt;&lt;</Word>
- <Word>&gt;&gt;</Word>
- <Word>LIKE</Word>
- <Word>SIMILAR</Word>
- <Word>TO</Word>
- <Word>~</Word>
- <Word>~*</Word>
- <Word>!~</Word>
- <Word>!~*</Word>
- <Word>@-@</Word>
- <Word>@@</Word>
- <Word>##</Word>
- <Word>&gt;-&lt;</Word>
- <Word>&amp;&amp;</Word>
- <Word>&lt;&lt;</Word>
- <Word>&gt;&gt;</Word>
- <Word>&amp;&lt;</Word>
- <Word>&amp;&gt;</Word>
- <Word>?#</Word>
- <Word>?-</Word>
- <Word>?|</Word>
- <Word>?-|</Word>
- <Word>?||</Word>
- <Word>~=</Word>
- <Word>CASE</Word>
- <Word>WHEN</Word>
- <Word>THEN</Word>
- <Word>ANY</Word>
- <Word>SOME</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Declaration)">
- <Word>CREATE</Word>
- <Word>DATABASE</Word>
- <Word>WITH</Word>
- <Word>OWNER</Word>
- <Word>TEMPLATE</Word>
- <Word>TABLESPACE</Word>
- <Word>ENCODING</Word>
- <Word>LC_COLLATE</Word>
- <Word>LC_CTYPE</Word>
- <Word>DROP</Word>
- <Word>DATABASE</Word>
- <Word>IF</Word>
- <Word>EXISTS</Word>
- <Word>REPLACE</Word>
- <Word>FUNCTION</Word>
- <Word>CALLED</Word>
- <Word>LANGUAGE</Word>
- <Word>WINDOW</Word>
- <Word>INMUTABLE</Word>
- <Word>STABLE</Word>
- <Word>VOLATILE</Word>
- <Word>INPUT</Word>
- <Word>STRICT</Word>
- <Word>EXTERNAL</Word>
- <Word>WITH</Word>
- <Word>FUNCTION</Word>
- <Word>CREATE</Word>
- <Word>GLOBAL</Word>
- <Word>TEMPORARY</Word>
- <Word>TEMP</Word>
- <Word>INHERITS</Word>
- <Word>COMMIT</Word>
- <Word>ROWS</Word>
- <Word>PRESERVE</Word>
- <Word>DELETE</Word>
- <Word>CONSTRAINT</Word>
- <Word>UNIQUE</Word>
- <Word>PRIMARY</Word>
- <Word>KEY</Word>
- <Word>CHECK</Word>
- <Word>FOREIGN</Word>
- <Word>REFERENCES</Word>
- <Word>DEFERRABLE</Word>
- <Word>INITIALLY</Word>
- <Word>IMMEDIATE</Word>
- <Word>USING</Word>
- <Word>INDEX</Word>
- <Word>TABLESPACE</Word>
- <Word>RENAME TO</Word>
- <Word>ALTET</Word>
- <Word>COLUMN</Word>
- <Word>ADD</Word>
- <Word>DISABLE</Word>
- <Word>TRIGGER</Word>
- <Word>ENABLE</Word>
- <Word>DEFAULT</Word>
- <Word>SET</Word>
- <Word>STORAGE</Word>
- <Word>STATISTICS</Word>
- <Word>UNIQUE</Word>
- <Word>INDEX</Word>
- <Word>ROLE</Word>
- <Word></Word>
- <Word>ROLE</Word>
- <Word>PROCEDURAL</Word>
- <Word>LANGUAGE</Word>
- <Word>TRUSTED</Word>
- <Word>VIEW</Word>
- <Word>REPLACE</Word>
- <Word>TEMPORARY</Word>
- <Word>TEMP</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Parameter)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Selection)">
- <Word>SELECT</Word>
- <Word>FROM</Word>
- <Word>WHERE</Word>
- <Word>INNER</Word>
- <Word>LEFT</Word>
- <Word>RIGHT</Word>
- <Word>CROSS</Word>
- <Word>JOIN</Word>
- <Word>UNION</Word>
- <Word>ALL</Word>
- <Word>LIMIT</Word>
- <Word>USE</Word>
- <Word>MAX</Word>
- <Word>COUNT</Word>
- <Word>MIN</Word>
- <Word>SUM</Word>
- <Word>ASC</Word>
- <Word>DESC</Word>
- <Word>DELETE</Word>
- <Word>UPDATE</Word>
- <Word>EXISTS</Word>
- <Word>INSERT</Word>
- <Word>INTO</Word>
- <Word>Group</Word>
- <Word>By</Word>
- <Word>Order</Word>
- <Word>Having</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Iteration)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Jump)">
- <Word>BREAK</Word>
- <Word>RETURN</Word>
- <Word>RETURNS</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Context)">
- </Keywords>
-
- <Keywords color = "Keyword(Exception)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Constants)">
- <Word>TRUE</Word>
- <Word>FALSE</Word>
- <Word>NULL</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Modifiers)">
- <Word>DEFAULT</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Type)">
- <Word>bigint</Word>
- <Word>bigserial</Word>
- <Word>bit</Word>
- <Word>boolean</Word>
- <Word>box</Word>
- <Word>bytea</Word>
- <Word>character</Word>
- <Word>varying</Word>
- <Word>cidr</Word>
- <Word>circle</Word>
- <Word>date</Word>
- <Word>double</Word>
- <Word>precision</Word>
- <Word>inet</Word>
- <Word>integer</Word>
- <Word>interval</Word>
- <Word>line</Word>
- <Word>lseg</Word>
- <Word>macaddr</Word>
- <Word>money</Word>
- <Word>numeric</Word>
- <Word>path</Word>
- <Word>point</Word>
- <Word>polygon</Word>
- <Word>real</Word>
- <Word>smallint</Word>
- <Word>serial</Word>
- <Word>text</Word>
- <Word>time</Word>
- <Word>timestamp</Word>
- <Word>tsquery</Word>
- <Word>tsvector</Word>
- <Word>txid_snapshot</Word>
- <Word>uuid</Word>
- <Word>xml</Word>
-
- </Keywords>
-
- <Rule name = "text.preprocessor">
- </Rule>
-
- <Rule name = "Comment">
- <Keywords color="Comment Tag" ignorecase="True">
- <Word>TODO</Word>
- <Word>FIXME</Word>
- <Word>HACK</Word>
- <Word>UNDONE</Word>
- </Keywords>
- </Rule>
-
- <Rule name = "String">
- </Rule>
-</SyntaxMode>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlDatabaseSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlDatabaseSchema.cs
deleted file mode 100644
index 657a53e38b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlDatabaseSchema.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// NpgsqlDatabaseSchema.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
- public class NpgsqlDatabaseSchema:DatabaseSchema
- {
- NpgsqlEncoding encoding;
- DatabaseSchema template;
- UserSchema owner;
- NpgsqlTablespace tablespace;
-
- public DatabaseSchema Template {
- get {
- return template;
- }
- set {
- template = value;
- }
- }
-
- public NpgsqlTablespace Tablespace {
- get {
- return tablespace;
- }
- set {
- tablespace = value;
- }
- }
-
- public UserSchema Owner {
- get {
- return owner;
- }
- set {
- owner = value;
- }
- }
-
- public NpgsqlEncoding Encoding {
- get {
- return encoding;
- }
- set {
- encoding = value;
- }
- }
-
-
-
- public NpgsqlDatabaseSchema (ISchemaProvider provider):base (provider)
- {
-
-
- }
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlEncoding.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlEncoding.cs
deleted file mode 100644
index 74bb3ce86d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlEncoding.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-//
-// NpgsqlEncoding.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
- public class NpgsqlEncoding:AbstractSchema
- {
- string language;
- string description;
- bool server;
- string bytes_char;
- string aliases;
-
- public bool Server {
- get {
- return server;
- }
- set {
- server = value;
- }
- }
-
- public string Language {
- get {
- return language;
- }
- set {
- language = value;
- }
- }
-
- public string BytesChar {
- get {
- return bytes_char;
- }
- set {
- bytes_char = value;
- }
- }
-
- public string Aliases {
- get {
- return aliases;
- }
- set {
- aliases = value;
- }
- }
-
- public string Description {
- get {
- return description;
- }
- set {
- description = value;
- }
- }
-
-
- public NpgsqlEncoding (ISchemaProvider provider ):base (provider)
- {
- }
-
- public NpgsqlEncoding (NpgsqlEncoding encoding):base(encoding)
- {
- this.Name = encoding.Name;
- this.Aliases = encoding.Aliases;
- this.BytesChar = encoding.BytesChar;
- this.Description = encoding.Description;
- this.Language = encoding.Language;
- this.Server = encoding.Server;
-
- }
-
- public override object Clone ()
- {
- return new NpgsqlEncoding (this);
- }
-
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlTablespace.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlTablespace.cs
deleted file mode 100644
index c85fd7c0af..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/NpgsqlTablespace.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// NpgsqlTablespace.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
- public class NpgsqlTablespace:AbstractSchema
- {
- int oid;
-
- public int Oid {
- get {
- return oid;
- }
- set {
- oid = value;
- }
- }
-
- public NpgsqlTablespace (ISchemaProvider provider):base(provider)
- {
- }
-
- public NpgsqlTablespace(AbstractSchema schema):base(schema)
- {
- oid = ((NpgsqlTablespace)schema).Oid;
- name = schema.Name;
- }
-
- public override object Clone ()
- {
- return new NpgsqlTablespace (this);
- }
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/dummy.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/dummy.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Schema/dummy.cs
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlColumnEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlColumnEditorWidget.cs
deleted file mode 100644
index 401a936bca..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlColumnEditorWidget.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-
-using System;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
-
-
- [System.ComponentModel.Category("MonoDevelop.Database.Sql.Npgsql")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class NpgsqlColumnEditorWidget : Gtk.Bin
- {
-
- public NpgsqlColumnEditorWidget()
- {
- this.Build();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlCreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlCreateDatabaseWidget.cs
deleted file mode 100644
index 489c80a426..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/Widgets/NpgsqlCreateDatabaseWidget.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Text;
-
-namespace MonoDevelop.Database.Sql.Npgsql
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Sql.Npgsql")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class NpgsqlCreateDatabaseWidget : Gtk.Bin
- {
- ListStore ownersStore;
- ListStore templatesStore;
- ListStore encodingsStore;
- ListStore tablespacesStore;
-
- public NpgsqlCreateDatabaseWidget()
- {
- this.Build();
- ownersStore = new ListStore (typeof (string), typeof (UserSchema));
- templatesStore = new ListStore (typeof (string), typeof (DatabaseSchema));
- encodingsStore = new ListStore (typeof (string), typeof (NpgsqlEncoding));
- tablespacesStore = new ListStore (typeof (string), typeof(NpgsqlTablespace));
-
- comboOwner.Model = ownersStore;
- comboTemplate.Model = templatesStore;
- comboEncoding.Model = encodingsStore;
- comboTablespace.Model = tablespacesStore;
- }
-
- private void ClearCombos ()
- {
- ownersStore.Clear ();
- templatesStore.Clear ();
- encodingsStore.Clear ();
- tablespacesStore.Clear ();
-
- }
-
- public void Initialize (NpgsqlSchemaProvider provider)
- {
- UserSchemaCollection users = provider.GetUsers ();
- DatabaseSchemaCollection databases = provider.GetDatabases ();
- NpgsqlEncodingCollection encodings = provider.GetEncodings ();
- NpgsqlTablespaceCollection tablespaces = provider.GetTablespaces ();
-
- foreach (UserSchema user in users)
- ownersStore.AppendValues (user.Name, user);
-
- foreach (DatabaseSchema db in databases)
- templatesStore.AppendValues (db.Name, db);
-
- foreach (NpgsqlEncoding enc in encodings) {
- StringBuilder encName = new StringBuilder (enc.Name);
- encName.AppendFormat (" - {0} - {1}", enc.Description, enc.Language);
- if (enc.Aliases != string.Empty)
- encName.AppendFormat (" ({0})", enc.Aliases);
- encodingsStore.AppendValues (encName.ToString (), enc);
- }
-
- foreach (NpgsqlTablespace ts in tablespaces)
- tablespacesStore.AppendValues (ts.Name, ts);
- }
-
- public void SetDatabaseOptions (NpgsqlDatabaseSchema schema)
- {
- TreeIter iter;
-
- if (comboOwner.GetActiveIter (out iter))
- schema.Owner = (UserSchema)ownersStore.GetValue (iter,1);
- else if (comboOwner.ActiveText != String.Empty) {
- Console.WriteLine ("Elegido");
- UserSchema user = new UserSchema (schema.SchemaProvider);
- user.Name = comboOwner.ActiveText;
- }
-
- if (comboTemplate.GetActiveIter (out iter))
- schema.Template = (DatabaseSchema)templatesStore.GetValue (iter,1);
- else if (comboTemplate.ActiveText != string.Empty) {
- DatabaseSchema db = new DatabaseSchema (schema.SchemaProvider);
- db.Name = comboTemplate.ActiveText;
- }
-
- if (comboEncoding.GetActiveIter (out iter))
- schema.Encoding = (NpgsqlEncoding)encodingsStore.GetValue (iter, 1);
- else if (comboEncoding.ActiveText != string.Empty) {
- NpgsqlEncoding enc = new NpgsqlEncoding (schema.SchemaProvider);
- enc.Name = comboEncoding.ActiveText;
- }
-
- if (comboTablespace.GetActiveIter (out iter))
- schema.Tablespace = (NpgsqlTablespace)tablespacesStore.GetValue (iter, 1);
- else if (comboTablespace.ActiveText != string.Empty) {
- NpgsqlTablespace ts = new NpgsqlTablespace (schema.SchemaProvider);
- ts.Name = comboTablespace.ActiveText;
- }
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget.cs
deleted file mode 100644
index 81431a41b3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Sql.Npgsql
-{
- public partial class NpgsqlColumnEditorWidget
- {
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget";
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.cs
deleted file mode 100644
index 579a83254b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Sql.Npgsql
-{
- public partial class NpgsqlCreateDatabaseWidget
- {
- private global::Gtk.Table table1;
-
- private global::Gtk.ComboBoxEntry comboEncoding;
-
- private global::Gtk.ComboBoxEntry comboOwner;
-
- private global::Gtk.ComboBoxEntry comboTablespace;
-
- private global::Gtk.ComboBoxEntry comboTemplate;
-
- private global::Gtk.Label labelEncoding;
-
- private global::Gtk.Label labelOwner;
-
- private global::Gtk.Label labelTablespace;
-
- private global::Gtk.Label labelTemplate;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget";
- // Container child MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget.Gtk.Container+ContainerChild
- this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
- this.table1.Name = "table1";
- this.table1.RowSpacing = ((uint)(6));
- this.table1.ColumnSpacing = ((uint)(6));
- // Container child table1.Gtk.Table+TableChild
- this.comboEncoding = new global::Gtk.ComboBoxEntry ();
- this.comboEncoding.Name = "comboEncoding";
- this.table1.Add (this.comboEncoding);
- global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboEncoding]));
- w1.TopAttach = ((uint)(2));
- w1.BottomAttach = ((uint)(3));
- w1.LeftAttach = ((uint)(1));
- w1.RightAttach = ((uint)(2));
- w1.XOptions = ((global::Gtk.AttachOptions)(4));
- w1.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.comboOwner = new global::Gtk.ComboBoxEntry ();
- this.comboOwner.Name = "comboOwner";
- this.table1.Add (this.comboOwner);
- global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboOwner]));
- w2.LeftAttach = ((uint)(1));
- w2.RightAttach = ((uint)(2));
- w2.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.comboTablespace = new global::Gtk.ComboBoxEntry ();
- this.comboTablespace.Name = "comboTablespace";
- this.table1.Add (this.comboTablespace);
- global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboTablespace]));
- w3.TopAttach = ((uint)(3));
- w3.BottomAttach = ((uint)(4));
- w3.LeftAttach = ((uint)(1));
- w3.RightAttach = ((uint)(2));
- w3.XOptions = ((global::Gtk.AttachOptions)(4));
- w3.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.comboTemplate = new global::Gtk.ComboBoxEntry ();
- this.comboTemplate.Name = "comboTemplate";
- this.table1.Add (this.comboTemplate);
- global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboTemplate]));
- w4.TopAttach = ((uint)(1));
- w4.BottomAttach = ((uint)(2));
- w4.LeftAttach = ((uint)(1));
- w4.RightAttach = ((uint)(2));
- w4.XOptions = ((global::Gtk.AttachOptions)(4));
- w4.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.labelEncoding = new global::Gtk.Label ();
- this.labelEncoding.Name = "labelEncoding";
- this.labelEncoding.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Encoding");
- this.table1.Add (this.labelEncoding);
- global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEncoding]));
- w5.TopAttach = ((uint)(2));
- w5.BottomAttach = ((uint)(3));
- w5.XOptions = ((global::Gtk.AttachOptions)(4));
- w5.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.labelOwner = new global::Gtk.Label ();
- this.labelOwner.Name = "labelOwner";
- this.labelOwner.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Owner");
- this.table1.Add (this.labelOwner);
- global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelOwner]));
- w6.XOptions = ((global::Gtk.AttachOptions)(4));
- w6.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.labelTablespace = new global::Gtk.Label ();
- this.labelTablespace.Name = "labelTablespace";
- this.labelTablespace.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Tablespace");
- this.table1.Add (this.labelTablespace);
- global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelTablespace]));
- w7.TopAttach = ((uint)(3));
- w7.BottomAttach = ((uint)(4));
- w7.XOptions = ((global::Gtk.AttachOptions)(4));
- w7.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.labelTemplate = new global::Gtk.Label ();
- this.labelTemplate.Name = "labelTemplate";
- this.labelTemplate.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Template");
- this.table1.Add (this.labelTemplate);
- global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelTemplate]));
- w8.TopAttach = ((uint)(1));
- w8.BottomAttach = ((uint)(2));
- w8.XOptions = ((global::Gtk.AttachOptions)(4));
- w8.YOptions = ((global::Gtk.AttachOptions)(4));
- this.Add (this.table1);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/generated.cs
deleted file mode 100644
index aa96390c4a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/generated.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class BinContainer
- {
- private Gtk.Widget child;
-
- private Gtk.UIManager uimanager;
-
- public static BinContainer Attach (Gtk.Bin bin)
- {
- BinContainer bc = new BinContainer ();
- bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested);
- bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated);
- bin.Added += new Gtk.AddedHandler (bc.OnAdded);
- return bc;
- }
-
- private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
- {
- if ((this.child != null)) {
- args.Requisition = this.child.SizeRequest ();
- }
- }
-
- private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
- {
- if ((this.child != null)) {
- this.child.Allocation = args.Allocation;
- }
- }
-
- private void OnAdded (object sender, Gtk.AddedArgs args)
- {
- this.child = args.Widget;
- }
-
- public void SetUiManager (Gtk.UIManager uim)
- {
- this.uimanager = uim;
- this.child.Realized += new System.EventHandler (this.OnRealized);
- }
-
- private void OnRealized (object sender, System.EventArgs args)
- {
- if ((this.uimanager != null)) {
- Gtk.Widget w;
- w = this.child.Toplevel;
- if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) {
- ((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
- this.uimanager = null;
- }
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/gui.stetic
deleted file mode 100644
index 97802cc972..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,211 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="MonoDevelop.Components, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Core.Gui, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="Mono.TextEditor, Version=1.0.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Projects.Gui, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Designer.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" />
- <widget-library name="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Sql.Npgsql.dll" internal="true" />
- </import>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget" design-size="300 134">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.Table" id="table1">
- <property name="MemberName" />
- <property name="NRows">4</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboEncoding">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboOwner">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboTablespace">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboTemplate">
- <property name="MemberName" />
- <property name="IsTextCombo">False</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelEncoding">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Encoding</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelOwner">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Owner</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelTablespace">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Tablespace</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="labelTemplate">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Template</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget" design-size="300 300">
- <property name="MemberName" />
- <child>
- <placeholder />
- </child>
- </widget>
-</stetic-interface>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/objects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/objects.xml
deleted file mode 100644
index 273dbe5809..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql/gtk-gui/objects.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<objects attr-sync="on">
- <object type="MonoDevelop.Database.Sql.Npgsql.NpgsqlColumnEditorWidget" palette-category="MonoDevelop.Database.Sql.Npgsql" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Sql.Npgsql.NpgsqlCreateDatabaseWidget" palette-category="MonoDevelop.Database.Sql.Npgsql" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
-</objects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs
deleted file mode 100644
index aeecaa0290..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.Odbc.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("Odbc provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs.in
deleted file mode 100644
index d905cc53d6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("Mono.Data.Sql.Odbc")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Daniel Morgan, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.addin.xml
deleted file mode 100644
index 9b117241b3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.addin.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<Addin id = "Database.Sql.Odbc"
- namespace = "MonoDevelop"
- name = "Odbc provider for Mono Data Sql"
- author = "Christian Hergert, Daniel Morgan, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.Odbc.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Database/Sql">
- <DatabaseFactory id = "Odbc" class = "MonoDevelop.Database.Sql.Odbc.OdbcDbFactory" />
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.csproj
deleted file mode 100644
index 12d0a12e1e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/MonoDevelop.Database.Sql.Odbc.csproj
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{38607664-F006-4187-A139-F0786BA33D2E}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Odbc</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql.Odbc</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Core.Gui, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- <Private>False</Private>
- </Reference>
- <Reference Include="MonoDevelop.Components, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- <Private>False</Private>
- </Reference>
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="OdbcConnectionProvider.cs" />
- <Compile Include="OdbcSchemaProvider.cs" />
- <Compile Include="OdbcDbFactory.cs" />
- <Compile Include="OdbcPooledDbConnection.cs" />
- <Compile Include="OdbcDialect.cs" />
- <Compile Include="AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.Odbc.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.Odbc.addin.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcConnectionProvider.cs
deleted file mode 100644
index c06115320b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcConnectionProvider.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Odbc;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Odbc
-{
- public class OdbcConnectionProvider : AbstractConnectionProvider
- {
- public override IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error)
- {
- string connStr = null;
- try {
- if (settings.UseConnectionString)
- connStr = settings.ConnectionString;
- else
- throw new NotSupportedException ();
-
- OdbcConnection connection = new OdbcConnection (connStr);
- connection.Open ();
-
- error = null;
- return new OdbcPooledDbConnection (pool, connection);
- } catch (Exception e) {
- error = e.Message;
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDbFactory.cs
deleted file mode 100644
index 1efd3db484..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDbFactory.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.Odbc
-{
- public class OdbcDbFactory : IDbFactory
- {
- private ISqlDialect dialect;
- private IConnectionProvider connectionProvider;
-
- public string Identifier {
- get { return "System.Data.Odbc"; }
- }
-
- public string Name {
- get { return "Odbc"; }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new OdbcDialect ();
- return dialect;
- }
- }
-
- public IConnectionProvider ConnectionProvider {
- get {
- if (connectionProvider == null)
- connectionProvider = new OdbcConnectionProvider ();
- return connectionProvider;
- }
- }
-
- public IGuiProvider GuiProvider {
- get { return null; }
- }
-
- public IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- return new DefaultConnectionPool (this, ConnectionProvider, context);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool)
- {
- return new OdbcSchemaProvider (connectionPool);
- }
-
- public DatabaseConnectionSettings GetDefaultConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.UseConnectionString = true;
-
- return settings;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDialect.cs
deleted file mode 100644
index 665a11084a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcDialect.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Odbc
-{
- public class OdbcDialect : AbstractSqlDialect
- {
- public override string QuoteIdentifier (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return String.Concat ('"', identifier, '"');
- }
-
- public override string MarkAsParameter (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return "@" + identifier;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcPooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcPooledDbConnection.cs
deleted file mode 100644
index 008507a8e4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcPooledDbConnection.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Odbc;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.Odbc
-{
- public class OdbcPooledDbConnection : AbstractPooledDbConnection
- {
- public OdbcPooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- : base (connectionPool, connection)
- {
- }
-
- public override Version DatabaseVersion {
- get {
- OdbcConnection connection = DbConnection as OdbcConnection;
- System.Text.StringBuilder sb = new System.Text.StringBuilder ();
- //try to read as much characters and dots as possible, in the hope that it's a valid version
- int dots = 0;
- foreach (char c in connection.ServerVersion) {
- if (char.IsNumber (c)) {
- sb.Append (c);
- } else if (c == '.') {
- if (++dots <= 3)
- sb.Append (c);
- else
- break;
- } else {
- break;
- }
- }
- try {
- return new Version (sb.ToString ());
- } catch {
- return new Version (1, 0, 0);
- }
- }
- }
-
- public override DataSet ExecuteSet (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataSet set = new DataSet ();
- using (command) {
- using (OdbcDataAdapter adapter = new OdbcDataAdapter (command as OdbcCommand)) {
- try {
- adapter.Fill (set);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteTable (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataTable table = new DataTable ();
- using (command) {
- using (OdbcDataAdapter adapter = new OdbcDataAdapter (command as OdbcCommand)) {
- try {
- adapter.Fill (table);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return table;
- }
-
- public override DataTable GetSchema (string collectionName, params string[] restrictionValues)
- {
- return (connection as OdbcConnection).GetSchema (collectionName, restrictionValues);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcSchemaProvider.cs
deleted file mode 100644
index 36e2693ab8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Odbc/OdbcSchemaProvider.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Odbc;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Odbc
-{
- public class OdbcSchemaProvider : AbstractSchemaProvider
- {
- public OdbcSchemaProvider (IConnectionPool connectionPool)
- : base (connectionPool)
- {
- AddSupportedSchemaActions (SchemaType.Database, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Table, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.View, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Procedure, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.TableColumn, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.ProcedureParameter, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.PrimaryKeyConstraint, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.ForeignKeyConstraint, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.CheckConstraint, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.UniqueConstraint, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Constraint, SchemaActions.Schema);
- }
-
- public override bool CanEdit {
- get { return false; }
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs
deleted file mode 100644
index 885590c8cf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.Oracle.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("Oracle provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs.in
deleted file mode 100644
index 7c18acace4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("Mono.Data.Sql.Odbc")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Daniel Morgan, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")] \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.addin.xml
deleted file mode 100644
index d78458db8e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.addin.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<Addin id = "Database.Sql.Oracle"
- namespace = "MonoDevelop"
- name = "Oracle provider for Mono Data Sql"
- author = "Christian Hergert, Daniel Morgan, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.Oracle.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Database/Sql">
- <DatabaseFactory id = "Oracle" class = "MonoDevelop.Database.Sql.Oracle.OracleDbFactory" />
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.csproj
deleted file mode 100644
index 564453879c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/MonoDevelop.Database.Sql.Oracle.csproj
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{E63B005C-852C-4D06-A49D-37838EA5A2B2}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Oracle</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql.Oracle</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data.OracleClient" />
- <Reference Include="System.Data" />
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Core.Gui, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- <Private>False</Private>
- </Reference>
- <Reference Include="MonoDevelop.Components, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- <Private>False</Private>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.Posix" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="OracleConnectionProvider.cs" />
- <Compile Include="OracleSchemaProvider.cs" />
- <Compile Include="OracleDbFactory.cs" />
- <Compile Include="OracleDialect.cs" />
- <Compile Include="OraclePooledDbConnection.cs" />
- <Compile Include="OracleGuiProvider.cs" />
- <Compile Include="AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.Oracle.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.Oracle.addin.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Schema\" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- <GtkDesignInfo gettextClass="AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleConnectionProvider.cs
deleted file mode 100644
index 564ac5ce43..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleConnectionProvider.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007-2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.OracleClient;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Oracle
-{
- public class OracleConnectionProvider : AbstractConnectionProvider
- {
- public override IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error)
- {
- string connStr = null;
- try {
- if (settings.UseConnectionString) {
- connStr = settings.ConnectionString;
- } else {
- //Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;Integrated Security=no;
- connStr = String.Format ("Data Source={0};User Id={1};Password={2};Integrated Security=no;",
- settings.Database, settings.Username, settings.Password);
- }
- connStr = SetConnectionStringParameter (connStr, String.Empty, "Pooling", "false");
- OracleConnection connection = new OracleConnection (connStr);
- connection.Open ();
-
- error = null;
- return new OraclePooledDbConnection (pool, connection);
- } catch (Exception e) {
- error = e.Message;
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs
deleted file mode 100644
index 1d0e8b67ab..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Oracle
-{
- public class OracleDbFactory : IDbFactory
- {
- private ISqlDialect dialect;
- private IConnectionProvider connectionProvider;
- private IGuiProvider guiProvider;
-
- public string Identifier {
- get { return "System.Data.OracleClient"; }
- }
-
- public string Name {
- get { return AddinCatalog.GetString ("Oracle database"); }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new OracleDialect ();
- return dialect;
- }
- }
-
- public IConnectionProvider ConnectionProvider {
- get {
- if (connectionProvider == null)
- connectionProvider = new OracleConnectionProvider ();
- return connectionProvider;
- }
- }
-
- public IGuiProvider GuiProvider {
- get {
- if (guiProvider == null)
- guiProvider = new OracleGuiProvider ();
- return guiProvider;
- }
- }
-
- public IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- return new DefaultConnectionPool (this, ConnectionProvider, context);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool)
- {
- return new OracleSchemaProvider (connectionPool);
- }
-
- public DatabaseConnectionSettings GetDefaultConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.Port = 1521;
- settings.MaxPoolSize = 5;
-
- return settings;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDialect.cs
deleted file mode 100644
index e4f6e526b6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleDialect.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Oracle
-{
- public class OracleDialect : AbstractSqlDialect
- {
- public override string QuoteIdentifier (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return String.Concat ('"', identifier, '"');
- }
-
- public override string MarkAsParameter (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return "@" + identifier;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleGuiProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleGuiProvider.cs
deleted file mode 100644
index 15e4397977..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleGuiProvider.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.Oracle
-{
- public class OracleGuiProvider : IGuiProvider
- {
- public bool ShowCreateDatabaseDialog (IDbFactory factory)
- {
- throw new NotImplementedException ();
- }
-
- public bool ShowAddConnectionDialog (IDbFactory factory)
- {
- throw new NotImplementedException ();
- }
-
- public bool ShowEditConnectionDialog (IDbFactory factory, DatabaseConnectionSettings settings, out DatabaseConnectionSettings newSettings)
- {
- throw new NotImplementedException ();
- }
-
- public bool ShowTableEditorDialog (IEditSchemaProvider schemaProvider, TableSchema table, bool create)
- {
- throw new NotImplementedException ();
- }
-
- public bool ShowViewEditorDialog (IEditSchemaProvider schemaProvider, ViewSchema view, bool create)
- {
- throw new NotImplementedException ();
- }
-
- public bool ShowProcedureEditorDialog (IEditSchemaProvider schemaProvider, ProcedureSchema procedure, bool create)
- {
- throw new NotImplementedException ();
- }
-
- public bool ShowUserEditorDialog (IEditSchemaProvider schemaProvider, UserSchema user, bool create)
- {
- throw new NotImplementedException ();
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OraclePooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OraclePooledDbConnection.cs
deleted file mode 100644
index 7b19add696..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OraclePooledDbConnection.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using System.Data.OracleClient;
-
-namespace MonoDevelop.Database.Sql.Oracle
-{
- public class OraclePooledDbConnection : AbstractPooledDbConnection
- {
- public OraclePooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- : base (connectionPool, connection)
- {
- }
-
- //http://msdn2.microsoft.com/en-us/library/system.data.oracleclient.oracleconnection.serverversion.aspx
- public override Version DatabaseVersion {
- get {
- OracleConnection connection = DbConnection as OracleConnection;
- System.Text.StringBuilder sb = new System.Text.StringBuilder ();
- //try to read as much characters and dots as possible, in the hope that it's a valid version
- int dots = 0;
- foreach (char c in connection.ServerVersion) {
- if (char.IsNumber (c)) {
- sb.Append (c);
- } else if (c == '.') {
- if (++dots <= 3)
- sb.Append (c);
- else
- break;
- } else {
- break;
- }
- }
- try {
- return new Version (sb.ToString ());
- } catch {
- return new Version (8, 0, 0);
- }
- }
- }
-
- public override DataSet ExecuteSet (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataSet set = new DataSet ();
- using (command) {
- using (OracleDataAdapter adapter = new OracleDataAdapter (command as OracleCommand)) {
- try {
- adapter.Fill (set);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteTable (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataTable table = new DataTable ();
- using (command) {
- using (OracleDataAdapter adapter = new OracleDataAdapter (command as OracleCommand)) {
- try {
- adapter.Fill (table);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return table;
- }
-
- public override DataTable GetSchema (string collectionName, params string[] restrictionValues)
- {
- return (connection as OracleConnection).GetSchema (collectionName, restrictionValues);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleSchemaProvider.cs
deleted file mode 100644
index 5c22ee4130..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Oracle/OracleSchemaProvider.cs
+++ /dev/null
@@ -1,285 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Data;
-using System.Data.OracleClient;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Oracle
-{
- public class OracleSchemaProvider : AbstractSchemaProvider
- {
- public OracleSchemaProvider (IConnectionPool connectionPool)
- : base (connectionPool)
- {
-//TODO: table, column, procedure, view, user, sequence, trigger capabilities
- }
-
-// public override ICollection<TableSchema> GetTables ()
-// {
-// CheckConnectionState ();
-// List<TableSchema> tables = new List<TableSchema> ();
-//
-// IDbCommand command = connectionProvider.CreateCommand (
-// "SELECT OWNER, TABLE_NAME, TABLESPACE_NAME " +
-// "FROM ALL_TABLES " +
-// "ORDER BY OWNER, TABLE_NAME"
-// );
-// using (command) {
-// using (IDataReader r = command.ExecuteReader()) {
-// while (r.Read ()) {
-// TableSchema table = new TableSchema (this);
-//
-// table.OwnerName = r.GetValue (0).ToString();
-// table.SchemaName = r.GetValue (0).ToString();
-// table.Name = r.GetString (1).ToString();
-// table.IsSystemTable = IsSystem (table.OwnerName);
-// table.TableSpaceName = r.GetValue (2).ToString();
-//
-// StringBuilder sb = new StringBuilder();
-// sb.AppendFormat ("-- Table: {0}\n", table.Name);
-// sb.AppendFormat ("-- DROP TABLE {0};\n\n", table.Name);
-// sb.AppendFormat ("CREATE TABLE {0} (\n", table.Name);
-//
-// ICollection<ColumnSchema> columns = table.Columns;
-// string[] parts = new string[columns.Count];
-// int i = 0;
-// foreach (ColumnSchema col in columns)
-// parts[i++] = col.Definition;
-// sb.Append (String.Join (",\n", parts));
-//
-// ICollection<ConstraintSchema> constraints = table.Constraints;
-// parts = new string[constraints.Count];
-// if (constraints.Count > 0)
-// sb.Append (",\n");
-// i = 0;
-// foreach (ConstraintSchema constr in constraints)
-// parts[i++] = "\t" + constr.Definition;
-// sb.Append (String.Join (",\n", parts));
-//
-// //sb.AppendFormat ("\n) COMMENT '{0}';", table.Comment);
-// table.Definition = sb.ToString ();
-//
-// tables.Add (table);
-// }
-// r.Close ();
-// }
-// connectionProvider.Close (command.Connection);
-// }
-//
-// return tables;
-// }
-//
-// public override ICollection<ColumnSchema> GetTableColumns (TableSchema table)
-// {
-// CheckConnectionState ();
-// List<ColumnSchema> columns = new List<ColumnSchema> ();
-//
-// IDbCommand command = connectionProvider.CreateCommand (
-// "SELECT OWNER, TABLE_NAME, COLUMN_NAME, " +
-// " DATA_TYPE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE, " +
-// " NULLABLE, COLUMN_ID, DEFAULT_LENGTH, DATA_DEFAULT " +
-// "FROM ALL_TAB_COLUMNS " +
-// "WHERE OWNER = '" + table.OwnerName + "' " +
-// "AND TABLE_NAME = '" + table.Name + "' " +
-// "ORDER BY OWNER, TABLE_NAME, COLUMN_ID"
-// );
-// using (command) {
-// using (IDataReader r = command.ExecuteReader()) {
-// while (r.Read ()) {
-// ColumnSchema column = new ColumnSchema (this);
-//
-// column.Name = GetCheckedString (r, 2);
-// column.DataTypeName = GetCheckedString (r, 3);
-// column.OwnerName = table.OwnerName;
-// column.SchemaName = table.OwnerName;
-// column.NotNull = GetCheckedString (r, 7) == "Y";
-// column.Length = GetCheckedInt32 (r, 4);
-// column.Precision = GetCheckedInt32 (r, 5);
-// column.Scale = GetCheckedInt32 (r, 6);
-// column.ColumnID = GetCheckedInt32 (r, 8);
-//
-// StringBuilder sb = new StringBuilder();
-// sb.AppendFormat("{0} {1}{2}",
-// column.Name,
-// column.DataTypeName,
-// (column.Length > 0) ? ("(" + column.Length + ")") : "");
-// sb.AppendFormat(" {0}", column.NotNull ? "NOT NULL" : "NULL");
-// //if (column.Default.Length > 0)
-// // sb.AppendFormat(" DEFAULT {0}", column.Default);
-// column.Definition = sb.ToString();
-//
-// columns.Add (column);
-// }
-// r.Close ();
-// };
-// connectionProvider.Close (command.Connection);
-// }
-//
-// return columns;
-// }
-//
-// public override ICollection<ViewSchema> GetViews ()
-// {
-// CheckConnectionState ();
-// List<ViewSchema> views = new List<ViewSchema> ();
-//
-// IDbCommand command = connectionProvider.CreateCommand (
-// "SELECT OWNER, VIEW_NAME, TEXT " +
-// "FROM ALL_VIEWS " +
-// "ORDER BY OWNER, VIEW_NAME"
-// );
-// using (command) {
-// using (IDataReader r = command.ExecuteReader()) {
-// while (r.Read ()) {
-// ViewSchema view = new ViewSchema (this);
-//
-// view.Name = r.GetString(1);
-// view.SchemaName = r.GetString (0);
-// view.OwnerName = r.GetString (0);
-// view.Definition = r.GetString (2);
-// view.IsSystemView = IsSystem (view.OwnerName);
-//
-// views.Add (view);
-// }
-// r.Close ();
-// }
-// connectionProvider.Close (command.Connection);
-// }
-// return views;
-// }
-//
-// public override ICollection<ColumnSchema> GetViewColumns (ViewSchema view)
-// {
-// CheckConnectionState ();
-// List<ColumnSchema> columns = new List<ColumnSchema> ();
-//
-// IDbCommand command = connectionProvider.CreateCommand (
-// "SELECT * " +
-// " FROM " + view.Name +
-// " WHERE 1 = 0"
-// );
-// using (command) {
-// using (IDataReader r = command.ExecuteReader()) {
-// while (r.Read ()) {
-// for (int i = 0; i < r.FieldCount; i++) {
-// ColumnSchema column = new ColumnSchema (this);
-//
-// column.Name = r.GetString (0);
-// column.DataTypeName = r.GetString (1);
-// column.SchemaName = view.SchemaName;
-// column.NotNull = r.GetBoolean (3);
-// column.Length = r.GetInt32 (2);
-//
-// columns.Add (column);
-// }
-// }
-// r.Close ();
-// };
-// connectionProvider.Close (command.Connection);
-// }
-//
-// return columns;
-// }
-//
-// public override ICollection<ConstraintSchema> GetTableConstraints (TableSchema table)
-// {
-// CheckConnectionState ();
-// List<ConstraintSchema> constraints = new List<ConstraintSchema> ();
-//
-// IDbCommand command = connectionProvider.CreateCommand (
-// "SELECT k.owner, k.table_name, k.constraint_name, " +
-// " k.constraint_type, k.status, k.validated " +
-// "FROM all_constraints k " +
-// "WHERE k.owner = '" + table.OwnerName + "' " +
-// "AND k.table_name = '" + table.Name + "' " +
-// "and k.constraint_type = 'P'"
-// );
-// using (command) {
-// using (IDataReader r = command.ExecuteReader()) {
-// while (r.Read ()) {
-// ConstraintSchema constraint = null;
-//
-// switch (r.GetString(4)) {
-// case "P":
-// default:
-// constraint = new PrimaryKeyConstraintSchema (this);
-// break;
-// }
-//
-// constraint.Name = r.GetString (3);
-// constraint.Definition = "";
-//
-// constraints.Add (constraint);
-// }
-// r.Close ();
-// }
-// connectionProvider.Close (command.Connection);
-// }
-//
-// return constraints;
-// }
-//
-// public override DataTypeSchema GetDataType (string name)
-// {
-// if (name == null)
-// throw new ArgumentNullException ("name");
-// name = name.ToUpper ();
-//
-// DataTypeSchema dts = new DataTypeSchema (this);
-// dts.Name = name;
-// switch (name) {
-// //TODO: IMPLEMENT
-// case "":
-// break;
-// default:
-// dts = null;
-// break;
-// }
-//
-// return dts;
-// }
-//
-// private bool IsSystem (string owner)
-// {
-// switch (owner) {
-// case "SYSTEM":
-// case "SYS":
-// case "DRSYS":
-// case "CTXSYS":
-// case "MDSYS":
-// case "WKSYS":
-// return true;
-// default:
-// return false;
-// }
-// }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs
deleted file mode 100644
index dbe77f5587..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.SqlServer.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("SqlServer provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs.in
deleted file mode 100644
index 7a3a8a3a72..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Sql.MsSql")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Daniel Morgan, Sureshkumar T, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Collections/SqlServerCollationSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Collections/SqlServerCollationSchemaCollection.cs
deleted file mode 100644
index 66fe48170f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Collections/SqlServerCollationSchemaCollection.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// SqlServerCollationSchemaCollection.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- public sealed class SqlServerCollationSchemaCollection : SortedCollectionBase<SqlServerCollationSchema>
- {
- public SqlServerCollationSchemaCollection ()
- : base (true)
- {
- }
-
- public SqlServerCollationSchemaCollection (SqlServerCollationSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerCreateDatabaseDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerCreateDatabaseDialog.cs
deleted file mode 100644
index 58a77674bf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerCreateDatabaseDialog.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-//
-// SqlServerCreateDatabaseDialog.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using Gtk;
-using System;
-using MonoDevelop.Ide;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
-
- public class SqlServerCreateDatabaseDialog:CreateDatabaseDialog
- {
- ConnectionSettingsWidget connectionWidget;
- SqlServerCreateDatabaseWidget createDBWidget;
-
- public SqlServerCreateDatabaseDialog (IDbFactory factory):base(factory)
- {
- createDBWidget = new SqlServerCreateDatabaseWidget ();
- Notebook.AppendPage (createDBWidget,
- new Label (AddinCatalog.GetString ("Database Properties")));
- Notebook.ShowTabs = true;
- Gtk.Notebook nb = Notebook;
-
- nb.SwitchPage += delegate(object o, SwitchPageArgs args) {
- if (nb.CurrentPage == 1)
- if (!connectionWidget.ValidateFields ())
- {
- nb.CurrentPage = 0;
- MessageService.ShowError (this,
- AddinCatalog.GetString ("Set the connection properties before the database properties."));
- } else {
- Initialize (factory);
- if (DatabaseConnection.ConnectionPool.HasErrors) {
- MessageService.ShowError (DatabaseConnection.ConnectionPool.Error);
- nb.CurrentPage = 0;
- return;
- }
- createDBWidget.Initialize ((SqlServerSchemaProvider)DatabaseConnection.SchemaProvider);
- }
- };
-
- Notebook.ShowAll ();
-
- }
-
- private void Initialize (IDbFactory factory)
- {
- if (DatabaseConnection != null)
- DatabaseConnection.ConnectionPool.Close ();
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings(connectionWidget.ConnectionSettings);
- settings.Database = "master";
- // Create Context, Pool, Connection
- DatabaseConnectionContext ctx = new DatabaseConnectionContext (settings, true);
- ctx.ConnectionPool.Initialize ();
- this.DatabaseConnection = ctx;
- }
-
-
- protected override ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory)
- {
- connectionWidget = new ConnectionSettingsWidget (factory);
- connectionWidget.ShowSettings (factory.GetDefaultConnectionSettings ());
- connectionWidget.EnableTestButton = false;
- return connectionWidget;
- }
-
-
- protected override void OnBeforeDatabaseCreation (DatabaseSchema schema)
- {
- createDBWidget.SetDatabaseOptions ((SqlServerDatabaseSchema)schema);
- base.OnBeforeDatabaseCreation (schema);
- }
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerTableEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerTableEditorDialog.cs
deleted file mode 100644
index 768d9334bf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Dialogs/SqlServerTableEditorDialog.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Makefile.am
deleted file mode 100644
index 0890cbee7b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Makefile.am
+++ /dev/null
@@ -1,61 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Sql.SqlServer.dll
-REFS = \
- $(GTK_SHARP_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Posix \
- -r:System \
- -r:System.Core \
- -r:System.Data \
- -r:System.Xml \
- -r:System.Xml.Linq
-
-FILES = \
- AssemblyInfo.cs \
- Collections/SqlServerCollationSchemaCollection.cs \
- Dialogs/SqlServerCreateDatabaseDialog.cs \
- Dialogs/SqlServerTableEditorDialog.cs \
- gtk-gui/generated.cs \
- gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget.cs \
- gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs \
- Schema/dummy.cs \
- Schema/SqlServerCollationSchema.cs \
- Schema/SqlServerDatabaseSchema.cs \
- SqlServerConnectionProvider.cs \
- SqlServerDbFactory.cs \
- SqlServerDialect.cs \
- SqlServerGuiProvider.cs \
- SqlServerPooledDbConnection.cs \
- SqlServerSchemaProvider.cs \
- Widgets/SqlServerColumnEditorWidget.cs \
- Widgets/SqlServerCreateDatabaseWidget.cs
-
-RES = \
- gtk-gui/gui.stetic \
- gtk-gui/objects.xml \
- MonoDevelop.Database.Sql.SqlServer.addin.xml \
- SqlServerSyntaxMode.xml \
- SysObjects.xml
-
-if ENABLE_SQLSERVER
-all: $(ASSEMBLY)
-else
-all:
-endif
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.addin.xml
deleted file mode 100644
index 2f00ccee2c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.addin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<Addin id = "Database.Sql.SqlServer"
- namespace = "MonoDevelop"
- name = "SqlServer provider for Mono Data Sql"
- author = "Christian Hergert, Daniel Morgan, Sureshkumar T, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.SqlServer.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- <Addin id="SourceEditor2" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Database/Sql">
- <DatabaseFactory id = "SqlServer" class = "MonoDevelop.Database.Sql.SqlServer.SqlServerDbFactory" />
- </Extension>
-
- <Extension path = "/MonoDevelop/SourceEditor2/SyntaxModes">
- <Templates resource="SqlServerSyntaxMode.xml" />
- </Extension>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.csproj
deleted file mode 100644
index be698bdf90..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/MonoDevelop.Database.Sql.SqlServer.csproj
+++ /dev/null
@@ -1,234 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{5E1BF9DD-D1DF-40B4-8696-734AD849A569}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.SqlServer</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql.SqlServer</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="Mono.Posix" />
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.VersionControl, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.1.1.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="System.Core" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Core, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop-core-addins</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="SqlServerConnectionProvider.cs" />
- <Compile Include="SqlServerSchemaProvider.cs" />
- <Compile Include="SqlServerDbFactory.cs" />
- <Compile Include="SqlServerPooledDbConnection.cs" />
- <Compile Include="SqlServerDialect.cs" />
- <Compile Include="SqlServerGuiProvider.cs" />
- <Compile Include="Dialogs\SqlServerTableEditorDialog.cs" />
- <Compile Include="Schema\dummy.cs" />
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Widgets\SqlServerCreateDatabaseWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs" />
- <Compile Include="Widgets\SqlServerColumnEditorWidget.cs" />
- <Compile Include="gtk-gui\MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Dialogs\SqlServerCreateDatabaseDialog.cs" />
- <Compile Include="Schema\SqlServerCollationSchema.cs" />
- <Compile Include="Collections\SqlServerCollationSchemaCollection.cs" />
- <Compile Include="Schema\SqlServerDatabaseSchema.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.SqlServer.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.SqlServer.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\objects.xml">
- <LogicalName>objects.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="SqlServerSyntaxMode.xml">
- <LogicalName>SqlServerSyntaxMode.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="SysObjects.xml">
- <LogicalName>SysObjects.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- <GtkDesignInfo gettextClass="MonoDevelop.Database.AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
- <ItemGroup>
- <Folder Include="Collections\" />
- </ItemGroup>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerCollationSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerCollationSchema.cs
deleted file mode 100644
index d0b7aa5bf8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerCollationSchema.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// SqlServerCollationSchema.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- public class SqlServerCollationSchema:AbstractSchema
- {
- string description;
-
- public string Description {
- get {
- return description;
- }
- set {
- description = value;
- }
- }
-
-
-
- public SqlServerCollationSchema (ISchemaProvider provider):base(provider)
- {
-
- }
-
- public SqlServerCollationSchema (AbstractSchema schema):base(schema)
- {
-
- }
-
- public override object Clone ()
- {
- return new SqlServerCollationSchema (this);
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerDatabaseSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerDatabaseSchema.cs
deleted file mode 100644
index 1a6f44cef3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/SqlServerDatabaseSchema.cs
+++ /dev/null
@@ -1,152 +0,0 @@
-//
-// SqlServerDatabaseSchema.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using MonoDevelop.Database.Sql;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- public enum SizeType {
- KB,
- MB,
- GB,
- TB,
- UNLIMITED,
- PERCENTAGE
- }
-
- public class FileSize
- {
- int size;
- SizeType type;
-
- public SizeType Type {
- get {
- return type;
- }
- set {
- type = value;
- }
- }
-
- public int Size {
- get {
- return size;
- }
- set {
- size = value;
- }
- }
-
-
-
- public FileSize (int size, SizeType type)
- {
- this.size = size;
- this.Type = type;
- }
-
- }
-
- public class SqlServerDatabaseSchema:DatabaseSchema
- {
- SqlServerCollationSchema collation;
- FileSize size;
- FileSize fileGrowth;
- FileSize maxSize;
- string fileName;
- string logicalName;
-
- public SqlServerCollationSchema Collation {
- get {
- return collation;
- }
- set {
- collation = value;
- }
- }
-
- public FileSize Size {
- get {
- return size;
- }
- set {
- size = value;
- }
- }
-
-
- public FileSize MaxSize {
- get {
- return maxSize;
- }
- set {
- maxSize = value;
- }
- }
-
-
- public FileSize FileGrowth {
- get {
- return fileGrowth;
- }
- set {
- fileGrowth = value;
- }
- }
-
- public string LogicalName {
- get {
- return logicalName;
- }
- set {
- logicalName = value;
- }
- }
-
-
- public string FileName {
- get {
- return fileName;
- }
- set {
- fileName = value;
- }
- }
-
-
-
- public SqlServerDatabaseSchema (ISchemaProvider provider):base(provider)
- {
- }
-
- public SqlServerDatabaseSchema (DatabaseSchema schema):base(schema)
- {
-
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/dummy.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/dummy.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Schema/dummy.cs
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerConnectionProvider.cs
deleted file mode 100755
index a9a337ea51..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerConnectionProvider.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.SqlClient;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.SqlServer
-{
- public class SqlServerConnectionProvider : AbstractConnectionProvider
- {
- public override IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error)
- {
-
- SqlConnectionStringBuilder builder = null;
- try {
- if (settings.UseConnectionString) {
- builder = new SqlConnectionStringBuilder (settings.ConnectionString);
- } else {
- builder = new SqlConnectionStringBuilder ();
- builder.InitialCatalog = settings.Database;
- if (settings.UseIntegratedSecurity) {
- builder.IntegratedSecurity = true;
- } else {
- builder.UserID = settings.Username;
- builder.Password = settings.Password;
- }
- if (settings.Port == 0) // Don't assign default port
- builder.DataSource = settings.Server;
- else
- builder.DataSource = String.Concat (settings.Server, ",", settings.Port);
- //builder.NetworkLibrary = "DBMSSOCN";
- }
- builder.Pooling = false;
- SqlConnection connection = new SqlConnection (builder.ToString ());
- connection.Open ();
-
- error = null;
- return new SqlServerPooledDbConnection (pool, connection);
- } catch (Exception e) {
- error = e.Message;
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs
deleted file mode 100644
index 9b044149d1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.SqlServer
-{
- public class SqlServerDbFactory : IDbFactory, IDbLinq
- {
- private ISqlDialect dialect;
- private IConnectionProvider connectionProvider;
- private IGuiProvider guiProvider;
-
- public string Identifier {
- get { return "System.Data.SqlClient"; }
- }
-
- public string Name {
- get { return AddinCatalog.GetString ("SQL Server database"); }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new SqlServerDialect ();
- return dialect;
- }
- }
-
- public IConnectionProvider ConnectionProvider {
- get {
- if (connectionProvider == null)
- connectionProvider = new SqlServerConnectionProvider ();
- return connectionProvider;
- }
- }
-
- public IGuiProvider GuiProvider {
- get {
- if (guiProvider == null)
- guiProvider = new SqlServerGuiProvider ();
- return guiProvider;
- }
- }
-
- public IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- return new DefaultConnectionPool (this, ConnectionProvider, context);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool)
- {
- return new SqlServerSchemaProvider (connectionPool);
- }
-
- public DatabaseConnectionSettings GetDefaultConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.Server = "localhost";
- settings.Port = 1433;
- settings.Username = "sa";
- settings.MaxPoolSize = 5;
- settings.CanUseIntegratedSecurity = true;
- int p = (int) Environment.OSVersion.Platform;
- if ((p == 4) || (p == 6) || (p == 128))
- settings.UseIntegratedSecurity = false;
- else
- settings.UseIntegratedSecurity = true;
- return settings;
- }
-
- #region IDbLinq implementation
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string language,
- string style, string defaultNamespace, string entityBase, string entityAttr,
- string membersAttr, string generateTypes, string culture, bool generateSchema,
- bool generateTimestamp, bool overrideEqualAndHash, bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, language, style, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize);
- }
-
-
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string defaultNamespace,
- string entityBase, string entityAttr, string membersAttr, string generateTypes,
- string culture, bool generateSchema, bool generateTimestamp, bool overrideEqualAndHash,
- bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize); }
-
- public string Provider {
- get {
- return "Sqlserver";
- }
- }
-
-
- public bool HasProcedures {
- get {
- return true;
- }
- }
- #endregion
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDialect.cs
deleted file mode 100644
index aba315128e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerDialect.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.SqlServer
-{
- public class SqlServerDialect : AbstractSqlDialect
- {
- //http://msdn2.microsoft.com/En-US/library/aa224033(SQL.80).aspx
- public override string QuoteIdentifier (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- if (IsReservedWord (identifier))
- return String.Concat ('[', identifier, ']');
-
- foreach (char c in identifier.ToCharArray ()) {
- switch (c) {
- case ' ': case '~': case '-':
- case '!': case '{': case '%':
- case '}': case '^': case '\'':
- case '&': case '.': case '(':
- case '\\': case ')': case '`':
- return String.Concat ('[', identifier, ']');
- default:
- break;
- }
- }
- return identifier;
- }
-
- public override string MarkAsParameter (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return "@" + identifier;
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238507(SQL.80).aspx
- protected virtual bool IsReservedWord (string word)
- {
- word = word.ToUpper ();
-
- switch (word) {
- case "EXCEPT": case "PERCENT":
- case "ALL": case "EXEC": case "PLAN":
- case "ALTER": case "EXECUTE": case "PRECISION":
- case "AND": case "EXISTS": case "PRIMARY":
- case "ANY": case "EXIT": case "PRINT":
- case "AS": case "FETCH": case "PROC":
- case "ASC": case "FILE": case "PROCEDURE":
- case "AUTHORIZATION": case "FILLFACTOR": case "PUBLIC":
- case "BACKUP": case "FOR": case "RAISERROR":
- case "BEGIN": case "FOREIGN": case "READ":
- case "BETWEEN": case "FREETEXT": case "READTEXT":
- case "BREAK": case "FREETEXTTABLE": case "RECONFIGURE":
- case "BROWSE": case "FROM": case "REFERENCES":
- case "BULK": case "FULL": case "REPLICATION":
- case "BY": case "FUNCTION": case "RESTORE":
- case "CASCADE": case "GOTO": case "RESTRICT":
- case "CASE": case "GRANT": case "RETURN":
- case "CHECK": case "GROUP": case "REVOKE":
- case "CHECKPOINT": case "HAVING": case "RIGHT":
- case "CLOSE": case "HOLDLOCK": case "ROLLBACK":
- case "CLUSTERED": case "IDENTITY": case "ROWCOUNT":
- case "COALESCE": case "IDENTITY_INSERT": case "ROWGUIDCOL":
- case "COLLATE": case "IDENTITYCOL": case "RULE":
- case "COLUMN": case "IF": case "SAVE":
- case "COMMIT": case "IN": case "SCHEMA":
- case "COMPUTE": case "INDEX": case "SELECT":
- case "CONSTRAINT": case "INNER": case "SESSION_USER":
- case "CONTAINS": case "INSERT": case "SET":
- case "CONTAINSTABLE": case "INTERSECT": case "SETUSER":
- case "CONTINUE": case "INTO": case "SHUTDOWN":
- case "CONVERT": case "IS": case "SOME":
- case "CREATE": case "JOIN": case "STATISTICS":
- case "CROSS": case "KEY": case "SYSTEM_USER":
- case "CURRENT": case "KILL": case "TABLE":
- case "CURRENT_DATE": case "LEFT": case "TEXTSIZE":
- case "CURRENT_TIME": case "LIKE": case "THEN":
- case "CURRENT_TIMESTAMP": case "LINENO": case "TO":
- case "CURRENT_USER": case "LOAD": case "TOP":
- case "CURSOR": case "NATIONAL ": case "TRAN":
- case "DATABASE": case "NOCHECK": case "TRANSACTION":
- case "DBCC": case "NONCLUSTERED": case "TRIGGER":
- case "DEALLOCATE": case "NOT": case "TRUNCATE":
- case "DECLARE": case "NULL": case "TSEQUAL":
- case "DEFAULT": case "NULLIF": case "UNION":
- case "DELETE": case "OF": case "UNIQUE":
- case "DENY": case "OFF": case "UPDATE":
- case "DESC": case "OFFSETS": case "UPDATETEXT":
- case "DISK": case "ON": case "USE":
- case "DISTINCT": case "OPEN": case "USER":
- case "DISTRIBUTED": case "OPENDATASOURCE": case "VALUES":
- case "DOUBLE": case "OPENQUERY": case "VARYING":
- case "DROP": case "OPENROWSET": case "VIEW":
- case "DUMMY": case "OPENXML": case "WAITFOR":
- case "DUMP": case "OPTION": case "WHEN":
- case "ELSE": case "OR": case "WHERE":
- case "END": case "ORDER": case "WHILE":
- case "ERRLVL": case "OUTER": case "WITH":
- case "ESCAPE": case "OVER": case "WRITETEXT":
- return true;
- default:
- return false;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerGuiProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerGuiProvider.cs
deleted file mode 100644
index 289e95eeac..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerGuiProvider.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.SqlServer
-{
- public class SqlServerGuiProvider : IGuiProvider
- {
- public bool ShowCreateDatabaseDialog (IDbFactory factory)
- {
- SqlServerCreateDatabaseDialog dialog = new SqlServerCreateDatabaseDialog (factory);
- int resp;
- do {
- resp = dialog.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
- dialog.Destroy ();
- if (resp == (int)ResponseType.Ok)
- return true;
- else
- return false;
- }
-
- public bool ShowAddConnectionDialog (IDbFactory factory)
- {
- DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (factory);
- return RunDialog (dlg);
- }
-
- public bool ShowEditConnectionDialog (IDbFactory factory,
- DatabaseConnectionSettings settings,
- out DatabaseConnectionSettings newSettings)
- {
-
- DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (factory, settings);
- bool result = RunDialog (dlg);
- if (result)
- newSettings = dlg.ConnectionSettings;
- else
- newSettings = null;
- return result;
- }
-
- 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 ShowViewEditorDialog (IEditSchemaProvider schemaProvider, ViewSchema view, bool create)
- {
- ViewEditorSettings settings = new ViewEditorSettings ();
- ViewEditorDialog dlg = new ViewEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (view);
-
- return RunDialog (dlg);
- }
-
- public bool ShowProcedureEditorDialog (IEditSchemaProvider schemaProvider, ProcedureSchema procedure, bool create)
- {
- ProcedureEditorSettings settings = new ProcedureEditorSettings ();
- ProcedureEditorDialog dlg = new ProcedureEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (procedure);
-
- return RunDialog (dlg);
- }
-
- public bool ShowUserEditorDialog (IEditSchemaProvider schemaProvider, UserSchema user, bool create)
- {
- return false; //TODO: implement ShowUserEditorDialog
- }
-
- private bool RunDialog (Dialog dlg)
- {
- bool result = false;
- // If the Preview Dialog is canceled, don't execute and don't close the Editor Dialog.
- try {
- int resp;
- do {
- resp = dlg.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
-
- if (resp == (int)ResponseType.Ok)
- result = true;
- else
- result = false;
- } finally {
- dlg.Destroy ();
- }
- return result;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerPooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerPooledDbConnection.cs
deleted file mode 100644
index 414f3e472e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerPooledDbConnection.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.SqlClient;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- public class SqlServerPooledDbConnection : AbstractPooledDbConnection
- {
- public SqlServerPooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- : base (connectionPool, connection)
- {
- }
-
- public override Version DatabaseVersion {
- get {
- SqlConnection connection = DbConnection as SqlConnection;
- try {
- //http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.serverversion.aspx
- //##.##.#### major.minor.build
- return new Version (connection.ServerVersion);
- } catch {
- return new Version (7, 0);
- }
- }
- }
-
- public override DataSet ExecuteSet (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataSet set = new DataSet ();
- using (command) {
- using (SqlDataAdapter adapter = new SqlDataAdapter (command as SqlCommand)) {
- try {
- adapter.Fill (set);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteTable (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataTable table = new DataTable ();
- using (command) {
- using (SqlDataAdapter adapter = new SqlDataAdapter (command as SqlCommand)) {
- try {
- adapter.Fill (table);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return table;
- }
-
- public override DataTable GetSchema (string collectionName, params string[] restrictionValues)
- {
- return (connection as SqlConnection).GetSchema (collectionName, restrictionValues);
- }
-
- public override int ExecuteNonQuery (string sql)
- {
- int ret = 0;
- if(sql.IndexOf (String.Concat(Environment.NewLine, "go", Environment.NewLine),
- StringComparison.OrdinalIgnoreCase) < 0)
- return base.ExecuteNonQuery (sql);
- else {
- // Divide the Sql In more than 1 command to avoid: ['CREATE TRIGGER' must be the first statement]
- // FIXME: This isn't in a transaction scope because Create table/trigger isn't
- // affected by START/COMMIT/ROLLBACK transaction.
- string[] sep = new string[] {string.Concat (Environment.NewLine, "GO", Environment.NewLine)};
- string[] sqls = sql.Split (sep, StringSplitOptions.RemoveEmptyEntries);
- foreach (string s in sqls)
- ret = base.ExecuteNonQuery (s);
- }
- return ret;
- }
- }
-
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSchemaProvider.cs
deleted file mode 100755
index f95e288caf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSchemaProvider.cs
+++ /dev/null
@@ -1,1089 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Sureshkumar T <tsureshkumar@novell.com>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEC
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.IO;
-using System.Text;
-using System.Data;
-using System.Xml;
-using System.Linq;
-using System.Xml.Linq;
-using System.Reflection;
-using System.Data.SqlClient;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
- namespace MonoDevelop.Database.Sql.SqlServer
-{
- // see:
- // http://www.alberton.info/sql_server_meta_info.html + msdn
- public class SqlServerSchemaProvider : AbstractEditSchemaProvider
- {
- string[] system_procs;
- string[] system_tables;
-
-
- public SqlServerSchemaProvider (IConnectionPool connectionPool)
- : base (connectionPool)
- {
- AddSupportedSchemaActions (SchemaType.Database, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.Table, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.View, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.Procedure, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.TableColumn, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.ProcedureParameter, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Trigger, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.PrimaryKeyConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.ForeignKeyConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.CheckConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.UniqueConstraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Constraint, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
-
- // TODO: XDocument.Load(XmlTextReader) isn't working on Mono 2.4. Should be fixed in 2.6
- /* using (System.IO.Stream stream = Assembly.GetExecutingAssembly ().GetManifestResourceStream ("SysObjects.xml")) {
- XmlTextReader reader = new XmlTextReader (stream);
- XDocument doc = XDocument.Load (reader);
-
- var sysSP = from item in doc.Elements("SysObjects").Descendants ()
- where item.Attribute ("type") != null && item.Attribute("type").Value == "SP"
- select item;
- reader.Close ();
- }
- */
-
- using (System.IO.Stream stream = Assembly.GetExecutingAssembly ().GetManifestResourceStream ("SysObjects.xml")) {
- XmlDocument doc = new XmlDocument ();
- doc.Load (stream);
- List<string> sps = new List<string> ();
- List<string> tables = new List<string> ();
- foreach (XmlNode node in doc.FirstChild.ChildNodes)
- if (node.Attributes["type"].Value == "SP")
- sps.Add (node.InnerText);
- else if (node.Attributes["type"].Value == "Table")
- tables.Add (node.InnerText);
-
- system_procs = sps.ToArray ();
- system_tables = tables.ToArray ();
- }
-
- }
-
- public override DatabaseSchemaCollection GetDatabases ()
- {
- DatabaseSchemaCollection databases = new DatabaseSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- //we don't have to change it back afterwards, since the connectionpool will do this for us
- conn.DbConnection.ChangeDatabase ("master");
- using (IDbCommand command = conn.CreateCommand ("select name from sysdatabases")) {
- try {
- using (command)
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read()) {
- DatabaseSchema db = new DatabaseSchema (this);
- db.Name = r.GetString (0);
- databases.Add (db);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
- return databases;
- }
-
- public virtual SqlServerCollationSchemaCollection GetCollations ()
- {
- SqlServerCollationSchemaCollection collations = new SqlServerCollationSchemaCollection();
- using (IPooledDbConnection conn = connectionPool.Request ()) {
-
- conn.DbConnection.ChangeDatabase ("master");
- using (IDbCommand command = conn.CreateCommand ("SELECT * FROM ::fn_helpcollations()")) {
- try {
- using (IDataReader reader = command.ExecuteReader ()) {
- while (reader.Read ()) {
- SqlServerCollationSchema coll = new SqlServerCollationSchema (this);
- coll.Name = reader.GetString (0);
- coll.Description = reader.GetString (1);
- collations.Add (coll);
- }
- reader.Close ();
- }
- } catch (IOException) {
- //FIXME: Avoid an IOException AND ObjectDisposedException (https://bugzilla.novell.com/show_bug.cgi?id=556406)
- } catch (ObjectDisposedException) {
- }
- catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- connectionPool.Release(conn);
- }
- }
- }
- return collations;
- }
-
-
- public override TableSchemaCollection GetTables ()
- {
- TableSchemaCollection tables = new TableSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (@"SELECT
- su.name AS owner,
- so.name as table_name,
- so.id as table_id,
- so.crdate as created_date,
- so.xtype as table_type
- FROM dbo.sysobjects so,
- dbo.sysusers su
- WHERE
- xtype IN ('S','U')
- AND su.uid = so.uid
- ORDER BY 1, 2")) {
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read()) {
- TableSchema table = new TableSchema (this);
- table.Name = r.GetString(1);
- if (r.GetString(4) == "S")
- table.IsSystemTable = true;
- else
- if (Array.Exists (system_tables, delegate (string s) {return s == table.Name; }))
- table.IsSystemTable = true;
- else
- table.IsSystemTable = false;
- table.OwnerName = r.GetString(0);
- tables.Add (table);
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
-
- }
- return tables;
- }
-
- public override ColumnSchemaCollection GetTableColumns (TableSchema table)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format(@"SELECT
- su.name as owner,
- so.name as table_name,
- sc.name as column_name,
- st.name as date_type,
- sc.length as column_length,
- sc.xprec as data_precision,
- sc.xscale as data_scale,
- sc.isnullable,
- sc.colid as column_id
- FROM
- dbo.syscolumns sc,
- dbo.sysobjects so,
- dbo.systypes st, dbo.sysusers su
- WHERE
- sc.id = so.id
- AND so.xtype in ('U','S')
- AND so.name = '{0}'
- AND su.name = '{1}'
- AND sc.xusertype = st.xusertype
- AND su.uid = so.uid
- ORDER BY sc.colid", table.Name, table.OwnerName)))
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read()) {
- ColumnSchema column = new ColumnSchema (this, table);
-
- column.Name = r.GetString (2);
- column.DataTypeName = r.GetString (3);
- column.DefaultValue = String.Empty;
- column.Comment = String.Empty;
- column.OwnerName = table.OwnerName;
- column.SchemaName = table.SchemaName;
- column.IsNullable = r.GetValue (7).ToString () == "0" ? true : false;
- column.DataType.LengthRange.Default = r.GetInt16 (4);
- column.DataType.PrecisionRange.Default = r.IsDBNull (5) ? 0 : (int)r.GetByte (5);
- column.DataType.ScaleRange.Default = r.IsDBNull (6) ? 0 : (int)r.GetByte (6);
- column.Definition = String.Concat (column.Name, " ", column.DataTypeName, " ",
- column.DataType.LengthRange.Default > 0 ? "(" + column.DataType.LengthRange.Default + ")" : "",
- column.IsNullable ? " NULL" : " NOT NULL");
- //TODO: append " DEFAULT ..." if column.Default.Length > 0
- columns.Add (column);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- return columns;
- }
-
- public override TriggerSchemaCollection GetTableTriggers (TableSchema table)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
-
- TriggerSchemaCollection triggers = new TriggerSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- string sql = string.Format(@"SELECT
- Tables.Name TableName,
- Triggers.name TriggerName,
- Triggers.crdate TriggerCreatedDate,
- Comments.Text TriggerText
- FROM sysobjects Triggers
- INNER JOIN sysobjects Tables On
- Triggers.parent_obj = Tables.id
- INNER JOIN syscomments Comments On
- Triggers.id = Comments.id
- WHERE
- Triggers.xtype = 'TR'
- AND Tables.xtype = 'U'
- AND Tables.Name = '{0}'
- ORDER BY
- Tables.Name,
- Triggers.name", table.Name);
- using (IDbCommand command = conn.CreateCommand (sql)) {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- System.Text.RegularExpressions.Regex parseRegEx = new System.Text.RegularExpressions.Regex
- (string.Concat (
- @"((CREATE\s*(Temp|Temporary)?\s*TRIGGER){1}\s?(\w+)\s?(IF NOT",
- @" EXISTS)?\s?(BEFORE|AFTER|INSTEAD OF){1}\s?(\w+)\s*ON(\s+\w*",
- @")\s*(FOR EACH ROW){1}\s*(BEGIN){1})\s+(\w|\W)*(END)"));
- TriggerSchema trigger = new TriggerSchema (this);
- trigger.TableName = table.Name;
- trigger.Name = r.GetString (r.GetOrdinal ("TriggerName"));
- sql = r.GetString (r.GetOrdinal ("TriggerText"));
- System.Text.RegularExpressions.MatchCollection matchs = parseRegEx.Matches (sql);
- if (matchs.Count > 0) {
- trigger.TriggerFireType = TriggerFireType.ForEachRow;
- switch (matchs[0].Groups[7].Value.ToLower ()) {
- case "insert":
- trigger.TriggerEvent = TriggerEvent.Insert;
- break;
- case "update":
- trigger.TriggerEvent = TriggerEvent.Update;
- break;
- case "delete":
- trigger.TriggerEvent = TriggerEvent.Delete;
- break;
- default:
- throw new NotImplementedException ();
- }
- switch (matchs[0].Groups[7].Value.ToLower ()) {
- case "before":
- trigger.TriggerType = TriggerType.Before;
- break;
- case "after":
- trigger.TriggerType = TriggerType.After;
- break;
- default:
- throw new NotImplementedException ();
- }
- StringBuilder sbSource = new StringBuilder ();
- foreach (System.Text.RegularExpressions.Capture c in matchs[0].Groups[11].Captures)
- sbSource.Append (c.Value);
- trigger.Source = sbSource.ToString ();
- }
- triggers.Add (trigger);
- }
- }
- }
- conn.Release ();
- }
- return triggers;
- }
-
- public override ViewSchemaCollection GetViews ()
- {
- ViewSchemaCollection views = new ViewSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (@"SELECT
- su.name AS owner,
- so.name as table_name,
- so.id as table_id,
- so.crdate as created_date,
- so.xtype as table_type
- FROM dbo.sysobjects so,
- dbo.sysusers su
- WHERE
- xtype = 'V'
- AND su.uid = so.uid
- ORDER BY 1, 2"))
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read()) {
- ViewSchema view = new ViewSchema (this);
-
- view.Name = r.GetString (1);
- view.SchemaName = r.GetString (0);
- view.OwnerName = r.GetString (0);
-
- StringBuilder sb = new StringBuilder();
- sb.AppendFormat ("-- View: {0}\n", view.Name);
- sb.AppendFormat ("-- DROP VIEW {0};\n\n", view.Name);
- sb.AppendFormat (" {0}\n);", GetSource ("[" + view.OwnerName + "].[" + view.Name + "]"));
- view.Definition = sb.ToString ();
-
- views.Add (view);
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- finally {
- conn.Release ();
- }
- }
- return views;
- }
-
- public override ColumnSchemaCollection GetViewColumns (ViewSchema view)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
-
- using (IDbCommand command = conn.CreateCommand (string.Format("SELECT * FROM \"{0}\" WHERE 1 = 0",
- view.Name)))
- try {
- using (IDataReader r = command.ExecuteReader()) {
- for (int i = 0; i < r.FieldCount; i++) {
- ColumnSchema column = new ColumnSchema (this, view);
-
- column.Name = r.GetName(i);
- column.DataTypeName = r.GetDataTypeName(i);
- column.DefaultValue = "";
- column.Definition = "";
- column.OwnerName = view.OwnerName;
- column.SchemaName = view.OwnerName;
- columns.Add (column);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- return columns;
- }
-
- public override ProcedureSchemaCollection GetProcedures ()
- {
- ProcedureSchemaCollection procedures = new ProcedureSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (@"SELECT
- su.name AS owner,
- so.name as proc_name,
- so.id as proc_id,
- so.crdate as created_date,
- so.xtype as proc_type
- FROM dbo.sysobjects so,
- dbo.sysusers su
- WHERE xtype = 'P'
- AND su.uid = so.uid
- ORDER BY 1, 2"))
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ProcedureSchema procedure = new ProcedureSchema (this);
- procedure.Name = r.GetString (1);
- procedure.OwnerName = r.GetString (0);
- procedure.LanguageName = "TSQL";
- procedure.Definition = GetSource ("[" + procedure.OwnerName + "].[" + procedure.Name + "]");
- if (Array.Exists (system_procs, delegate (string s) {return s == procedure.Name; }))
- procedure.IsSystemProcedure = true;
- else
- procedure.IsSystemProcedure = false;
- procedures.Add (procedure);
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- return procedures;
- }
-
- public override ConstraintSchemaCollection GetTableConstraints (TableSchema table)
- {
- ConstraintSchemaCollection constraints = new ConstraintSchemaCollection ();
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Format (@"select
- sysobjects.name,
- sysobjects.xtype
- from sysobjects
- inner join sysobjects sysobjectsParents ON
- sysobjectsParents.id = sysobjects.parent_obj
- where
- sysobjectsParents.name = '{0}' and
- sysobjects.xtype in ('C', 'UQ', 'F','PK','CK')",
- table.Name)))
- try {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ConstraintSchema constraint = null;
- switch (r.GetString (1)) {
- case "F": //foreign key
- constraint = new ForeignKeyConstraintSchema (this);
- break;
- case "PK": //primary key
- constraint = new PrimaryKeyConstraintSchema (this);
- break;
- case "C":
- case "CK": //check constraint
- constraint = new CheckConstraintSchema (this);
- break;
- case "UQ":
- constraint = new UniqueConstraintSchema (this);
- break;
- default:
- break;
- }
-
- if (constraint != null) {
- constraint.Name = r.GetString (0);
- constraints.Add (constraint);
- }
- }
- r.Close ();
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- return constraints;
- }
-
- // see:
- // http://www.firebirdsql.org/manual/migration-mssql-data-types.html
- // http://webcoder.info/reference/MSSQLDataTypes.html
- // http://www.tar.hu/sqlbible/sqlbible0022.html
- // http://msdn2.microsoft.com/en-us/library/aa258876(SQL.80).aspx
- public override DataTypeSchema GetDataType (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
- name = name.ToLower ();
-
- DataTypeSchema dts = new DataTypeSchema (this);
- dts.Name = name;
- switch (name) {
- case "bigint":
- dts.LengthRange = new Range (8);
- dts.PrecisionRange = new Range (1, 19);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "binary":
- dts.LengthRange = new Range (1, 8004);
- dts.PrecisionRange = new Range (1, 8000);
- dts.DataTypeCategory = DataTypeCategory.Binary;
- break;
- case "bit":
- dts.LengthRange = new Range (1);
- dts.DataTypeCategory = DataTypeCategory.Bit;
- break;
- case "char":
- dts.LengthRange = new Range (1, 8000);
- dts.PrecisionRange = new Range (1, 8000);
- dts.DataTypeCategory = DataTypeCategory.Char;
- break;
- case "datetime":
- dts.LengthRange = new Range (8);
- dts.DataTypeCategory = DataTypeCategory.DateTime;
- break;
- case "decimal":
- dts.LengthRange = new Range (5, 17);
- dts.PrecisionRange = new Range (1, 38);
- dts.ScaleRange = new Range (0, 37);
- dts.DataTypeCategory = DataTypeCategory.Float;
- break;
- case "float":
- dts.LengthRange = new Range (8);
- dts.ScaleRange = new Range (1, 15);
- dts.DataTypeCategory = DataTypeCategory.Float;
- break;
- case "image":
- dts.LengthRange = new Range (0, int.MaxValue);
- dts.PrecisionRange = new Range (0, int.MaxValue);
- dts.DataTypeCategory = DataTypeCategory.VarBinary;
- break;
- case "int":
- dts.LengthRange = new Range (4);
- dts.PrecisionRange = new Range (1, 10);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "money":
- dts.LengthRange = new Range (8);
- dts.PrecisionRange = new Range (1, 19);
- dts.ScaleRange = new Range (4);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "nchar":
- dts.LengthRange = new Range (2, 8000);
- dts.PrecisionRange = new Range (1, 4000);
- dts.DataTypeCategory = DataTypeCategory.NChar;
- break;
- case "ntext":
- dts.LengthRange = new Range (0, int.MaxValue);
- dts.PrecisionRange = new Range (0, 1073741823);
- dts.DataTypeCategory = DataTypeCategory.NVarChar;
- break;
- case "numeric":
- dts.LengthRange = new Range (5, 17);
- dts.PrecisionRange = new Range (1, 38);
- dts.ScaleRange = new Range (0, 37);
- dts.DataTypeCategory = DataTypeCategory.Float;
- break;
- case "nvarchar":
- dts.LengthRange = new Range (0, 8000);
- dts.PrecisionRange = new Range (0, 4000);
- dts.DataTypeCategory = DataTypeCategory.NVarChar;
- break;
- case "real":
- dts.LengthRange = new Range (4);
- dts.ScaleRange = new Range (7);
- dts.DataTypeCategory = DataTypeCategory.Float;
- break;
- case "smalldatetime":
- dts.LengthRange = new Range (4);
- dts.DataTypeCategory = DataTypeCategory.DateTime;
- break;
- case "smallint":
- dts.LengthRange = new Range (2);
- dts.PrecisionRange = new Range (5);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "smallmoney":
- dts.LengthRange = new Range (4);
- dts.PrecisionRange = new Range (10);
- dts.ScaleRange = new Range (4);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "text":
- dts.LengthRange = new Range (0, int.MaxValue);
- dts.PrecisionRange = new Range (0, int.MaxValue);
- dts.DataTypeCategory = DataTypeCategory.VarChar;
- break;
- case "timestamp":
- dts.LengthRange = new Range (1, 8);
- dts.DataTypeCategory = DataTypeCategory.TimeStamp;
- break;
- case "tinyint":
- dts.LengthRange = new Range (1);
- dts.PrecisionRange = new Range (1, 3);
- dts.DataTypeCategory = DataTypeCategory.Integer;
- break;
- case "varbinary":
- dts.LengthRange = new Range (1, 8004);
- dts.PrecisionRange = new Range (0, 8000);
- dts.DataTypeCategory = DataTypeCategory.VarBinary;
- break;
- case "varchar":
- dts.LengthRange = new Range (1, 8000);
- dts.PrecisionRange = new Range (0, 8000);
- dts.DataTypeCategory = DataTypeCategory.VarChar;
- break;
- case "uniqueidentifier":
- dts.LengthRange = new Range (16);
- dts.DataTypeCategory = DataTypeCategory.Uid;
- break;
- case "xml":
- dts.LengthRange = new Range (0, int.MaxValue);
- dts.PrecisionRange = new Range (0, int.MaxValue);
- dts.DataTypeCategory = DataTypeCategory.VarChar;
- break;
- case "cursor":
- case "table":
- case "sql_variant":
- dts.DataTypeCategory = DataTypeCategory.Other;
- break;
- default:
- break;
- }
-
- return dts;
- }
-
- public override DatabaseSchema CreateDatabaseSchema (string name)
- {
- SqlServerDatabaseSchema schema = new SqlServerDatabaseSchema (this);
- schema.Name = name;
- return schema;
- }
-
-
- //http://msdn2.microsoft.com/en-us/library/aa258257(SQL.80).aspx
- public override void CreateDatabase (DatabaseSchema database)
- {
- SqlServerDatabaseSchema schema = (SqlServerDatabaseSchema)database;
- StringBuilder db = new StringBuilder ("CREATE DATABASE ");
- string newLine = Environment.NewLine;
- db.Append (schema.Name);
- if (schema.FileName != string.Empty && schema.Name != string.Empty) {
- db.AppendLine ();
- db.Append ("ON ");
- db.AppendFormat ("{0}(NAME = {1},", newLine, schema.LogicalName);
- db.AppendFormat ("{0}FILENAME = '{1}'", newLine, schema.FileName);
- if (schema.Size.Size > 0)
- db.AppendFormat(",{0}SIZE = {1}{2}", newLine, schema.Size.Size.ToString (), schema.Size.Type);
- if (schema.MaxSize.Size > 0)
- db.AppendFormat(",{0}MAXSIZE = {1}{2}", newLine, schema.MaxSize.Size.ToString (), schema.MaxSize.Type);
- if (schema.FileGrowth.Size > 0)
- db.AppendFormat(",{0}FILEGROWTH = {1}{2}", newLine, schema.FileGrowth.Size.ToString (), schema.FileGrowth.Type == SizeType.PERCENTAGE ? "%" : schema.FileGrowth.Type.ToString ());
- db.Append (")");
- }
- if (schema.Collation != null)
- db.AppendFormat ("{0}COLLATE {1}{0}", newLine, schema.Collation.Name);
-
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (db.ToString ()))
- try {
- command.ExecuteNonQuery ();
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258255(SQL.80).aspx
- public override string GetTableCreateStatement (TableSchema table)
- {
- StringBuilder sb = new StringBuilder ();
- sb.Append ("CREATE TABLE ");
- sb.Append (table.Name);
- sb.Append (" (");
-
- bool first = true;
- foreach (ColumnSchema column in table.Columns) {
- if (first)
- first = false;
- else
- sb.Append ("," + Environment.NewLine);
-
- sb.Append (column.Name);
- sb.Append (' ');
- sb.Append (column.DataType.GetCreateString (column));
-
- if (column.HasDefaultValue) {
- sb.Append (" DEFAULT ");
- if (column.DefaultValue == null)
- sb.Append ("NULL");
- else
- sb.Append (column.DefaultValue);
- }
- if (!column.IsNullable)
- sb.Append (" NOT NULL");
- //TODO: AUTO_INCREMENT
-
- foreach (ConstraintSchema constraint in column.Constraints) {
- switch (constraint.ConstraintType) {
- case ConstraintType.Unique:
- sb.Append (" UNIQUE");
- break;
- case ConstraintType.PrimaryKey:
- sb.Append (" PRIMARY KEY");
- break;
- default:
- throw new NotImplementedException ();
- }
- }
-
- //TODO: col comment
- }
- //TODO: table comment
-
- foreach (ConstraintSchema constraint in table.Constraints) {
- sb.Append ("," + Environment.NewLine);
- sb.Append (GetConstraintString (constraint));
- }
-
- sb.Append (");");
-
- foreach (TriggerSchema trigger in table.Triggers) {
- sb.Append (Environment.NewLine);
- sb.Append (GetTriggerCreateStatement (trigger));
- }
-
- return sb.ToString ();
- }
-
- protected virtual string GetConstraintString (ConstraintSchema constraint)
- {
- StringBuilder sb = new StringBuilder ();
- sb.Append ("CONSTRAINT ");
- sb.Append (constraint.Name);
- sb.Append (' ');
-
- switch (constraint.ConstraintType) {
- case ConstraintType.PrimaryKey:
- sb.Append ("PRIMARY KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- break;
- case ConstraintType.Unique:
- sb.Append ("UNIQUE ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- break;
- case ConstraintType.Check:
- sb.Append ("CHECK (");
- sb.Append ((constraint as CheckConstraintSchema).Source);
- sb.Append (")");
- break;
- case ConstraintType.ForeignKey:
- sb.Append ("FOREIGN KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- sb.Append (" REFERENCES ");
-
- ForeignKeyConstraintSchema fk = constraint as ForeignKeyConstraintSchema;
- sb.Append (fk.ReferenceTableName);
- sb.Append (' ');
- if (fk.ReferenceColumns != null)
- sb.Append (GetColumnsString (fk.ReferenceColumns, true));
- break;
- default:
- throw new NotImplementedException ();
- }
-
- return sb.ToString ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258254(SQL.80).aspx
- public override void CreateView (ViewSchema view)
- {
- throw new NotImplementedException ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258259(SQL.80).aspx
- public override void CreateProcedure (ProcedureSchema procedure)
- {
- ExecuteNonQuery (procedure.Definition);
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258259(SQL.80).aspx
- public override void CreateIndex (IndexSchema index)
- {
- throw new NotImplementedException ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258254(SQL.80).aspx
- public override void CreateTrigger (TriggerSchema trigger)
- {
- string sql = GetTriggerCreateStatement (trigger);
- ExecuteNonQuery (sql);
- }
-
- protected virtual string GetTriggerCreateStatement (TriggerSchema trigger)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("GO");
- sb.Append (Environment.NewLine);
- sb.Append ("CREATE TRIGGER ");
- sb.Append (trigger.Name);
- sb.Append (" ON ");
- sb.Append (trigger.TableName);
-
- if (trigger.TriggerType == TriggerType.Before)
- sb.Append (" FOR ");
- else
- sb.Append (" AFTER ");
-
- switch (trigger.TriggerEvent) {
- case TriggerEvent.Delete:
- sb.Append ("DELETE");
- break;
- case TriggerEvent.Insert:
- sb.Append ("INSERT");
- break;
- case TriggerEvent.Update:
- sb.Append ("UPDATE");
- break;
- default:
- throw new NotImplementedException ();
- }
-
- sb.Append (" AS ");
- sb.Append (Environment.NewLine);
- sb.Append (trigger.Source);
- sb.Append (";");
-
- return sb.ToString ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa275464(SQL.80).aspx
- public override void AlterDatabase (DatabaseAlterSchema database)
- {
- throw new NotImplementedException ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa225939(SQL.80).aspx
- public override void AlterTable (TableAlterSchema table)
- {
- throw new NotImplementedException ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa225939(SQL.80).aspx
- public override void AlterView (ViewAlterSchema view)
- {
- //ExecuteNonQuery (view.Definition); //FIXME:
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa225939(SQL.80).aspx
- public override void AlterProcedure (ProcedureAlterSchema procedure)
- {
- ExecuteNonQuery (procedure.NewSchema.Definition);
- }
-
- public override void AlterIndex (IndexAlterSchema index)
- {
- throw new NotImplementedException ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa225939(SQL.80).aspx
- public override void AlterTrigger (TriggerAlterSchema trigger)
- {
- throw new NotImplementedException ();
- }
-
- public override void AlterUser (UserAlterSchema user)
- {
- throw new NotImplementedException ();
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258843(SQL.80).aspx
- public override void DropDatabase (DatabaseSchema database)
- {
- using (IPooledDbConnection conn = connectionPool.Request ()) {
- using (IDbCommand command = conn.CreateCommand (string.Concat("DROP DATABASE ", database.Name)))
- try {
- command.ExecuteNonQuery ();
- } catch (Exception e) {
- QueryService.RaiseException (e);
- } finally {
- conn.Release ();
- }
- }
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258841(SQL.80).aspx
- public override void DropTable (TableSchema table)
- {
- ExecuteNonQuery (string.Concat("DROP TABLE ", table.Name));
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258835(SQL.80).aspx
- public override void DropView (ViewSchema view)
- {
- ExecuteNonQuery (string.Concat("DROP VIEW ", view.Name));
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258830(SQL.80).aspx
- public override void DropProcedure (ProcedureSchema procedure)
- {
- ExecuteNonQuery (string.Concat("DROP PROCEDURE ", procedure.Name));
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa225939(SQL.80).aspx
- public override void DropIndex (IndexSchema index)
- {
- ExecuteNonQuery (string.Concat("DROP INDEX '", index.TableName, ".", index.Name, "'"));
- }
-
- //http://msdn2.microsoft.com/en-us/library/aa258846(SQL.80).aspx
- public override void DropTrigger (TriggerSchema trigger)
- {
- ExecuteNonQuery (string.Concat("DROP TRIGGER ", trigger.Name));
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- public override void RenameDatabase (DatabaseSchema database, string name)
- {
- Rename (database.Name, name, "DATABASE");
-
- database.Name = name;
- connectionPool.ConnectionContext.ConnectionSettings.Database = name;
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- public override void RenameTable (TableSchema table, string name)
- {
- Rename (table.Name, name, "OBJECT");
- table.Name = name;
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- public override void RenameView (ViewSchema view, string name)
- {
- Rename (view.Name, name, "OBJECT");
- view.Name = name;
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- public override void RenameProcedure (ProcedureSchema procedure, string name)
- {
- Rename (procedure.Name, name, "OBJECT");
- procedure.Name = name;
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- public override void RenameIndex (IndexSchema index, string name)
- {
- Rename (index.Name, name, "INDEX");
- index.Name = name;
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- public override void RenameTrigger (TriggerSchema trigger, string name)
- {
- Rename (trigger.Name, name, "OBJECT");
- trigger.Name = name;
- }
-
- public override string GetViewAlterStatement (ViewSchema view)
- {
- return String.Concat ("DROP VIEW ", view.Name, "; ", Environment.NewLine, view.Definition);
- }
-
- public override string GetProcedureAlterStatement (ProcedureSchema procedure)
- {
- string sp;
- if (procedure.Definition.Substring (0, 6).ToLower () == "create")
- sp = string.Concat("ALTER", procedure.Definition.Substring (6));
- else
- sp = procedure.Definition;
- return sp;
- }
-
- protected string GetTableDefinition (TableSchema table)
- {
- StringBuilder sb = new StringBuilder();
- sb.AppendFormat ("-- Table: {0}\n", table.Name);
- sb.AppendFormat ("-- DROP TABLE {0};\n\n", table.Name);
- sb.AppendFormat ("CREATE TABLE {0} (\n", table.Name);
-
- ColumnSchemaCollection columns = table.Columns;
- string[] parts = new string[columns.Count];
- int i = 0;
- foreach (ColumnSchema col in columns)
- parts[i++] = col.Definition;
- sb.Append (String.Join (",\n", parts));
-
- ConstraintSchemaCollection constraints = table.Constraints;
- parts = new string[constraints.Count];
- if (constraints.Count > 0)
- sb.Append (",\n");
- i = 0;
- foreach (ConstraintSchema constr in constraints)
- parts[i++] = "\t" + constr.Definition;
- sb.Append (String.Join (",\n", parts));
-
- sb.Append ("\n);\n");
- //sb.AppendFormat ("COMMENT ON TABLE {0} IS '{1}';", table.Name, table.Comment);
- return sb.ToString ();
- }
-
- private string GetSource (string objectName)
- {
- LoggingService.LogDebug ("GetSource: " + objectName);
- IPooledDbConnection conn = connectionPool.Request ();
- IDbCommand command = conn.CreateCommand (
- String.Format ("EXEC sp_helptext '{0}'", objectName)
- );
- StringBuilder sb = new StringBuilder ();
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ())
- sb.Append (r.GetString (0));
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return sb.ToString ();
- }
-
- //http://msdn2.microsoft.com/en-US/library/aa238878(SQL.80).aspx
- private void Rename (string oldName, string newName, string type)
- {
- IPooledDbConnection conn = connectionPool.Request ();
- IDbCommand command = conn.CreateStoredProcedure (
- String.Format ("EXEC sp_rename '{0}', '{1}', '{2}'", oldName, newName, type)
- );
- try {
- using (command)
- command.ExecuteNonQuery ();
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
- }
-
- public override string GetMimeType ()
- {
- return "text/x-sqlserver";
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSyntaxMode.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSyntaxMode.xml
deleted file mode 100644
index 8cf8c6babe..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SqlServerSyntaxMode.xml
+++ /dev/null
@@ -1,1330 +0,0 @@
-<!-- SqlServerSyntaxMode.xml - Sql Server Syntaxis mode file.
-
- Author:
- Luciano N. Callero <lnc19@hotmail.com>
-
- Copyright (c) 2009 Luciano N. Callero
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE. -->
-
-<SyntaxMode name = "SqlServer" mimeTypes="text/x-sqlserver" ignorecase="true">
-
- <EolSpan color = "Comment(Line)" rule="Comment" tagColor="comment.tag">-</EolSpan>
-
- <Span color = "Comment(Block)" rule="Comment" tagColor="comment.tag.block">
- <Begin>/*</Begin>
- <End>*/</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>'</Begin>
- <End>'</End>
- </Span>
-
- <Keywords color = "Keyword(Other)">
- <Word>@@DATEFIRST</Word>
- <Word>@@OPTIONS</Word>
- <Word>@@DBTS</Word>
- <Word>@@REMSERVER</Word>
- <Word>@@LANGID</Word>
- <Word>@@SERVERNAME</Word>
- <Word>@@LANGUAGE</Word>
- <Word>@@SERVICENAME</Word>
- <Word>@@LOCK_TIMEOUT</Word>
- <Word>@@SPID</Word>
- <Word>@@MAX_CONNECTIONS</Word>
- <Word>@@TEXTSIZE</Word>
- <Word>@@MAX_PRECISION</Word>
- <Word>@@VERSION</Word>
- <Word>@@NESTLEVEL</Word>
- <Word>@@CURSOR_ROWS</Word>
- <Word>@@FETCH_STATUS</Word>
- <Word>DATEADD</Word>
- <Word>DATEDIFF</Word>
- <Word>DATENAME</Word>
- <Word>DATEPART</Word>
- <Word>DAY</Word>
- <Word>GETDATE</Word>
- <Word>GETUTCDATE</Word>
- <Word>MONTH</Word>
- <Word>YEAR</Word>
- <Word>ABS</Word>
- <Word>DEGREES</Word>
- <Word>RAND</Word>
- <Word>ACOS</Word>
- <Word>EXP</Word>
- <Word>ROUND</Word>
- <Word>ASIN</Word>
- <Word>FLOOR</Word>
- <Word>SIGN</Word>
- <Word>ATAN</Word>
- <Word>LOG</Word>
- <Word>SIN</Word>
- <Word>ATN2</Word>
- <Word>LOG10</Word>
- <Word>SQUARE</Word>
- <Word>CEILING</Word>
- <Word>PI</Word>
- <Word>SQRT</Word>
- <Word>COS</Word>
- <Word>POWER</Word>
- <Word>TAN</Word>
- <Word>COT</Word>
- <Word>RADIANS</Word>
- <Word>COL_LENGTH</Word>
- <Word>fn_listextendedproperty</Word>
- <Word>COL_NAME</Word>
- <Word>FULLTEXTCATALOGPROPERTY</Word>
- <Word>COLUMNPROPERTY</Word>
- <Word>FULLTEXTSERVICEPROPERTY</Word>
- <Word>DATABASEPROPERTY</Word>
- <Word>INDEX_COL</Word>
- <Word>DATABASEPROPERTYEX</Word>
- <Word>INDEXKEY_PROPERTY</Word>
- <Word>DB_ID</Word>
- <Word>INDEXPROPERTY</Word>
- <Word>DB_NAME</Word>
- <Word>OBJECT_ID</Word>
- <Word>FILE_ID</Word>
- <Word>OBJECT_NAME</Word>
- <Word>FILE_NAME</Word>
- <Word>OBJECTPROPERTY</Word>
- <Word>FILEGROUP_ID</Word>
- <Word>@@PROCID</Word>
- <Word>FILEGROUP_NAME</Word>
- <Word>SQL_VARIANT_PROPERTY</Word>
- <Word>FILEGROUPPROPERTY</Word>
- <Word>TYPEPROPERTY</Word>
- <Word>FILEPROPERTY</Word>
- <Word>fn_trace_geteventinfo</Word>
- <Word>IS_SRVROLEMEMBER</Word>
- <Word>fn_trace_getfilterinfo</Word>
- <Word>SUSER_SID</Word>
- <Word>fn_trace_getinfo</Word>
- <Word>SUSER_SNAME</Word>
- <Word>fn_trace_gettable</Word>
- <Word>USER_ID</Word>
- <Word>HAS_DBACCESS</Word>
- <Word>USER</Word>
- <Word>IS_MEMBER</Word>
- <Word>ASCII</Word>
- <Word>NCHAR</Word>
- <Word>SOUNDEX</Word>
- <Word>CHAR</Word>
- <Word>PATINDEX</Word>
- <Word>SPACE</Word>
- <Word>CHARINDEX</Word>
- <Word>REPLACE</Word>
- <Word>STR</Word>
- <Word>DIFFERENCE</Word>
- <Word>QUOTENAME</Word>
- <Word>STUFF</Word>
- <Word>LEFT</Word>
- <Word>REPLICATE</Word>
- <Word>SUBSTRING</Word>
- <Word>LEN</Word>
- <Word>REVERSE</Word>
- <Word>UNICODE</Word>
- <Word>LOWER</Word>
- <Word>RIGHT</Word>
- <Word>UPPER</Word>
- <Word>LTRIM</Word>
- <Word>RTRIM</Word>
- <Word>APP_NAME</Word>
- <Word>CASE</Word>
- <Word>CAST</Word>
- <Word>CONVERT</Word>
- <Word>COALESCE</Word>
- <Word>COLLATIONPROPERTY</Word>
- <Word>CURRENT_TIMESTAMP</Word>
- <Word>CURRENT_USER</Word>
- <Word>DATALENGTH</Word>
- <Word>@@ERROR</Word>
- <Word>fn_helpcollations</Word>
- <Word>fn_servershareddrives</Word>
- <Word>fn_virtualfilestats</Word>
- <Word>FORMATMESSAGE</Word>
- <Word>GETANSINULL</Word>
- <Word>HOST_ID</Word>
- <Word>HOST_NAME</Word>
- <Word>IDENT_CURRENT</Word>
- <Word>IDENT_INCR</Word>
- <Word>IDENT_SEED</Word>
- <Word>@@IDENTITY</Word>
- <Word>IDENTITY</Word>
- <Word>ISDATE</Word>
- <Word>ISNULL</Word>
- <Word>ISNUMERIC</Word>
- <Word>NEWID</Word>
- <Word>NULLIF</Word>
- <Word>PARSENAME</Word>
- <Word>PERMISSIONS</Word>
- <Word>@@ROWCOUNT</Word>
- <Word>ROWCOUNT_BIG</Word>
- <Word>SCOPE_IDENTITY</Word>
- <Word>SERVERPROPERTY</Word>
- <Word>SESSIONPROPERTY</Word>
- <Word>SESSION_USER</Word>
- <Word>STATS_DATE</Word>
- <Word>SYSTEM_USER</Word>
- <Word>@@TRANCOUNT</Word>
- <Word>USER_NAME</Word>
- <Word>@@CONNECTIONS</Word>
- <Word>@@PACK_RECEIVED</Word>
- <Word>@@CPU_BUSY</Word>
- <Word>@@PACK_SENT</Word>
- <Word>fn_virtualfilestats</Word>
- <Word>@@TIMETICKS</Word>
- <Word>@@IDLE</Word>
- <Word>@@TOTAL_ERRORS</Word>
- <Word>@@IO_BUSY</Word>
- <Word>@@TOTAL_READ</Word>
- <Word>@@PACKET_ERRORS</Word>
- <Word>@@TOTAL_WRITE</Word>
- <Word>PATINDEX</Word>
- <Word>TEXTPTR</Word>
- <Word>TEXTVALID</Word>
- <Word>sp_ActiveDirectory_Obj</Word>
- <Word>sp_column_privileges</Word>
- <Word>sp_special_columns</Word>
- <Word>sp_columns</Word>
- <Word>sp_sproc_columns</Word>
- <Word>sp_databases</Word>
- <Word>sp_statistics</Word>
- <Word>sp_fkeys</Word>
- <Word>sp_stored_procedures</Word>
- <Word>sp_pkeys</Word>
- <Word>sp_table_privileges</Word>
- <Word>sp_server_info</Word>
- <Word>sp_tables </Word>
- <Word>sys.sp_cdc_add_job</Word>
- <Word>sys.sp_cdc_generate_wrapper_function</Word>
- <Word>sys.sp_cdc_change_job</Word>
- <Word>sys.sp_cdc_get_captured_columns</Word>
- <Word>sys.sp_cdc_cleanup_change_table</Word>
- <Word>sys.sp_cdc_get_ddl_history</Word>
- <Word>sys.sp_cdc_disable_db</Word>
- <Word>sys.sp_cdc_help_change_data_capture</Word>
- <Word>sys.sp_cdc_disable_table</Word>
- <Word>sys.sp_cdc_help_jobs</Word>
- <Word>sys.sp_cdc_drop_job</Word>
- <Word>sys.sp_cdc_scan</Word>
- <Word>sys.sp_cdc_enable_db</Word>
- <Word>sys.sp_cdc_start_job</Word>
- <Word>sys.sp_cdc_enable_table</Word>
- <Word>sys.sp_cdc_stop_job</Word>
- <Word>sp_cursor_list</Word>
- <Word>sp_describe_cursor_columns</Word>
- <Word>sp_describe_cursor</Word>
- <Word>sp_describe_cursor_tables </Word>
- <Word>sp_add_data_file_recover_suspect_db</Word>
- <Word>sp_dropmessage</Word>
- <Word>sp_add_log_file_recover_suspect_db</Word>
- <Word>sp_droptype</Word>
- <Word>sp_addextendedproc</Word>
- <Word>sp_executesql</Word>
- <Word>sp_addextendedproperty</Word>
- <Word>sp_getapplock</Word>
- <Word>sp_addmessage</Word>
- <Word>sp_getbindtoken</Word>
- <Word>sp_addtype</Word>
- <Word>sp_help</Word>
- <Word>sp_addumpdevice</Word>
- <Word>sp_helpconstraint</Word>
- <Word>sp_altermessage</Word>
- <Word>sp_helpdb</Word>
- <Word>sp_attach_db</Word>
- <Word>sp_helpdevice</Word>
- <Word>sp_attach_single_file_db</Word>
- <Word>sp_helpextendedproc</Word>
- <Word>sp_autostats</Word>
- <Word>sp_helpfile</Word>
- <Word>sp_bindefault</Word>
- <Word>sp_helpfilegroup</Word>
- <Word>sp_bindrule</Word>
- <Word>sp_helpindex</Word>
- <Word>sp_bindsession</Word>
- <Word>sp_helplanguage</Word>
- <Word>sp_certify_removable</Word>
- <Word>sp_helpserver</Word>
- <Word>sp_clean_db_file_free_space</Word>
- <Word>sp_helpsort</Word>
- <Word>sp_clean_db_free_space</Word>
- <Word>sp_helpstats</Word>
- <Word>sp_configure</Word>
- <Word>sp_helptext</Word>
- <Word>sp_control_plan_guide</Word>
- <Word>sp_helptrigger</Word>
- <Word>sp_create_plan_guide</Word>
- <Word>sp_indexoption</Word>
- <Word>sp_create_plan_guide_from_handle</Word>
- <Word>sp_invalidate_textptr</Word>
- <Word>sp_create_removable</Word>
- <Word>sp_lock</Word>
- <Word>sp_createstats</Word>
- <Word>sp_monitor</Word>
- <Word>sp_cycle_errorlog</Word>
- <Word>sp_procoption</Word>
- <Word>sp_datatype_info</Word>
- <Word>sp_recompile</Word>
- <Word>sp_dbcmptlevel</Word>
- <Word>sp_refreshview</Word>
- <Word>sp_dbmmonitoraddmonitoring</Word>
- <Word>sp_releaseapplock</Word>
- <Word>sp_dbmmonitorchangealert</Word>
- <Word>sp_rename</Word>
- <Word>sp_dbmmonitorchangemonitoring</Word>
- <Word>sp_renamedb</Word>
- <Word>sp_dbmmonitordropalert</Word>
- <Word>sp_resetstatus</Word>
- <Word>sp_dbmmonitordropmonitoring</Word>
- <Word>sp_serveroption</Word>
- <Word>sp_dbmmonitorhelpalert</Word>
- <Word>sp_setnetname</Word>
- <Word>sp_dbmmonitorhelpmonitoring</Word>
- <Word>sp_settriggerorder</Word>
- <Word>sp_dbmmonitorresults</Word>
- <Word>sp_spaceused</Word>
- <Word>sp_dboption</Word>
- <Word>sp_tableoption</Word>
- <Word>sp_dbremove</Word>
- <Word>sp_unbindefault</Word>
- <Word>sp_delete_backuphistory</Word>
- <Word>sp_unbindrule</Word>
- <Word>sp_depends</Word>
- <Word>sp_updateextendedproperty</Word>
- <Word>sp_detach_db</Word>
- <Word>sp_updatestats</Word>
- <Word>sp_dropdevice</Word>
- <Word>sp_validname</Word>
- <Word>sp_dropextendedproc</Word>
- <Word>sp_who</Word>
- <Word>sp_dropextendedproperty</Word>
- <Word>sp_send_dbmail</Word>
- <Word>sysmail_help_configure_sp</Word>
- <Word>sysmail_add_account_sp</Word>
- <Word>sysmail_help_principalprofile_sp</Word>
- <Word>sysmail_add_principalprofile_sp</Word>
- <Word>sysmail_help_profile_sp</Word>
- <Word>sysmail_add_profile_sp</Word>
- <Word>sysmail_help_profileaccount_sp</Word>
- <Word>sysmail_add_profileaccount_sp</Word>
- <Word>sysmail_help_queue_sp</Word>
- <Word>sysmail_configure_sp</Word>
- <Word>sysmail_help_status_sp</Word>
- <Word>sysmail_delete_account_sp</Word>
- <Word>sysmail_start_sp</Word>
- <Word>sysmail_delete_log_sp</Word>
- <Word>sysmail_stop_sp</Word>
- <Word>sysmail_delete_mailitems_sp</Word>
- <Word>sysmail_update_account_sp</Word>
- <Word>sysmail_delete_principalprofile_sp</Word>
- <Word>sysmail_update_principalprofile_sp</Word>
- <Word>sysmail_delete_profile_sp</Word>
- <Word>sysmail_update_profile_sp</Word>
- <Word>sysmail_delete_profileaccount_sp</Word>
- <Word>sysmail_update_profileaccount_sp</Word>
- <Word>sysmail_help_account_sp</Word>
- <Word>sp_add_maintenance_plan</Word>
- <Word>sp_delete_maintenance_plan_db</Word>
- <Word>sp_add_maintenance_plan_db</Word>
- <Word>sp_delete_maintenance_plan_job</Word>
- <Word>sp_add_maintenance_plan_job</Word>
- <Word>sp_help_maintenance_plan</Word>
- <Word>sp_delete_maintenance_plan </Word>
- <Word>sp_addlinkedserver</Word>
- <Word>sp_indexes</Word>
- <Word>sp_addlinkedsrvlogin</Word>
- <Word>sp_linkedservers</Word>
- <Word>sp_catalogs</Word>
- <Word>sp_primarykeys</Word>
- <Word>sp_column_privileges_ex</Word>
- <Word>sp_serveroption</Word>
- <Word>sp_columns_ex</Word>
- <Word>sp_table_privileges_ex</Word>
- <Word>sp_droplinkedsrvlogin</Word>
- <Word>sp_tables_ex</Word>
- <Word>sp_dropserver</Word>
- <Word>sp_testlinkedserver</Word>
- <Word>sp_foreignkeys</Word>
- <Word>sp_fulltext_catalog</Word>
- <Word>sp_fulltext_column</Word>
- <Word>sp_fulltext_database</Word>
- <Word>sp_fulltext_keymappings</Word>
- <Word>sp_fulltext_load_thesaurus_file</Word>
- <Word>sp_fulltext_pendingchanges</Word>
- <Word>sp_fulltext_service</Word>
- <Word>sp_fulltext_table</Word>
- <Word>sp_help_fulltext_catalog_components</Word>
- <Word>sp_help_fulltext_catalogs</Word>
- <Word>sp_help_fulltext_catalogs_cursor</Word>
- <Word>sp_help_fulltext_columns</Word>
- <Word>sp_help_fulltext_columns_cursor</Word>
- <Word>sp_help_fulltext_system_components</Word>
- <Word>sp_help_fulltext_tables</Word>
- <Word>sp_help_fulltext_tables_cursor</Word>
- <Word>sp_add_log_shipping_alert_job</Word>
- <Word>sp_delete_log_shipping_secondary_database</Word>
- <Word>sp_add_log_shipping_primary_database</Word>
- <Word>sp_delete_log_shipping_secondary_primary</Word>
- <Word>sp_add_log_shipping_primary_secondary</Word>
- <Word>sp_help_log_shipping_alert_job</Word>
- <Word>sp_add_log_shipping_secondary_database</Word>
- <Word>sp_help_log_shipping_monitor</Word>
- <Word>sp_add_log_shipping_secondary_primary</Word>
- <Word>sp_help_log_shipping_monitor_primary</Word>
- <Word>sp_change_log_shipping_primary_database</Word>
- <Word>sp_help_log_shipping_monitor_secondary</Word>
- <Word>sp_change_log_shipping_secondary_database</Word>
- <Word>sp_help_log_shipping_primary_database</Word>
- <Word>sp_change_log_shipping_secondary_primary</Word>
- <Word>sp_help_log_shipping_primary_secondary</Word>
- <Word>sp_cleanup_log_shipping_history</Word>
- <Word>sp_help_log_shipping_secondary_database</Word>
- <Word>sp_delete_log_shipping_alert_job</Word>
- <Word>sp_help_log_shipping_secondary_primary</Word>
- <Word>sp_delete_log_shipping_primary_database</Word>
- <Word>sp_refresh_log_shipping_monitor</Word>
- <Word>sp_delete_log_shipping_primary_secondary</Word>
- <Word>sp_syspolicy_add_policy_category</Word>
- <Word>sp_syspolicy_rename_policy_category</Word>
- <Word>sp_syspolicy_add_policy_category_subscription</Word>
- <Word>sp_syspolicy_repair_policy_automation</Word>
- <Word>sp_syspolicy_configure</Word>
- <Word>sp_syspolicy_set_config_enabled</Word>
- <Word>sp_syspolicy_delete_policy_category</Word>
- <Word>sp_syspolicy_set_config_history_retention</Word>
- <Word>sp_syspolicy_delete_policy_category_subscription</Word>
- <Word>sp_syspolicy_set_log_on_success</Word>
- <Word>sp_syspolicy_delete_policy_execution_history</Word>
- <Word>sp_syspolicy_subscribe_to_policy_category</Word>
- <Word>sp_syspolicy_purge_health_state</Word>
- <Word>sp_syspolicy_unsubscribe_from_policy_category</Word>
- <Word>sp_syspolicy_purge_history</Word>
- <Word>sp_syspolicy_update_policy_category</Word>
- <Word>sp_syspolicy_rename_condition</Word>
- <Word>sp_syspolicy_update_policy_category_subscription</Word>
- <Word>sp_syspolicy_rename_policy </Word>
- <Word>sp_add_agent_parameter</Word>
- <Word>sp_helparticle</Word>
- <Word>sp_add_agent_profile</Word>
- <Word>sp_helparticlecolumns</Word>
- <Word>sp_addarticle</Word>
- <Word>sp_helparticledts</Word>
- <Word>sp_adddistpublisher</Word>
- <Word>sp_helpdatatypemap</Word>
- <Word>sp_adddistributiondb</Word>
- <Word>sp_helpdistpublisher</Word>
- <Word>sp_adddistributor</Word>
- <Word>sp_helpdistributiondb</Word>
- <Word>sp_adddynamicsnapshot_job</Word>
- <Word>sp_helpdistributor</Word>
- <Word>sp_addlogreader_agent</Word>
- <Word>sp_helpdistributor_properties</Word>
- <Word>sp_addmergealternatepublisher</Word>
- <Word>sp_helpdynamicsnapshot_job</Word>
- <Word>sp_addmergearticle</Word>
- <Word>sp_helplogreader_agent</Word>
- <Word>sp_addmergefilter</Word>
- <Word>sp_helpmergealternatepublisher</Word>
- <Word>sp_addmergepartition</Word>
- <Word>sp_helpmergearticle</Word>
- <Word>sp_addmergepublication</Word>
- <Word>sp_helpmergearticlecolumn</Word>
- <Word>sp_addmergepullsubscription</Word>
- <Word>sp_helpmergearticleconflicts</Word>
- <Word>sp_addmergepullsubscription_agent</Word>
- <Word>sp_helpmergeconflictrows</Word>
- <Word>sp_addmergepushsubscription_agent</Word>
- <Word>sp_helpmergedeleteconflictrows</Word>
- <Word>sp_addmergesubscription</Word>
- <Word>sp_helpmergefilter</Word>
- <Word>sp_addpublication</Word>
- <Word>sp_helpmergepartition</Word>
- <Word>sp_addpublication_snapshot</Word>
- <Word>sp_helpmergepublication</Word>
- <Word>sp_addpullsubscription</Word>
- <Word>sp_helpmergepullsubscription</Word>
- <Word>sp_addpullsubscription_agent</Word>
- <Word>sp_helpmergesubscription</Word>
- <Word>sp_addpushsubscription_agent</Word>
- <Word>sp_help_peerconflictdetection</Word>
- <Word>sp_addqreader_agent</Word>
- <Word>sp_helppeerrequests</Word>
- <Word>sp_addqueued_artinfo</Word>
- <Word>sp_helppeerresponses</Word>
- <Word>sp_addscriptexec</Word>
- <Word>sp_helppublication</Word>
- <Word>sp_addsubscriber</Word>
- <Word>sp_helppublication_snapshot</Word>
- <Word>sp_addsubscriber_schedule</Word>
- <Word>sp_helppullsubscription</Word>
- <Word>sp_addsubscription</Word>
- <Word>sp_helpqreader_agent</Word>
- <Word>sp_addsynctriggers</Word>
- <Word>sp_helpreplfailovermode</Word>
- <Word>sp_addtabletocontents</Word>
- <Word>sp_helpreplicationdboption</Word>
- <Word>sp_adjustpublisheridentityrange</Word>
- <Word>sp_helpreplicationoption</Word>
- <Word>sp_article_validation</Word>
- <Word>sp_helpsubscriberinfo</Word>
- <Word>sp_articlecolumn</Word>
- <Word>sp_helpsubscription</Word>
- <Word>sp_articlefilter</Word>
- <Word>sp_helpsubscription_properties</Word>
- <Word>sp_articleview</Word>
- <Word>sp_helpsubscriptionerrors</Word>
- <Word>sp_attachsubscription</Word>
- <Word>sp_helptracertokenhistory</Word>
- <Word>sp_browsemergesnapshotfolder</Word>
- <Word>sp_helptracertokens</Word>
- <Word>sp_browsereplcmds</Word>
- <Word>sp_helpxactsetjob</Word>
- <Word>sp_browsesnapshotfolder</Word>
- <Word>sp_ivindexhasnullcols</Word>
- <Word>sp_change_agent_parameter</Word>
- <Word>sp_link_publication</Word>
- <Word>sp_change_agent_profile</Word>
- <Word>sp_lookupcustomresolver</Word>
- <Word>sp_change_subscription_properties</Word>
- <Word>sp_markpendingschemachange</Word>
- <Word>sp_changearticle</Word>
- <Word>sp_marksubscriptionvalidation</Word>
- <Word>sp_changearticlecolumndatatype</Word>
- <Word>sp_mergearticlecolumn</Word>
- <Word>sp_changedistpublisher</Word>
- <Word>sp_mergecleanupmetadata</Word>
- <Word>sp_changedistributiondb</Word>
- <Word>sp_mergedummyupdate</Word>
- <Word>sp_changedistributor_password</Word>
- <Word>sp_mergemetadataretentioncleanup</Word>
- <Word>sp_changedistributor_property</Word>
- <Word>sp_mergesubscription_cleanup</Word>
- <Word>sp_changedynamicsnapshot_job</Word>
- <Word>sp_MSchange_distribution_agent_properties</Word>
- <Word>sp_changelogreader_agent</Word>
- <Word>sp_MSchange_logreader_agent_properties</Word>
- <Word>sp_changemergearticle</Word>
- <Word>sp_MSchange_merge_agent_properties</Word>
- <Word>sp_changemergefilter</Word>
- <Word>sp_MSchange_snapshot_agent_properties</Word>
- <Word>sp_changemergepublication</Word>
- <Word>sp_posttracertoken</Word>
- <Word>sp_changemergepullsubscription</Word>
- <Word>sp_publication_validation</Word>
- <Word>sp_changemergesubscription</Word>
- <Word>sp_publisherproperty</Word>
- <Word>sp_changepublication</Word>
- <Word>sp_refreshsubscriptions</Word>
- <Word>sp_changepublication_snapshot</Word>
- <Word>sp_register_custom_scripting</Word>
- <Word>sp_changeqreader_agent</Word>
- <Word>sp_registercustomresolver</Word>
- <Word>sp_changereplicationserverpasswords</Word>
- <Word>sp_reinitmergepullsubscription</Word>
- <Word>sp_changesubscriber</Word>
- <Word>sp_reinitmergesubscription</Word>
- <Word>sp_changesubscriber_schedule</Word>
- <Word>sp_reinitpullsubscription</Word>
- <Word>sp_changesubscription</Word>
- <Word>sp_reinitsubscription</Word>
- <Word>sp_changesubscriptiondtsinfo</Word>
- <Word>sp_removedbreplication</Word>
- <Word>sp_changesubstatus</Word>
- <Word>sp_removedistpublisherdbreplication</Word>
- <Word>sp_check_dynamic_filters</Word>
- <Word>sp_repladdcolumn</Word>
- <Word>sp_check_for_sync_trigger</Word>
- <Word>sp_replcmds</Word>
- <Word>sp_check_join_filter</Word>
- <Word>sp_replcounters</Word>
- <Word>sp_check_subset_filter</Word>
- <Word>sp_repldone</Word>
- <Word>sp_configure_peerconflictdetection</Word>
- <Word>sp_repldropcolumn</Word>
- <Word>sp_copymergesnapshot</Word>
- <Word>sp_replflush</Word>
- <Word>sp_copysnapshot</Word>
- <Word>sp_replication_agent_checkup</Word>
- <Word>sp_copysubscription</Word>
- <Word>sp_replicationdboption</Word>
- <Word>sp_deletemergeconflictrow</Word>
- <Word>sp_replmonitorchangepublicationthreshold</Word>
- <Word>sp_deletepeerrequesthistory</Word>
- <Word>sp_replmonitorhelpmergesession</Word>
- <Word>sp_deletetracertokenhistory</Word>
- <Word>sp_replmonitorhelpmergesessiondetail</Word>
- <Word>sp_drop_agent_parameter</Word>
- <Word>sp_replmonitorhelppublication</Word>
- <Word>sp_drop_agent_profile</Word>
- <Word>sp_replmonitorhelppublicationthresholds</Word>
- <Word>sp_dropanonymousagent</Word>
- <Word>sp_replmonitorhelppublisher</Word>
- <Word>sp_droparticle</Word>
- <Word>sp_replmonitorhelpsubscription</Word>
- <Word>sp_dropdistpublisher</Word>
- <Word>sp_replmonitorsubscriptionpendingcmds</Word>
- <Word>sp_dropdistributiondb</Word>
- <Word>sp_replqueuemonitor</Word>
- <Word>sp_dropdistributor</Word>
- <Word>sp_replrestart</Word>
- <Word>sp_dropdynamicsnapshot_job</Word>
- <Word>sp_replsetoriginator</Word>
- <Word>sp_dropmergealternatepublisher</Word>
- <Word>sp_replshowcmds</Word>
- <Word>sp_dropmergearticle</Word>
- <Word>sp_repltrans</Word>
- <Word>sp_dropmergefilter</Word>
- <Word>sp_requestpeerresponse</Word>
- <Word>sp_dropmergepartition</Word>
- <Word>sp_requestpeertopologyinfo</Word>
- <Word>sp_dropmergepublication</Word>
- <Word>sp_resetsnapshotdeliveryprogress</Word>
- <Word>sp_dropmergepullsubscription</Word>
- <Word>sp_restoredbreplication</Word>
- <Word>sp_dropmergesubscription</Word>
- <Word>sp_restoremergeidentityrange</Word>
- <Word>sp_droppublication</Word>
- <Word>sp_resyncmergesubscription</Word>
- <Word>sp_droppullsubscription</Word>
- <Word>sp_revoke_publication_access</Word>
- <Word>sp_dropsubscriber</Word>
- <Word>sp_schemafilter</Word>
- <Word>sp_dropsubscription</Word>
- <Word>sp_script_synctran_commands</Word>
- <Word>sp_dsninfo</Word>
- <Word>sp_scriptdynamicupdproc</Word>
- <Word>sp_enumcustomresolvers</Word>
- <Word>sp_scriptpublicationcustomprocs</Word>
- <Word>sp_enumdsn</Word>
- <Word>sp_scriptsubconflicttable</Word>
- <Word>sp_enumeratependingschemachanges</Word>
- <Word>sp_setdefaultdatatypemapping</Word>
- <Word>sp_expired_subscription_cleanup</Word>
- <Word>sp_setreplfailovermode</Word>
- <Word>sp_generatefilters</Word>
- <Word>sp_setsubscriptionxactseqno</Word>
- <Word>sp_get_distributor</Word>
- <Word>sp_showpendingchanges</Word>
- <Word>sp_getagentparameterlist</Word>
- <Word>sp_showrowreplicainfo</Word>
- <Word>sp_getdefaultdatatypemapping</Word>
- <Word>sp_startpublication_snapshot</Word>
- <Word>sp_getmergedeletetype</Word>
- <Word>sp_subscription_cleanup</Word>
- <Word>sp_getqueuedrows</Word>
- <Word>sp_table_validation</Word>
- <Word>sp_getsubscriptiondtspackagename</Word>
- <Word>sp_unregister_custom_scripting</Word>
- <Word>sp_gettopologyinfo</Word>
- <Word>sp_unregistercustomresolver</Word>
- <Word>sp_grant_publication_access</Word>
- <Word>sp_update_agent_profile</Word>
- <Word>sp_help_agent_default</Word>
- <Word>sp_validatemergepublication</Word>
- <Word>sp_help_agent_parameter</Word>
- <Word>sp_validatemergesubscription</Word>
- <Word>sp_help_agent_profile</Word>
- <Word>sp_vupgrade_mergeobjects</Word>
- <Word>sp_help_publication_access</Word>
- <Word>sp_vupgrade_replication </Word>
- <Word>sp_addapprole</Word>
- <Word>sp_dropsrvrolemember</Word>
- <Word>sp_addlinkedsrvlogin</Word>
- <Word>sp_dropuser</Word>
- <Word>sp_addlogin</Word>
- <Word>sp_grantdbaccess</Word>
- <Word>sp_addremotelogin</Word>
- <Word>sp_grantlogin</Word>
- <Word>sp_addrole</Word>
- <Word>sp_helpdbfixedrole</Word>
- <Word>sp_addrolemember</Word>
- <Word>sp_helplinkedsrvlogin</Word>
- <Word>sp_addserver</Word>
- <Word>sp_helplogins</Word>
- <Word>sp_addsrvrolemember</Word>
- <Word>sp_helpntgroup</Word>
- <Word>sp_adduser</Word>
- <Word>sp_helpremotelogin</Word>
- <Word>sp_approlepassword</Word>
- <Word>sp_helprole</Word>
- <Word>sp_changedbowner</Word>
- <Word>sp_helprolemember</Word>
- <Word>sp_changeobjectowner</Word>
- <Word>sp_helprotect</Word>
- <Word>sp_change_users_login</Word>
- <Word>sp_helpsrvrole</Word>
- <Word>sp_dbfixedrolepermission</Word>
- <Word>sp_helpsrvrolemember</Word>
- <Word>sp_defaultdb</Word>
- <Word>sp_helpuser</Word>
- <Word>sp_defaultlanguage</Word>
- <Word>sp_MShasdbaccess</Word>
- <Word>sp_denylogin</Word>
- <Word>sp_password</Word>
- <Word>sp_dropalias</Word>
- <Word>sp_remoteoption</Word>
- <Word>sp_dropapprole</Word>
- <Word>sp_revokedbaccess</Word>
- <Word>sp_droplinkedsrvlogin</Word>
- <Word>sp_revokelogin</Word>
- <Word>sp_droplogin</Word>
- <Word>sp_setapprole</Word>
- <Word>sp_dropremotelogin</Word>
- <Word>sp_srvrolepermission</Word>
- <Word>sp_droprolemember</Word>
- <Word>sp_validatelogins</Word>
- <Word>sp_dropserver</Word>
- <Word>sp_trace_create</Word>
- <Word>sp_trace_setfilter</Word>
- <Word>sp_trace_generateevent</Word>
- <Word>sp_trace_setstatus</Word>
- <Word>sp_trace_setevent </Word>
- <Word>sp_add_alert</Word>
- <Word>sp_help_jobactivity</Word>
- <Word>sp_add_category</Word>
- <Word>sp_help_jobcount</Word>
- <Word>sp_add_job</Word>
- <Word>sp_help_jobhistory</Word>
- <Word>sp_add_jobschedule</Word>
- <Word>sp_help_jobs_in_schedule</Word>
- <Word>sp_add_jobserver</Word>
- <Word>sp_help_jobschedule</Word>
- <Word>sp_add_jobstep</Word>
- <Word>sp_help_jobserver</Word>
- <Word>sp_add_notification</Word>
- <Word>sp_help_jobstep</Word>
- <Word>sp_add_operator</Word>
- <Word>sp_help_jobsteplog</Word>
- <Word>sp_add_schedule</Word>
- <Word>sp_help_notification</Word>
- <Word>sp_add_targetservergroup</Word>
- <Word>sp_help_operator</Word>
- <Word>sp_add_targetsvrgrp_member</Word>
- <Word>sp_help_proxy</Word>
- <Word>sp_apply_job_to_targets</Word>
- <Word>sp_help_schedule</Word>
- <Word>sp_attach_schedule</Word>
- <Word>sp_help_targetserver</Word>
- <Word>sp_cycle_agent_errorlog</Word>
- <Word>sp_help_targetservergroup</Word>
- <Word>sp_cycle_errorlog</Word>
- <Word>sp_manage_jobs_by_login</Word>
- <Word>sp_delete_alert</Word>
- <Word>sp_msx_defect</Word>
- <Word>sp_delete_category</Word>
- <Word>sp_msx_enlist</Word>
- <Word>sp_delete_job</Word>
- <Word>sp_msx_get_account</Word>
- <Word>sp_delete_jobschedule</Word>
- <Word>sp_msx_set_account</Word>
- <Word>sp_delete_jobserver</Word>
- <Word>sp_notify_operator</Word>
- <Word>sp_delete_jobstep</Word>
- <Word>sp_post_msx_operation</Word>
- <Word>sp_delete_jobsteplog</Word>
- <Word>sp_purge_jobhistory</Word>
- <Word>sp_delete_notification</Word>
- <Word>sp_remove_job_from_targetss</Word>
- <Word>sp_delete_operator</Word>
- <Word>sp_resync_targetserver</Word>
- <Word>sp_delete_proxy</Word>
- <Word>sp_revoke_login_from_proxy</Word>
- <Word>sp_delete_schedule</Word>
- <Word>sp_revoke_proxy_from_subsystem</Word>
- <Word>sp_delete_targetserver</Word>
- <Word>sp_start_job</Word>
- <Word>sp_delete_targetservergroup</Word>
- <Word>sp_stop_job</Word>
- <Word>sp_delete_targetsvrgrp_member</Word>
- <Word>sp_update_alert</Word>
- <Word>sp_detach_schedule</Word>
- <Word>sp_update_category</Word>
- <Word>sp_enum_login_for_proxy</Word>
- <Word>sp_update_job</Word>
- <Word>sp_enum_proxy_for_subsystem</Word>
- <Word>sp_update_jobschedule</Word>
- <Word>sp_enum_sqlagent_subsystems</Word>
- <Word>sp_update_jobstep</Word>
- <Word>sp_grant_proxy_to_subsystem</Word>
- <Word>sp_update_notification</Word>
- <Word>sp_grant_login_to_proxy</Word>
- <Word>sp_update_operator</Word>
- <Word>sp_help_alert</Word>
- <Word>sp_update_proxy</Word>
- <Word>sp_help_category</Word>
- <Word>sp_update_schedule</Word>
- <Word>sp_help_downloadlist</Word>
- <Word>sp_update_targetservergroup</Word>
- <Word>sp_help_job</Word>
- <Word>sp_xml_preparedocument</Word>
- <Word>sp_xml_removedocument </Word>
- <Word>xp_cmdshell</Word>
- <Word>xp_logininfo</Word>
- <Word>xp_enumgroups</Word>
- <Word>xp_msver</Word>
- <Word>xp_findnextmsg</Word>
- <Word>xp_revokelogin</Word>
- <Word>xp_grantlogin</Word>
- <Word>xp_sprintf</Word>
- <Word>xp_logevent</Word>
- <Word>xp_sqlmaint</Word>
- <Word>xp_loginconfig</Word>
- <Word>xp_sscanf </Word>
- <Word>sp_add_agent_parameter</Word>
- <Word>sp_helparticle</Word>
- <Word>sp_add_agent_profile</Word>
- <Word>sp_helparticlecolumns</Word>
- <Word>sp_addarticle</Word>
- <Word>sp_helparticledts</Word>
- <Word>sp_adddistpublisher</Word>
- <Word>sp_helpdatatypemap</Word>
- <Word>sp_adddistributiondb</Word>
- <Word>sp_helpdistpublisher</Word>
- <Word>sp_adddistributor</Word>
- <Word>sp_helpdistributiondb</Word>
- <Word>sp_adddynamicsnapshot_job</Word>
- <Word>sp_helpdistributor</Word>
- <Word>sp_addlogreader_agent</Word>
- <Word>sp_helpdistributor_properties</Word>
- <Word>sp_addmergealternatepublisher</Word>
- <Word>sp_helpdynamicsnapshot_job</Word>
- <Word>sp_addmergearticle</Word>
- <Word>sp_helplogreader_agent</Word>
- <Word>sp_addmergefilter</Word>
- <Word>sp_helpmergealternatepublisher</Word>
- <Word>sp_addmergepartition</Word>
- <Word>sp_helpmergearticle</Word>
- <Word>sp_addmergepublication</Word>
- <Word>sp_helpmergearticlecolumn</Word>
- <Word>sp_addmergepullsubscription</Word>
- <Word>sp_helpmergearticleconflicts</Word>
- <Word>sp_addmergepullsubscription_agent</Word>
- <Word>sp_helpmergeconflictrows</Word>
- <Word>sp_addmergepushsubscription_agent</Word>
- <Word>sp_helpmergedeleteconflictrows</Word>
- <Word>sp_addmergesubscription</Word>
- <Word>sp_helpmergefilter</Word>
- <Word>sp_addpublication</Word>
- <Word>sp_helpmergepartition</Word>
- <Word>sp_addpublication_snapshot</Word>
- <Word>sp_helpmergepublication</Word>
- <Word>sp_addpullsubscription</Word>
- <Word>sp_helpmergepullsubscription</Word>
- <Word>sp_addpullsubscription_agent</Word>
- <Word>sp_helpmergesubscription</Word>
- <Word>sp_addpushsubscription_agent</Word>
- <Word>sp_help_peerconflictdetection</Word>
- <Word>sp_addqreader_agent</Word>
- <Word>sp_helppeerrequests</Word>
- <Word>sp_addqueued_artinfo</Word>
- <Word>sp_helppeerresponses</Word>
- <Word>sp_addscriptexec</Word>
- <Word>sp_helppublication</Word>
- <Word>sp_addsubscriber</Word>
- <Word>sp_helppublication_snapshot</Word>
- <Word>sp_addsubscriber_schedule</Word>
- <Word>sp_helppullsubscription</Word>
- <Word>sp_addsubscription</Word>
- <Word>sp_helpqreader_agent</Word>
- <Word>sp_addsynctriggers</Word>
- <Word>sp_helpreplfailovermode</Word>
- <Word>sp_addtabletocontents</Word>
- <Word>sp_helpreplicationdboption</Word>
- <Word>sp_adjustpublisheridentityrange</Word>
- <Word>sp_helpreplicationoption</Word>
- <Word>sp_article_validation</Word>
- <Word>sp_helpsubscriberinfo</Word>
- <Word>sp_articlecolumn</Word>
- <Word>sp_helpsubscription</Word>
- <Word>sp_articlefilter</Word>
- <Word>sp_helpsubscription_properties</Word>
- <Word>sp_articleview</Word>
- <Word>sp_helpsubscriptionerrors</Word>
- <Word>sp_attachsubscription</Word>
- <Word>sp_helptracertokenhistory</Word>
- <Word>sp_browsemergesnapshotfolder</Word>
- <Word>sp_helptracertokens</Word>
- <Word>sp_browsereplcmds</Word>
- <Word>sp_helpxactsetjob</Word>
- <Word>sp_browsesnapshotfolder</Word>
- <Word>sp_ivindexhasnullcols</Word>
- <Word>sp_change_agent_parameter</Word>
- <Word>sp_link_publication</Word>
- <Word>sp_change_agent_profile</Word>
- <Word>sp_lookupcustomresolver</Word>
- <Word>sp_change_subscription_properties</Word>
- <Word>sp_markpendingschemachange</Word>
- <Word>sp_changearticle</Word>
- <Word>sp_marksubscriptionvalidation</Word>
- <Word>sp_changearticlecolumndatatype</Word>
- <Word>sp_mergearticlecolumn</Word>
- <Word>sp_changedistpublisher</Word>
- <Word>sp_mergecleanupmetadata</Word>
- <Word>sp_changedistributiondb</Word>
- <Word>sp_mergedummyupdate</Word>
- <Word>sp_changedistributor_password</Word>
- <Word>sp_mergemetadataretentioncleanup</Word>
- <Word>sp_changedistributor_property</Word>
- <Word>sp_mergesubscription_cleanup</Word>
- <Word>sp_changedynamicsnapshot_job</Word>
- <Word>sp_MSchange_distribution_agent_properties</Word>
- <Word>sp_changelogreader_agent</Word>
- <Word>sp_MSchange_logreader_agent_properties</Word>
- <Word>sp_changemergearticle</Word>
- <Word>sp_MSchange_merge_agent_properties</Word>
- <Word>sp_changemergefilter</Word>
- <Word>sp_MSchange_snapshot_agent_properties</Word>
- <Word>sp_changemergepublication</Word>
- <Word>sp_posttracertoken</Word>
- <Word>sp_changemergepullsubscription</Word>
- <Word>sp_publication_validation</Word>
- <Word>sp_changemergesubscription</Word>
- <Word>sp_publisherproperty</Word>
- <Word>sp_changepublication</Word>
- <Word>sp_refreshsubscriptions</Word>
- <Word>sp_changepublication_snapshot</Word>
- <Word>sp_register_custom_scripting</Word>
- <Word>sp_changeqreader_agent</Word>
- <Word>sp_registercustomresolver</Word>
- <Word>sp_changereplicationserverpasswords</Word>
- <Word>sp_reinitmergepullsubscription</Word>
- <Word>sp_changesubscriber</Word>
- <Word>sp_reinitmergesubscription</Word>
- <Word>sp_changesubscriber_schedule</Word>
- <Word>sp_reinitpullsubscription</Word>
- <Word>sp_changesubscription</Word>
- <Word>sp_reinitsubscription</Word>
- <Word>sp_changesubscriptiondtsinfo</Word>
- <Word>sp_removedbreplication</Word>
- <Word>sp_changesubstatus</Word>
- <Word>sp_removedistpublisherdbreplication</Word>
- <Word>sp_check_dynamic_filters</Word>
- <Word>sp_repladdcolumn</Word>
- <Word>sp_check_for_sync_trigger</Word>
- <Word>sp_replcmds</Word>
- <Word>sp_check_join_filter</Word>
- <Word>sp_replcounters</Word>
- <Word>sp_check_subset_filter</Word>
- <Word>sp_repldone</Word>
- <Word>sp_configure_peerconflictdetection</Word>
- <Word>sp_repldropcolumn</Word>
- <Word>sp_copymergesnapshot</Word>
- <Word>sp_replflush</Word>
- <Word>sp_copysnapshot</Word>
- <Word>sp_replication_agent_checkup</Word>
- <Word>sp_copysubscription</Word>
- <Word>sp_replicationdboption</Word>
- <Word>sp_deletemergeconflictrow</Word>
- <Word>sp_replmonitorchangepublicationthreshold</Word>
- <Word>sp_deletepeerrequesthistory</Word>
- <Word>sp_replmonitorhelpmergesession</Word>
- <Word>sp_deletetracertokenhistory</Word>
- <Word>sp_replmonitorhelpmergesessiondetail</Word>
- <Word>sp_drop_agent_parameter</Word>
- <Word>sp_replmonitorhelppublication</Word>
- <Word>sp_drop_agent_profile</Word>
- <Word>sp_replmonitorhelppublicationthresholds</Word>
- <Word>sp_dropanonymousagent</Word>
- <Word>sp_replmonitorhelppublisher</Word>
- <Word>sp_droparticle</Word>
- <Word>sp_replmonitorhelpsubscription</Word>
- <Word>sp_dropdistpublisher</Word>
- <Word>sp_replmonitorsubscriptionpendingcmds</Word>
- <Word>sp_dropdistributiondb</Word>
- <Word>sp_replqueuemonitor</Word>
- <Word>sp_dropdistributor</Word>
- <Word>sp_replrestart</Word>
- <Word>sp_dropdynamicsnapshot_job</Word>
- <Word>sp_replsetoriginator</Word>
- <Word>sp_dropmergealternatepublisher</Word>
- <Word>sp_replshowcmds</Word>
- <Word>sp_dropmergearticle</Word>
- <Word>sp_repltrans</Word>
- <Word>sp_dropmergefilter</Word>
- <Word>sp_requestpeerresponse</Word>
- <Word>sp_dropmergepartition</Word>
- <Word>sp_requestpeertopologyinfo</Word>
- <Word>sp_dropmergepublication</Word>
- <Word>sp_resetsnapshotdeliveryprogress</Word>
- <Word>sp_dropmergepullsubscription</Word>
- <Word>sp_restoredbreplication</Word>
- <Word>sp_dropmergesubscription</Word>
- <Word>sp_restoremergeidentityrange</Word>
- <Word>sp_droppublication</Word>
- <Word>sp_resyncmergesubscription</Word>
- <Word>sp_droppullsubscription</Word>
- <Word>sp_revoke_publication_access</Word>
- <Word>sp_dropsubscriber</Word>
- <Word>sp_schemafilter</Word>
- <Word>sp_dropsubscription</Word>
- <Word>sp_script_synctran_commands</Word>
- <Word>sp_dsninfo</Word>
- <Word>sp_scriptdynamicupdproc</Word>
- <Word>sp_enumcustomresolvers</Word>
- <Word>sp_scriptpublicationcustomprocs</Word>
- <Word>sp_enumdsn</Word>
- <Word>sp_scriptsubconflicttable</Word>
- <Word>sp_enumeratependingschemachanges</Word>
- <Word>sp_setdefaultdatatypemapping</Word>
- <Word>sp_expired_subscription_cleanup</Word>
- <Word>sp_setreplfailovermode</Word>
- <Word>sp_generatefilters</Word>
- <Word>sp_setsubscriptionxactseqno</Word>
- <Word>sp_get_distributor</Word>
- <Word>sp_showpendingchanges</Word>
- <Word>sp_getagentparameterlist</Word>
- <Word>sp_showrowreplicainfo</Word>
- <Word>sp_getdefaultdatatypemapping</Word>
- <Word>sp_startpublication_snapshot</Word>
- <Word>sp_getmergedeletetype</Word>
- <Word>sp_subscription_cleanup</Word>
- <Word>sp_getqueuedrows</Word>
- <Word>sp_table_validation</Word>
- <Word>sp_getsubscriptiondtspackagename</Word>
- <Word>sp_unregister_custom_scripting</Word>
- <Word>sp_gettopologyinfo</Word>
- <Word>sp_unregistercustomresolver</Word>
- <Word>sp_grant_publication_access</Word>
- <Word>sp_update_agent_profile</Word>
- <Word>sp_help_agent_default</Word>
- <Word>sp_validatemergepublication</Word>
- <Word>sp_help_agent_parameter</Word>
- <Word>sp_validatemergesubscription</Word>
- <Word>sp_help_agent_profile</Word>
- <Word>sp_vupgrade_mergeobjects</Word>
- <Word>sp_help_publication_access</Word>
- <Word>sp_vupgrade_replication</Word>
- <Word>sp_cursor</Word>
- <Word>sp_cursorclose</Word>
- <Word>sp_cursorexecute</Word>
- <Word>sp_cursorfetch</Word>
- <Word>sp_cursoropen</Word>
- <Word>sp_cursoroption</Word>
- <Word>sp_cursorprepare</Word>
- <Word>sp_cursorunprepare</Word>
- <Word>sp_execute</Word>
- <Word>sp_prepare</Word>
- <Word>sp_unprepare </Word>
- <Word>sp_catalogs</Word>
- <Word>sp_column_privileges</Word>
- <Word>sp_column_privileges_ex</Word>
- <Word>sp_columns</Word>
- <Word>sp_columns_ex</Word>
- <Word>sp_databases</Word>
- <Word>sp_datatype_info</Word>
- <Word>sp_fkeys</Word>
- <Word>sp_foreignkeys</Word>
- <Word>sp_indexes</Word>
- <Word>sp_pkeys</Word>
- <Word>sp_primarykeys</Word>
- <Word>sp_server_info</Word>
- <Word>sp_special_columns</Word>
- <Word>sp_sproc_columns</Word>
- <Word>sp_statistics</Word>
- <Word>sp_table_privileges</Word>
- <Word>sp_table_privileges_ex</Word>
- <Word>sp_tables</Word>
- <Word>sp_tables_ex</Word>
- <Word>sp_assemblies_rowset</Word>
- <Word>sp_assemblies_rowset_rmt</Word>
- <Word>sp_assemblies_rowset2</Word>
- <Word>sp_assembly_dependencies_rowset</Word>
- <Word>sp_assembly_dependencies_rowset_rmt</Word>
- <Word>sp_assembly_dependencies_rowset2</Word>
- <Word>sp_bcp_dbcmptlevel</Word>
- <Word>sp_catalogs_rowset</Word>
- <Word>sp_catalogs_rowset</Word>
- <Word>sp_catalogs_rowset</Word>
- <Word>sp_catalogs_rowset_rmt</Word>
- <Word>sp_catalogs_rowset2</Word>
- <Word>sp_check_constbytable_rowset</Word>
- <Word>sp_check_constbytable_rowset;2</Word>
- <Word>sp_check_constbytable_rowset2</Word>
- <Word>sp_check_constraints_rowset</Word>
- <Word>sp_check_constraints_rowset;2</Word>
- <Word>sp_check_constraints_rowset2</Word>
- <Word>sp_column_privileges_rowset</Word>
- <Word>sp_column_privileges_rowset;2</Word>
- <Word>sp_column_privileges_rowset;5</Word>
- <Word>sp_column_privileges_rowset_rmt</Word>
- <Word>sp_column_privileges_rowset2</Word>
- <Word>sp_columns_90</Word>
- <Word>sp_columns_90_rowset</Word>
- <Word>sp_columns_90_rowset_rmt</Word>
- <Word>sp_columns_90_rowset2</Word>
- <Word>sp_columns_ex_90</Word>
- <Word>sp_columns_rowset</Word>
- <Word>sp_columns_rowset</Word>
- <Word>sp_columns_rowset</Word>
- <Word>sp_columns_rowset_rmt</Word>
- <Word>sp_columns_rowset2</Word>
- <Word>sp_constr_col_usage_rowset</Word>
- <Word>sp_datatype_info_90</Word>
- <Word>sp_ddopen</Word>
- <Word>sp_foreign_keys_rowset</Word>
- <Word>sp_foreign_keys_rowset_rmt</Word>
- <Word>sp_foreign_keys_rowset2</Word>
- <Word>sp_foreign_keys_rowset3</Word>
- <Word>sp_indexes_90_rowset</Word>
- <Word>sp_indexes_90_rowset_rmt</Word>
- <Word>sp_indexes_90_rowset2</Word>
- <Word>sp_indexes_rowset</Word>
- <Word>sp_indexes_rowset_rmt</Word>
- <Word>sp_indexes_rowset2</Word>
- <Word>sp_linkedservers_rowset</Word>
- <Word>sp_linkedservers_rowset2</Word>
- <Word>sp_oledb_database</Word>
- <Word>sp_oledb_defdb</Word>
- <Word>sp_oledb_deflang</Word>
- <Word>sp_oledb_language</Word>
- <Word>sp_oledb_ro_usrname</Word>
- <Word>sp_primary_keys_rowset</Word>
- <Word>sp_primary_keys_rowset_rmt</Word>
- <Word>sp_primary_keys_rowset2</Word>
- <Word>sp_procedure_params_90_rowset</Word>
- <Word>sp_procedure_params_90_rowset2</Word>
- <Word>sp_procedure_params_rowset</Word>
- <Word>sp_procedure_params_rowset2</Word>
- <Word>sp_procedures_rowset</Word>
- <Word>sp_procedures_rowset2</Word>
- <Word>sp_provider_types_90_rowset</Word>
- <Word>sp_provider_types_rowset</Word>
- <Word>sp_schemata_rowset</Word>
- <Word>sp_special_columns_90</Word>
- <Word>sp_sproc_columns_90</Word>
- <Word>sp_statistics_rowset</Word>
- <Word>sp_statistics_rowset2</Word>
- <Word>sp_stored_procedures</Word>
- <Word>sp_table_constraints_rowset</Word>
- <Word>sp_table_constraints_rowset2</Word>
- <Word>sp_table_privileges_rowset</Word>
- <Word>sp_table_privileges_rowset_rmt</Word>
- <Word>sp_table_privileges_rowset2</Word>
- <Word>sp_table_statistics_rowset</Word>
- <Word>sp_table_statistics2_rowset</Word>
- <Word>sp_tablecollations</Word>
- <Word>sp_tablecollations_90</Word>
- <Word>sp_tables_info_90_rowset</Word>
- <Word>sp_tables_info_90_rowset_64</Word>
- <Word>sp_tables_info_90_rowset2</Word>
- <Word>sp_tables_info_90_rowset2_64</Word>
- <Word>sp_tables_info_rowset</Word>
- <Word>sp_tables_info_rowset_64</Word>
- <Word>sp_tables_info_rowset2</Word>
- <Word>sp_tables_info_rowset2_64</Word>
- <Word>sp_tables_rowset_rmt</Word>
- <Word>sp_tables_rowset2</Word>
- <Word>sp_usertypes_rowset</Word>
- <Word>sp_usertypes_rowset_rmt</Word>
- <Word>sp_usertypes_rowset2</Word>
- <Word>sp_views_rowset</Word>
- <Word>sp_views_rowset2</Word>
- <Word>sp_xml_schema_rowset</Word>
- <Word>sp_xml_schema_rowset2</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Operator)">
- <Word>+</Word>
- <Word>-</Word>
- <Word>*</Word>
- <Word>/</Word>
- <Word>%</Word>
- <Word>&amp;</Word>
- <Word>|</Word>
- <Word>^</Word>
- <Word>=</Word>
- <Word>&gt;</Word>
- <Word>&lt;</Word>
- <Word>&gt;=</Word>
- <Word>&lt;=</Word>
- <Word>&lt;&gt;</Word>
- <Word>!=</Word>
- <Word>!&lt;</Word>
- <Word>!&gt;</Word>
- <Word>ALL</Word>
- <Word>AND</Word>
- <Word>ANY</Word>
- <Word>BETWEEN</Word>
- <Word>EXISTS</Word>
- <Word>IN</Word>
- <Word>LIKE</Word>
- <Word>NOT</Word>
- <Word>OR</Word>
- <Word>SOME</Word>
- <Word>~</Word>
- <Word>@</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Declaration)">
- <Word>CREATE</Word>
- <Word>DATABASE</Word>
- <Word>COLLATE</Word>
- <Word>DROP</Word>
- <Word>TABLE</Word>
- <Word>AGGREGATE</Word>
- <Word>FUNCTION</Word>
- <Word>INDEX</Word>
- <Word>LOGIN</Word>
- <Word>PROCEDURE</Word>
- <Word>ALTER</Word>
- <Word>TRIGGER</Word>
- <Word>USER</Word>
- <Word>VIEW</Word>
- <Word>UNIQUE</Word>
- <Word>INDEX</Word>
- <Word>CLUSTERED</Word>
- <Word>NONCLUSTERED</Word>
- <Word>PROC</Word>
- <Word>FOR </Word>
- <Word>AFTER</Word>
- <Word>INSTEAD</Word>
- <Word>OF</Word>
- <Word>ADD</Word>
- <Word>COLUMN</Word>
- <Word>PRIMARY</Word>
- <Word>KEY</Word>
- <Word>UNIQUE</Word>
- <Word>WITH</Word>
- <Word>KEY</Word>
- <Word>REFERENCES</Word>
- <Word>DELETE</Word>
- <Word>CASCADE</Word>
- <Word>NO</Word>
- <Word>ACTION</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Parameter)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Selection)">
- <Word>SELECT</Word>
- <Word>FROM</Word>
- <Word>WHERE</Word>
- <Word>INNER</Word>
- <Word>LEFT</Word>
- <Word>RIGHT</Word>
- <Word>CROSS</Word>
- <Word>JOIN</Word>
- <Word>UNION</Word>
- <Word>ALL</Word>
- <Word>TOP</Word>
- <Word>USE</Word>
- <Word>MAX</Word>
- <Word>COUNT</Word>
- <Word>MIN</Word>
- <Word>SUM</Word>
- <Word>ASC</Word>
- <Word>DESC</Word>
- <Word>DELETE</Word>
- <Word>UPDATE</Word>
- <Word>EXISTS</Word>
- <Word>INSERT</Word>
- <Word>INTO</Word>
- <Word>BEGIN</Word>
- <Word>END</Word>
- <Word>COMPUTE</Word>
- <Word>INTO</Word>
- <Word>ORDER</Word>
- <Word>GROUP</Word>
- <Word>BY</Word>
- <Word>HAVING</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Iteration)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Jump)">
- <Word>BREAK</Word>
- <Word>RETURN</Word>
- <Word>RETURNS</Word>
- <Word>OUT</Word>
- <Word>OUTPUT</Word>
- <Word>READONLY</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Context)">
- </Keywords>
-
- <Keywords color = "Keyword(Exception)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Constants)">
- <Word>TRUE</Word>
- <Word>FALSE</Word>
- <Word>NULL</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Modifiers)">
- <Word>RETURNS</Word>
- <Word>AS</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Type)">
- <Word>bigint</Word>
- <Word>numeric</Word>
- <Word>bit</Word>
- <Word>smallint</Word>
- <Word>decimal</Word>
- <Word>smallmoney</Word>
- <Word>int</Word>
- <Word>tinyint</Word>
- <Word>money</Word>
- <Word>float</Word>
- <Word>real</Word>
- <Word>date</Word>
- <Word>datetimeoffset</Word>
- <Word>datetime2</Word>
- <Word>smalldatetime</Word>
- <Word>datetime</Word>
- <Word>time</Word>
- <Word>char</Word>
- <Word>varchar</Word>
- <Word>text</Word>
- <Word>nchar</Word>
- <Word>nvarchar</Word>
- <Word>ntext</Word>
- <Word>binary</Word>
- <Word>varbinary</Word>
- <Word>image</Word>
- <Word>cursor</Word>
- <Word>timestamp</Word>
- <Word>hierarchyid</Word>
- <Word>uniqueidentifier</Word>
- <Word>sql_variant</Word>
- <Word>xml</Word>
- <Word>table</Word>
- </Keywords>
-
- <Rule name = "text.preprocessor">
- </Rule>
-
- <Rule name = "Comment">
- <Keywords color="Comment Tag" ignorecase="True">
- <Word>TODO</Word>
- <Word>FIXME</Word>
- <Word>HACK</Word>
- <Word>UNDONE</Word>
- </Keywords>
- </Rule>
-
- <Rule name = "String">
- </Rule>
-</SyntaxMode>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SysObjects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SysObjects.xml
deleted file mode 100644
index 24495d0624..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/SysObjects.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<SysObjects>
- <Object type="SP">dt_addtosourcecontrol</Object>
- <Object type="SP">dt_addtosourcecontrol_u</Object>
- <Object type="SP">dt_adduserobject</Object>
- <Object type="SP">dt_adduserobject_vcs</Object>
- <Object type="SP">dt_checkinobject</Object>
- <Object type="SP">dt_checkinobject_u</Object>
- <Object type="SP">dt_checkoutobject</Object>
- <Object type="SP">dt_checkoutobject_u</Object>
- <Object type="SP">dt_displayoaerror</Object>
- <Object type="SP">dt_displayoaerror_u</Object>
- <Object type="SP">dt_droppropertiesbyid</Object>
- <Object type="SP">dt_dropuserobjectbyid</Object>
- <Object type="SP">dt_generateansiname</Object>
- <Object type="SP">dt_getobjwithprop</Object>
- <Object type="SP">dt_getobjwithprop_u</Object>
- <Object type="SP">dt_getpropertiesbyid</Object>
- <Object type="SP">dt_getpropertiesbyid_u</Object>
- <Object type="SP">dt_getpropertiesbyid_vcs</Object>
- <Object type="SP">dt_getpropertiesbyid_vcs_u</Object>
- <Object type="SP">dt_isundersourcecontrol</Object>
- <Object type="SP">dt_isundersourcecontrol_u</Object>
- <Object type="SP">dt_removefromsourcecontrol</Object>
- <Object type="SP">dt_setpropertybyid</Object>
- <Object type="SP">dt_setpropertybyid_u</Object>
- <Object type="SP">dt_validateloginparams</Object>
- <Object type="SP">dt_validateloginparams_u</Object>
- <Object type="SP">dt_vcsenabled</Object>
- <Object type="SP">dt_verstamp006</Object>
- <Object type="SP">dt_whocheckedout</Object>
- <Object type="SP">dt_whocheckedout_u</Object>
- <Object type="Table">sysaltfiles</Object>
- <Object type="Table">syscacheobjects</Object>
- <Object type="Table">syscharsets</Object>
- <Object type="Table">sysconfigures</Object>
- <Object type="Table">syscurconfigs</Object>
- <Object type="Table">sysdatabases</Object>
- <Object type="Table">sysdevices</Object>
- <Object type="Table">syslanguages</Object>
- <Object type="Table">syslockinfo</Object>
- <Object type="Table">syslocks</Object>
- <Object type="Table">syslogins</Object>
- <Object type="Table">sysmessages</Object>
- <Object type="Table">sysoledbusers</Object>
- <Object type="Table">sysopentapes</Object>
- <Object type="Table">sysperfinfo</Object>
- <Object type="Table">sysprocesses</Object>
- <Object type="Table">sysremotelogins</Object>
- <Object type="Table">sysservers</Object>
- <Object type="Table">fn_virtualfilestats</Object>
- <Object type="Table">syscolumns</Object>
- <Object type="Table">syscomments</Object>
- <Object type="Table">sysconstraints</Object>
- <Object type="Table">sysdepends</Object>
- <Object type="Table">sysfilegroups</Object>
- <Object type="Table">sysfiles</Object>
- <Object type="Table">sysforeignkeys</Object>
- <Object type="Table">sysindexes</Object>
- <Object type="Table">sysindexkeys</Object>
- <Object type="Table">sysmembers</Object>
- <Object type="Table">sysobjects</Object>
- <Object type="Table">syspermissions</Object>
- <Object type="Table">sysprotects</Object>
- <Object type="Table">sysreferences</Object>
- <Object type="Table">systypes</Object>
- <Object type="Table">sysusers</Object>
- <Object type="Table">sysfulltextcatalogs</Object>
- <Object type="Table">sysfiles1</Object>
- <Object type="Table">sysfulltextnotify</Object>
- <Object type="Table">sysproperties</Object>
-</SysObjects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerColumnEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerColumnEditorWidget.cs
deleted file mode 100644
index ff866fe7f8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerColumnEditorWidget.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-
-using System;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
-
-
- [System.ComponentModel.Category("MonoDevelop.Database.Sql.SqlServer")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class SqlServerColumnEditorWidget : Gtk.Bin
- {
-
- public SqlServerColumnEditorWidget()
- {
- this.Build();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerCreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerCreateDatabaseWidget.cs
deleted file mode 100644
index 6a38d1eda7..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/Widgets/SqlServerCreateDatabaseWidget.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- [System.ComponentModel.Category("MonoDevelop.Database.Sql.SqlServer")]
- [System.ComponentModel.ToolboxItem(true)]
- public partial class SqlServerCreateDatabaseWidget : Gtk.Bin
- {
- ListStore storeCollations = new ListStore (typeof(string), typeof(SqlServerCollationSchema));
- public SqlServerCreateDatabaseWidget()
- {
- this.Build();
- comboCollations.Model = storeCollations;
- }
-
- public void Initialize (SqlServerSchemaProvider provider)
- {
- SqlServerCollationSchemaCollection collations = provider.GetCollations ();
- Console.WriteLine (collations.Count);
- foreach (SqlServerCollationSchema coll in collations)
- storeCollations.AppendValues (string.Format ("{0} - {1}", coll.Name, coll.Description), coll);
- }
-
- protected virtual void OnComboMaxSizeChanged (object sender, System.EventArgs e)
- {
- if (((Gtk.ComboBox)sender).ActiveText == AddinCatalog.GetString ("UNLIMITED")) {
- spinMaxSize.Sensitive = false;
- spinMaxSize.Value = 0;
- } else
- spinMaxSize.Sensitive = true;
- }
-
- public void SetDatabaseOptions (SqlServerDatabaseSchema schema)
- {
- TreeIter iter;
- if (comboCollations.GetActiveIter (out iter))
- schema.Collation = (SqlServerCollationSchema)storeCollations.GetValue (iter, 1);
- SizeType size;
-
- size = (SizeType)Enum.Parse (typeof(SizeType), comboSize.ActiveText);
- schema.Size = new FileSize (Convert.ToInt32(spinSize.Value), size);
- size = (SizeType)Enum.Parse (typeof(SizeType), comboMaxSize.ActiveText);
- schema.MaxSize = new FileSize (Convert.ToInt32(spinMaxSize.Value), size);
- if (comboFilegrowth.ActiveText == "%")
- size = SizeType.PERCENTAGE;
- else
- size = (SizeType)Enum.Parse (typeof(SizeType), comboFilegrowth.ActiveText);
- schema.FileGrowth = new FileSize (Convert.ToInt32(spinFilegrowth.Value), size);
- schema.LogicalName = entryName.Text;
- schema.FileName = entryFilename.Text;
- }
-
- protected virtual void OnComboFilegrowthChanged (object sender, System.EventArgs e)
- {
- if (((Gtk.ComboBox)sender).ActiveText == "%") {
- spinFilegrowth.Adjustment = new Adjustment (0, 0, 100, 1, 1, 1);
- spinFilegrowth.GrabFocus ();
- }
- else
- spinFilegrowth.Adjustment = new Adjustment (0, 0, 2147483647, 1, 1, 1);
- }
-
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget.cs
deleted file mode 100644
index ee82e8bb6e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- public partial class SqlServerColumnEditorWidget
- {
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget";
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs
deleted file mode 100644
index 570d21e508..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs
+++ /dev/null
@@ -1,273 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace MonoDevelop.Database.Sql.SqlServer
-{
- public partial class SqlServerCreateDatabaseWidget
- {
- private global::Gtk.Table table;
-
- private global::Gtk.ComboBoxEntry comboCollations;
-
- private global::Gtk.Entry entryFilename;
-
- private global::Gtk.Entry entryName;
-
- private global::Gtk.HBox hbox1;
-
- private global::Gtk.SpinButton spinSize;
-
- private global::Gtk.ComboBox comboSize;
-
- private global::Gtk.HBox hbox2;
-
- private global::Gtk.SpinButton spinMaxSize;
-
- private global::Gtk.ComboBox comboMaxSize;
-
- private global::Gtk.HBox hbox3;
-
- private global::Gtk.SpinButton spinFilegrowth;
-
- private global::Gtk.ComboBox comboFilegrowth;
-
- private global::Gtk.Label label1;
-
- private global::Gtk.Label label3;
-
- private global::Gtk.Label label4;
-
- private global::Gtk.Label label5;
-
- private global::Gtk.Label label6;
-
- private global::Gtk.Label label7;
-
- protected virtual void Build ()
- {
- global::Stetic.Gui.Initialize (this);
- // Widget MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget
- global::Stetic.BinContainer.Attach (this);
- this.Name = "MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget";
- // Container child MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.Gtk.Container+ContainerChild
- this.table = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false);
- this.table.Name = "table";
- this.table.RowSpacing = ((uint)(6));
- this.table.ColumnSpacing = ((uint)(6));
- this.table.BorderWidth = ((uint)(6));
- // Container child table.Gtk.Table+TableChild
- this.comboCollations = global::Gtk.ComboBoxEntry.NewText ();
- this.comboCollations.Name = "comboCollations";
- this.table.Add (this.comboCollations);
- global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table[this.comboCollations]));
- w1.TopAttach = ((uint)(1));
- w1.BottomAttach = ((uint)(2));
- w1.LeftAttach = ((uint)(1));
- w1.RightAttach = ((uint)(2));
- w1.XOptions = ((global::Gtk.AttachOptions)(4));
- w1.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.entryFilename = new global::Gtk.Entry ();
- this.entryFilename.CanFocus = true;
- this.entryFilename.Name = "entryFilename";
- this.entryFilename.IsEditable = true;
- this.entryFilename.InvisibleChar = '●';
- this.table.Add (this.entryFilename);
- global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table[this.entryFilename]));
- w2.TopAttach = ((uint)(2));
- w2.BottomAttach = ((uint)(3));
- w2.LeftAttach = ((uint)(1));
- w2.RightAttach = ((uint)(2));
- w2.XOptions = ((global::Gtk.AttachOptions)(4));
- w2.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.entryName = new global::Gtk.Entry ();
- this.entryName.CanFocus = true;
- this.entryName.Name = "entryName";
- this.entryName.IsEditable = true;
- this.entryName.InvisibleChar = '●';
- this.table.Add (this.entryName);
- global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table[this.entryName]));
- w3.LeftAttach = ((uint)(1));
- w3.RightAttach = ((uint)(2));
- w3.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.hbox1 = new global::Gtk.HBox ();
- this.hbox1.Name = "hbox1";
- this.hbox1.Spacing = 6;
- // Container child hbox1.Gtk.Box+BoxChild
- this.spinSize = new global::Gtk.SpinButton (0, 2147483647, 1);
- this.spinSize.CanFocus = true;
- this.spinSize.Name = "spinSize";
- this.spinSize.Adjustment.PageIncrement = 10;
- this.spinSize.ClimbRate = 1;
- this.spinSize.Numeric = true;
- this.hbox1.Add (this.spinSize);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.spinSize]));
- w4.Position = 0;
- // Container child hbox1.Gtk.Box+BoxChild
- this.comboSize = global::Gtk.ComboBox.NewText ();
- this.comboSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("KB"));
- this.comboSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("MB"));
- this.comboSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("GB"));
- this.comboSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("TB"));
- this.comboSize.Name = "comboSize";
- this.comboSize.Active = 1;
- this.hbox1.Add (this.comboSize);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboSize]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- this.table.Add (this.hbox1);
- global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table[this.hbox1]));
- w6.TopAttach = ((uint)(3));
- w6.BottomAttach = ((uint)(4));
- w6.LeftAttach = ((uint)(1));
- w6.RightAttach = ((uint)(2));
- w6.XOptions = ((global::Gtk.AttachOptions)(4));
- w6.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.hbox2 = new global::Gtk.HBox ();
- this.hbox2.Name = "hbox2";
- this.hbox2.Spacing = 6;
- // Container child hbox2.Gtk.Box+BoxChild
- this.spinMaxSize = new global::Gtk.SpinButton (0, 2147483647, 1);
- this.spinMaxSize.CanFocus = true;
- this.spinMaxSize.Name = "spinMaxSize";
- this.spinMaxSize.Adjustment.PageIncrement = 10;
- this.spinMaxSize.ClimbRate = 1;
- this.spinMaxSize.Numeric = true;
- this.hbox2.Add (this.spinMaxSize);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.spinMaxSize]));
- w7.Position = 0;
- // Container child hbox2.Gtk.Box+BoxChild
- this.comboMaxSize = global::Gtk.ComboBox.NewText ();
- this.comboMaxSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("KB"));
- this.comboMaxSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("MB"));
- this.comboMaxSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("GB"));
- this.comboMaxSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("TB"));
- this.comboMaxSize.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("UNLIMITED"));
- this.comboMaxSize.Name = "comboMaxSize";
- this.comboMaxSize.Active = 1;
- this.hbox2.Add (this.comboMaxSize);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboMaxSize]));
- w8.Position = 1;
- w8.Expand = false;
- w8.Fill = false;
- this.table.Add (this.hbox2);
- global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table[this.hbox2]));
- w9.TopAttach = ((uint)(4));
- w9.BottomAttach = ((uint)(5));
- w9.LeftAttach = ((uint)(1));
- w9.RightAttach = ((uint)(2));
- w9.XOptions = ((global::Gtk.AttachOptions)(4));
- w9.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.hbox3 = new global::Gtk.HBox ();
- this.hbox3.Name = "hbox3";
- this.hbox3.Spacing = 6;
- // Container child hbox3.Gtk.Box+BoxChild
- this.spinFilegrowth = new global::Gtk.SpinButton (0, 2147483647, 1);
- this.spinFilegrowth.CanFocus = true;
- this.spinFilegrowth.Name = "spinFilegrowth";
- this.spinFilegrowth.Adjustment.PageIncrement = 10;
- this.spinFilegrowth.ClimbRate = 1;
- this.spinFilegrowth.Numeric = true;
- this.hbox3.Add (this.spinFilegrowth);
- global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFilegrowth]));
- w10.Position = 0;
- // Container child hbox3.Gtk.Box+BoxChild
- this.comboFilegrowth = global::Gtk.ComboBox.NewText ();
- this.comboFilegrowth.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("KB"));
- this.comboFilegrowth.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("MB"));
- this.comboFilegrowth.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("GB"));
- this.comboFilegrowth.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("TB"));
- this.comboFilegrowth.AppendText (global::MonoDevelop.Database.AddinCatalog.GetString ("%"));
- this.comboFilegrowth.Name = "comboFilegrowth";
- this.comboFilegrowth.Active = 1;
- this.hbox3.Add (this.comboFilegrowth);
- global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboFilegrowth]));
- w11.Position = 1;
- w11.Expand = false;
- w11.Fill = false;
- this.table.Add (this.hbox3);
- global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table[this.hbox3]));
- w12.TopAttach = ((uint)(5));
- w12.BottomAttach = ((uint)(6));
- w12.LeftAttach = ((uint)(1));
- w12.RightAttach = ((uint)(2));
- w12.XOptions = ((global::Gtk.AttachOptions)(4));
- w12.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label1 = new global::Gtk.Label ();
- this.label1.Name = "label1";
- this.label1.Xalign = 0f;
- this.label1.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name");
- this.table.Add (this.label1);
- global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table[this.label1]));
- w13.XOptions = ((global::Gtk.AttachOptions)(4));
- w13.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label3 = new global::Gtk.Label ();
- this.label3.Name = "label3";
- this.label3.Xalign = 0f;
- this.label3.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Collation");
- this.table.Add (this.label3);
- global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table[this.label3]));
- w14.TopAttach = ((uint)(1));
- w14.BottomAttach = ((uint)(2));
- w14.XOptions = ((global::Gtk.AttachOptions)(4));
- w14.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label4 = new global::Gtk.Label ();
- this.label4.Name = "label4";
- this.label4.Xalign = 0f;
- this.label4.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("File Name");
- this.table.Add (this.label4);
- global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table[this.label4]));
- w15.TopAttach = ((uint)(2));
- w15.BottomAttach = ((uint)(3));
- w15.XOptions = ((global::Gtk.AttachOptions)(4));
- w15.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label5 = new global::Gtk.Label ();
- this.label5.Name = "label5";
- this.label5.Xalign = 0f;
- this.label5.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Size");
- this.table.Add (this.label5);
- global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table[this.label5]));
- w16.TopAttach = ((uint)(3));
- w16.BottomAttach = ((uint)(4));
- w16.XOptions = ((global::Gtk.AttachOptions)(4));
- w16.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label6 = new global::Gtk.Label ();
- this.label6.Name = "label6";
- this.label6.Xalign = 0f;
- this.label6.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Max Size");
- this.table.Add (this.label6);
- global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table[this.label6]));
- w17.TopAttach = ((uint)(4));
- w17.BottomAttach = ((uint)(5));
- w17.XOptions = ((global::Gtk.AttachOptions)(4));
- w17.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table.Gtk.Table+TableChild
- this.label7 = new global::Gtk.Label ();
- this.label7.Name = "label7";
- this.label7.Xalign = 0f;
- this.label7.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("File Growth");
- this.table.Add (this.label7);
- global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table[this.label7]));
- w18.TopAttach = ((uint)(5));
- w18.BottomAttach = ((uint)(6));
- w18.XOptions = ((global::Gtk.AttachOptions)(4));
- w18.YOptions = ((global::Gtk.AttachOptions)(4));
- this.Add (this.table);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.Show ();
- this.comboFilegrowth.Changed += new global::System.EventHandler (this.OnComboFilegrowthChanged);
- this.comboMaxSize.Changed += new global::System.EventHandler (this.OnComboMaxSizeChanged);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/generated.cs
deleted file mode 100644
index aa96390c4a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/generated.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class BinContainer
- {
- private Gtk.Widget child;
-
- private Gtk.UIManager uimanager;
-
- public static BinContainer Attach (Gtk.Bin bin)
- {
- BinContainer bc = new BinContainer ();
- bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested);
- bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated);
- bin.Added += new Gtk.AddedHandler (bc.OnAdded);
- return bc;
- }
-
- private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
- {
- if ((this.child != null)) {
- args.Requisition = this.child.SizeRequest ();
- }
- }
-
- private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
- {
- if ((this.child != null)) {
- this.child.Allocation = args.Allocation;
- }
- }
-
- private void OnAdded (object sender, Gtk.AddedArgs args)
- {
- this.child = args.Widget;
- }
-
- public void SetUiManager (Gtk.UIManager uim)
- {
- this.uimanager = uim;
- this.child.Realized += new System.EventHandler (this.OnRealized);
- }
-
- private void OnRealized (object sender, System.EventArgs args)
- {
- if ((this.uimanager != null)) {
- Gtk.Widget w;
- w = this.child.Toplevel;
- if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) {
- ((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
- this.uimanager = null;
- }
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/gui.stetic
deleted file mode 100644
index 659e177bde..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,399 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="MonoDevelop.Components, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Core.Gui, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Ide, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="Mono.TextEditor, Version=1.0.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Projects.Gui, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Designer.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Sql.SqlServer.dll" internal="true" />
- </import>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget" design-size="338 218">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.Table" id="table">
- <property name="MemberName" />
- <property name="NRows">6</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <property name="BorderWidth">6</property>
- <child>
- <widget class="Gtk.ComboBoxEntry" id="comboCollations">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryFilename">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Entry" id="entryName">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.SpinButton" id="spinSize">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Upper">2147483647</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboSize">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes">KB
-MB
-GB
-TB</property>
- <property name="Active">1</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.SpinButton" id="spinMaxSize">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Upper">2147483647</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboMaxSize">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes">KB
-MB
-GB
-TB
-UNLIMITED</property>
- <property name="Active">1</property>
- <signal name="Changed" handler="OnComboMaxSizeChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">4</property>
- <property name="BottomAttach">5</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.SpinButton" id="spinFilegrowth">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Upper">2147483647</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="comboFilegrowth">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes">KB
-MB
-GB
-TB
-%</property>
- <property name="Active">1</property>
- <signal name="Changed" handler="OnComboFilegrowthChanged" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">5</property>
- <property name="BottomAttach">6</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Name</property>
- </widget>
- <packing>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label3">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Collation</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label4">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">File Name</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label5">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Size</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label6">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Max Size</property>
- </widget>
- <packing>
- <property name="TopAttach">4</property>
- <property name="BottomAttach">5</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label7">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">File Growth</property>
- </widget>
- <packing>
- <property name="TopAttach">5</property>
- <property name="BottomAttach">6</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget" design-size="300 300">
- <property name="MemberName" />
- <child>
- <placeholder />
- </child>
- </widget>
-</stetic-interface>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/objects.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/objects.xml
deleted file mode 100644
index 274cbc7331..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer/gtk-gui/objects.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<objects attr-sync="on">
- <object type="MonoDevelop.Database.Sql.SqlServer.SqlServerColumnEditorWidget" palette-category="MonoDevelop.Database.Sql.SqlServer" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
- <object type="MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget" palette-category="MonoDevelop.Database.Sql.SqlServer" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
-</objects> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs
deleted file mode 100644
index 3458241786..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.Sqlite.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("Sqlite provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs.in
deleted file mode 100644
index e867b8e906..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Sql.Odbc")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Ankit Jain, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteCreateDatabaseDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteCreateDatabaseDialog.cs
deleted file mode 100644
index 7545fab2b8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteCreateDatabaseDialog.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqliteCreateDatabaseDialog : CreateDatabaseDialog
- {
- ConnectionSettingsWidget connectionWidget;
- public SqliteCreateDatabaseDialog (IDbFactory factory)
- : base (factory)
- {
-
- }
-
- protected override ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory)
- {
- connectionWidget = new SqliteConnectionSettingsWidget (factory);
- connectionWidget.ShowSettings (factory.GetDefaultConnectionSettings ());
- connectionWidget.EnableOpenButton = true;
- connectionWidget.EnableTestButton = false;
-
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings(connectionWidget.ConnectionSettings);
- // Set a temp database to avoid exception of the default connection pool.
- settings.Database = System.IO.Path.GetTempFileName ();
- // Create Context, Pool, Connection
- DatabaseConnectionContext ctx = new DatabaseConnectionContext (settings, true);
- ctx.ConnectionPool.Initialize ();
- this.DatabaseConnection = ctx;
- return connectionWidget;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteDatabaseConnectionSettingsDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteDatabaseConnectionSettingsDialog.cs
deleted file mode 100644
index 748604b8ae..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteDatabaseConnectionSettingsDialog.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqliteDatabaseConnectionSettingsDialog : DatabaseConnectionSettingsDialog
- {
- public SqliteDatabaseConnectionSettingsDialog (IDbFactory factory)
- : base (factory)
- {
- }
-
- public SqliteDatabaseConnectionSettingsDialog (IDbFactory factory, DatabaseConnectionSettings settings)
- : base (factory, settings)
- {
- }
-
- protected override ConnectionSettingsWidget CreateConnectionSettingsWidget (IDbFactory factory, bool isEditMode)
- {
- return new SqliteConnectionSettingsWidget (factory, isEditMode);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteTableEditorDialog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteTableEditorDialog.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Dialogs/SqliteTableEditorDialog.cs
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Makefile.am
deleted file mode 100644
index d2c5bf2935..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Sql.Sqlite.dll
-REFS = \
- $(GTK_SHARP_LIBS) \
- $(MONODEVELOP_CORE_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
- -r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
- -r:Mono.Data.Sqlite \
- -r:System \
- -r:System.Data
-
-FILES = \
- AssemblyInfo.cs \
- Dialogs/SqliteCreateDatabaseDialog.cs \
- Dialogs/SqliteDatabaseConnectionSettingsDialog.cs \
- Dialogs/SqliteTableEditorDialog.cs \
- gtk-gui/generated.cs \
- Schema/dummy.cs \
- SqliteConnectionProvider.cs \
- SqliteDatabaseAlreadyExistsException.cs \
- SqliteDbFactory.cs \
- SqliteDialect.cs \
- SqliteGuiProvider.cs \
- SqlitePooledDbConnection.cs \
- SqliteSchemaProvider.cs \
- Widgets/SqliteConnectionSettingsWidget.cs
-
-RES = \
- gtk-gui/gui.stetic \
- MonoDevelop.Database.Sql.Sqlite.addin.xml \
- SqliteSyntaxMode.xml
-
-if ENABLE_SQLITE
-all: $(ASSEMBLY)
-else
-all:
-endif
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.addin.xml
deleted file mode 100644
index ded268aaa0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.addin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<Addin id = "Database.Sql.Sqlite"
- namespace = "MonoDevelop"
- name = "Sqlite provider for Mono Data Sql"
- author = "Christian Hergert, Ankit Jain, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.Sqlite.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- <Addin id="Ide" version="4.2.3"/>
- <Addin id="Database.Sql" version="4.2.3"/>
- <Addin id="Database.Components" version="4.2.3"/>
- <Addin id="Database.Designer" version="4.2.3"/>
- <Addin id="SourceEditor2" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/MonoDevelop/Database/Sql">
- <DatabaseFactory id = "Sqlite" class = "MonoDevelop.Database.Sql.Sqlite.SqliteDbFactory" />
- </Extension>
-
- <Extension path = "/MonoDevelop/SourceEditor2/SyntaxModes">
- <Templates resource="SqliteSyntaxMode.xml" />
- </Extension>
-
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.csproj
deleted file mode 100644
index 7ec3a9c4e5..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/MonoDevelop.Database.Sql.Sqlite.csproj
+++ /dev/null
@@ -1,204 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{27294C4B-C55B-4A18-94A7-96A701F08613}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Sqlite</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql.Sqlite</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System.Data" />
- <Reference Include="System" />
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Data.Sqlite" />
- <Reference Include="MonoDevelop.VersionControl, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.NUnit, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.XmlEditor, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.AspNet, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Gettext, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Deployment.Linux, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.GtkCore, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.DesignerSupport, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.VBNetBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.CSharpBinding, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Autotools, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.SourceEditor2, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Refactoring, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="MonoDevelop.Debugger.Soft, Version=2.2.0.0, Culture=neutral">
- <Package>monodevelop-core-addins</Package>
- <Private>False</Private>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Mono.Debugger.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"><Package>monodevelop-core-addins</Package></Reference><Reference Include="Mono.Debugging.Soft, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f"><Package>monodevelop-core-addins</Package></Reference><Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f"><Package>monodevelop</Package></Reference><Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/><Reference Include="System.Xml" /></ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj">
- <Project>{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}</Project>
- <Name>MonoDevelop.Database.Designer</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj">
- <Project>{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}</Project>
- <Name>MonoDevelop.Database.Components</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="SqliteConnectionProvider.cs" />
- <Compile Include="SqliteSchemaProvider.cs" />
- <Compile Include="SqliteDbFactory.cs" />
- <Compile Include="SqlitePooledDbConnection.cs" />
- <Compile Include="SqliteDialect.cs" />
- <Compile Include="SqliteGuiProvider.cs" />
- <Compile Include="Dialogs\SqliteTableEditorDialog.cs" />
- <Compile Include="gtk-gui\generated.cs" />
- <Compile Include="Dialogs\SqliteDatabaseConnectionSettingsDialog.cs" />
- <Compile Include="Schema\dummy.cs" />
- <Compile Include="Dialogs\SqliteCreateDatabaseDialog.cs" />
- <Compile Include="Widgets\SqliteConnectionSettingsWidget.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="SqliteDatabaseAlreadyExistsException.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.Sqlite.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.Sqlite.addin.xml</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="gtk-gui\gui.stetic">
- <LogicalName>gui.stetic</LogicalName>
- </EmbeddedResource>
- <EmbeddedResource Include="SqliteSyntaxMode.xml">
- <LogicalName>SqliteSyntaxMode.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- <GtkDesignInfo gettextClass="AddinCatalog" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Schema/dummy.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Schema/dummy.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Schema/dummy.cs
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteConnectionProvider.cs
deleted file mode 100644
index ff8f284df9..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteConnectionProvider.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ankit Jain <radical@corewars.org>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Data.Sqlite;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqliteConnectionProvider : AbstractConnectionProvider
- {
- public override IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error)
- {
- string connStr = null;
- try {
- if (settings.UseConnectionString) {
- connStr = settings.ConnectionString;
- } else {
- connStr = String.Concat ("URI=file:", settings.Database);
- }
- SqliteConnection connection = new SqliteConnection (connStr);
- connection.Open ();
-
- error = null;
- return new SqlitePooledDbConnection (pool, connection);
- } catch (Exception e) {
- error = e.Message;
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDatabaseAlreadyExistsException.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDatabaseAlreadyExistsException.cs
deleted file mode 100644
index f6aaabd16a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDatabaseAlreadyExistsException.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// SqliteDatabaseAlreadyExistsException.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
-
- public class SqliteDatabaseAlreadyExistsException:Exception
- {
-
- public SqliteDatabaseAlreadyExistsException ()
- {
- }
-
- public SqliteDatabaseAlreadyExistsException (string message) :base(message)
- {
-
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs
deleted file mode 100644
index 8d9c02dd68..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs
+++ /dev/null
@@ -1,128 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Components;
-using MonoDevelop.Ide.Gui.Dialogs;
-using MonoDevelop.Database.Sql;
- namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqliteDbFactory : IDbFactory, IDbLinq
- {
- private ISqlDialect dialect;
- private IConnectionProvider connectionProvider;
- private IGuiProvider guiProvider;
-
- public string Identifier {
- get { return "Mono.Data.Sqlite"; }
- }
-
- public string Name {
- get { return AddinCatalog.GetString ("SQLite database"); }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new SqliteDialect ();
- return dialect;
- }
- }
-
- public IConnectionProvider ConnectionProvider {
- get {
- if (connectionProvider == null)
- connectionProvider = new SqliteConnectionProvider ();
- return connectionProvider;
- }
- }
-
- public IGuiProvider GuiProvider {
- get {
- if (guiProvider == null)
- guiProvider = new SqliteGuiProvider ();
- return guiProvider;
- }
- }
-
- public IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- return new DefaultConnectionPool (this, ConnectionProvider, context);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool)
- {
- return new SqliteSchemaProvider (connectionPool);
- }
-
- public DatabaseConnectionSettings GetDefaultConnectionSettings ()
- {
- DatabaseConnectionSettings settings = new DatabaseConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.MaxPoolSize = 5;
-
- return settings;
- }
-
- #region IDbLinq implementation
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string language,
- string style, string defaultNamespace, string entityBase, string entityAttr,
- string membersAttr, string generateTypes, string culture, bool generateSchema,
- bool generateTimestamp, bool overrideEqualAndHash, bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, language, style, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize);
- }
-
-
- public bool Generate (DatabaseConnectionSettings connection, string outputType, string outputFile, string defaultNamespace,
- string entityBase, string entityAttr, string membersAttr, string generateTypes,
- string culture, bool generateSchema, bool generateTimestamp, bool overrideEqualAndHash,
- bool extractProcedures, bool pluralize)
- {
- return SqlMetalServices.Generate (Provider, connection, outputType, outputFile, defaultNamespace,
- entityBase, entityAttr, membersAttr, generateTypes, culture, generateSchema,
- generateTimestamp, overrideEqualAndHash, extractProcedures, pluralize); }
-
- public string Provider {
- get {
- return "Sqlite";
- }
- }
-
-
- public bool HasProcedures {
- get {
- return true;
- }
- }
- #endregion
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDialect.cs
deleted file mode 100644
index 9f4ff9f04f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteDialect.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqliteDialect : AbstractSqlDialect
- {
- public override string QuoteIdentifier (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- if (IsReservedWord (identifier) || identifier.Contains (" "))
- return String.Concat ('"', identifier, '"');
-
- return identifier;
- }
-
- public override string MarkAsParameter (string identifier)
- {
- if (identifier == null)
- throw new ArgumentNullException ("identifier");
-
- return ":" + identifier;
- }
-
- //http://www.sqlite.org/lang_keywords.html
- protected virtual bool IsReservedWord (string word)
- {
- word = word.ToUpper ();
-
- switch (word) {
- case "CREATE": case "FOREIGN": case "LIMIT":
- case "ROLLBACK": case "ADD": case "CROSS":
- case "FROM": case "FULL": case "NATURAL":
- case "SELECT": case "ALL": case "NOT":
- case "SET": case "ALTER": case "GROUP":
- case "NOTNULL": case "TABLE": case "HAVING":
- case "NULL": case "AND": case "DEFAULT":
- case "AS": case "DEFERRABLE": case "THEN":
- case "ON": case "TO": case "DELETE":
- case "IN": case "OR": case "TRANSACTION":
- case "INDEX": case "ORDER": case "AUTOINCREMENT":
- case "OUTER": case "UNION": case "DISTINCT":
- case "INNER": case "UNIQUE": case "BETWEEN":
- case "DROP": case "INSERT": case "UPDATE":
- case "BY": case "PRIMARY": case "USING":
- case "ELSE": case "INTERSECT": case "CASE":
- case "INTO": case "ESCAPE": case "IS":
- case "REFERENCES": case "CHECK": case "EXCEPT":
- case "ISNULL": case "COLLATE": case "JOIN":
- case "WHEN": case "WHERE": case "COMMIT":
- case "LEFT": case "RIGHT": case "CONSTRAINT":
- return true;
- default:
- return false;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteGuiProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteGuiProvider.cs
deleted file mode 100644
index 48d2bda512..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteGuiProvider.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Data;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-using MonoDevelop.Database.Designer;
-using MonoDevelop.Database.Components;
- namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqliteGuiProvider : IGuiProvider
- {
-// public bool ShowSelectDatabaseDialog (bool create, out string database)
-// {
-// FileChooserDialog dlg = null;
-// if (create) {
-// dlg = new FileChooserDialog (
-// AddinCatalog.GetString ("Save Database"), null, FileChooserAction.Save,
-// "gtk-cancel", ResponseType.Cancel,
-// "gtk-save", ResponseType.Accept
-// );
-// } else {
-// dlg = new FileChooserDialog (
-// AddinCatalog.GetString ("Open Database"), null, FileChooserAction.Open,
-// "gtk-cancel", ResponseType.Cancel,
-// "gtk-open", ResponseType.Accept
-// );
-// }
-// dlg.SelectMultiple = false;
-// dlg.LocalOnly = true;
-// dlg.Modal = true;
-//
-// FileFilter filter = new FileFilter ();
-// filter.AddMimeType ("application/x-sqlite2");
-// filter.AddMimeType ("application/x-sqlite3");
-// filter.AddPattern ("*.db");
-// filter.Name = AddinCatalog.GetString ("SQLite databases");
-// FileFilter filterAll = new FileFilter ();
-// filterAll.AddPattern ("*");
-// filterAll.Name = AddinCatalog.GetString ("All files");
-// dlg.AddFilter (filter);
-// dlg.AddFilter (filterAll);
-//
-// if (dlg.Run () == (int)ResponseType.Accept) {
-// database = dlg.Filename;
-// dlg.Destroy ();
-// return true;
-// } else {
-// dlg.Destroy ();
-// database = null;
-// return false;
-// }
-// }
-
- public bool ShowCreateDatabaseDialog (IDbFactory factory)
- {
- SqliteCreateDatabaseDialog dialog = new SqliteCreateDatabaseDialog (factory);
- int resp;
- do {
- resp = dialog.Run ();
- } while (resp != (int)ResponseType.Cancel &&
- resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
- dialog.Destroy ();
- if (resp == (int)ResponseType.Ok)
- return true;
- else
- return false;
-
- }
-
- public bool ShowAddConnectionDialog (IDbFactory factory)
- {
- return RunDialog (new SqliteDatabaseConnectionSettingsDialog (factory));
- }
-
- public bool ShowEditConnectionDialog (IDbFactory factory,
- DatabaseConnectionSettings settings,
- out DatabaseConnectionSettings newSettings)
- {
-
- SqliteDatabaseConnectionSettingsDialog dlg = new SqliteDatabaseConnectionSettingsDialog(factory, settings);
- bool result = RunDialog (dlg);
- if (result)
- newSettings = dlg.ConnectionSettings;
- else
- newSettings = null;
- return result;
- }
-
- 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);
- }
-
- public bool ShowViewEditorDialog (IEditSchemaProvider schemaProvider, ViewSchema view, bool create)
- {
- ViewEditorSettings settings = new ViewEditorSettings ();
- ViewEditorDialog dlg = new ViewEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (view);
-
- return RunDialog (dlg);
- }
-
- public bool ShowProcedureEditorDialog (IEditSchemaProvider schemaProvider, ProcedureSchema procedure, bool create)
- {
- ProcedureEditorSettings settings = new ProcedureEditorSettings ();
- ProcedureEditorDialog dlg = new ProcedureEditorDialog (schemaProvider, create, settings);
- dlg.Initialize (procedure);
-
- return RunDialog (dlg);
- }
-
- public bool ShowUserEditorDialog (IEditSchemaProvider schemaProvider, UserSchema user, bool create)
- {
- return false; //TODO: implement ShowUserEditorDialog
- }
-
- private bool RunDialog (Dialog dlg)
- {
- bool result = false;
- // If the Preview Dialog is canceled, don't execute and don't close the Editor Dialog.
- try {
- int resp;
- do {
- resp = dlg.Run ();
- } while (resp != (int)ResponseType.Cancel && resp != (int)ResponseType.Ok &&
- resp != (int)ResponseType.DeleteEvent);
-
- if (resp == (int)ResponseType.Ok)
- result = true;
- else
- result = false;
- } finally {
- dlg.Destroy ();
- }
- return result;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqlitePooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqlitePooledDbConnection.cs
deleted file mode 100644
index f0801bc53c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqlitePooledDbConnection.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Data.Sqlite;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
- public class SqlitePooledDbConnection : AbstractPooledDbConnection
- {
- public SqlitePooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- : base (connectionPool, connection)
- {
- }
-
- public override Version DatabaseVersion {
- get {
- SqliteConnection connection = DbConnection as SqliteConnection;
- try {
- //the same output as sqlite3_libversion
- //eg: #define SQLITE_VERSION "3.5.3"
- return new Version (connection.ServerVersion);
- } catch {
- return new Version (3, 0);
- }
- }
- }
-
- public override DataSet ExecuteSet (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataSet set = new DataSet ();
- using (command) {
- using (SqliteDataAdapter adapter = new SqliteDataAdapter (command as SqliteCommand)) {
- try {
- adapter.Fill (set);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteTable (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentException ("command");
-
- DataTable table = new DataTable ();
- using (command) {
- using (SqliteDataAdapter adapter = new SqliteDataAdapter (command as SqliteCommand)) {
- try {
- adapter.Fill (table);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- }
- }
- return table;
- }
-
- public override DataTable GetSchema (string collectionName, params string[] restrictionValues)
- {
- return (connection as SqliteConnection).GetSchema (collectionName, restrictionValues);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs
deleted file mode 100644
index d27bd1ec61..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs
+++ /dev/null
@@ -1,567 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ankit Jain <radical@corewars.org>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Data.Sqlite;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
- // see: http://www.sqlite.org/faq.html
- // http://www.sqlite.org/google-talk-slides/page-021.html
- public class SqliteSchemaProvider : AbstractEditSchemaProvider
- {
- public SqliteSchemaProvider (IConnectionPool connectionPool)
- : base (connectionPool)
- {
- AddSupportedSchemaActions (SchemaType.Database, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Table, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Rename | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.View, SchemaActions.Create | SchemaActions.Drop | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.TableColumn, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.ProcedureParameter, SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Trigger, SchemaActions.All);
- AddSupportedSchemaActions (SchemaType.PrimaryKeyConstraint, SchemaActions.Create | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.CheckConstraint, SchemaActions.Create | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.UniqueConstraint, SchemaActions.Create | SchemaActions.Schema);
- AddSupportedSchemaActions (SchemaType.Constraint, SchemaActions.Create | SchemaActions.Schema);
- }
-
- public override TableSchemaCollection GetTables ()
- {
- TableSchemaCollection tables = new TableSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- // Tables need to be ordered bacause TableSchemaCollection is "created" as sorted by default.
- IDbCommand command = conn.CreateCommand (
- "SELECT name, sql FROM sqlite_master WHERE type = 'table' ORDER BY name"
- );
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- TableSchema table = new TableSchema (this);
-
- table.SchemaName = "main";
- table.Name = r.GetString (0);
- table.IsSystemTable = table.Name.StartsWith ("sqlite_");
- table.Definition = r.GetString (1);
-
- tables.Add (table);
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return tables;
- }
-
- public override ColumnSchemaCollection GetTableColumns (TableSchema table)
- {
- ColumnSchemaCollection columns = new ColumnSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- IDbCommand command = conn.CreateCommand (
- "PRAGMA table_info('" + table.Name + "')"
- );
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this, table);
-
- column.Position = r.GetInt32 (0);
- column.Name = r.GetString (1);
- column.DataTypeName = r.GetString (2);
- column.IsNullable = r.GetInt32 (3) != 0;
- column.DefaultValue = r.IsDBNull (4) ? null : r.GetValue (4).ToString ();
-
- columns.Add (column);
- }
- r.Close ();
- };
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return columns;
- }
-
- public override ViewSchemaCollection GetViews ()
- {
- ViewSchemaCollection views = new ViewSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- IDbCommand command = conn.CreateCommand (
- "SELECT name, sql FROM sqlite_master WHERE type = 'views'"
- );
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ViewSchema view = new ViewSchema (this);
-
- view.SchemaName = "main";
- view.Name = r.GetString (0);
- view.Definition = r.GetString (1);
-
- views.Add (view);
- }
- r.Close ();
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return views;
- }
-
- public override ConstraintSchemaCollection GetTableConstraints (TableSchema table)
- {
- return GetConstraints (table, null);
- }
-
- public override ConstraintSchemaCollection GetColumnConstraints (TableSchema table, ColumnSchema column)
- {
- return GetConstraints (table, column);
- }
-
- public override TriggerSchemaCollection GetTableTriggers (TableSchema table)
- {
-
- if (table == null)
- throw new ArgumentNullException ("table");
- TriggerSchemaCollection triggers = new TriggerSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
-
- IDbCommand command = conn.CreateCommand (string.Format (@"SELECT * FROM sqlite_master
- WHERE type = 'trigger' and tbl_name = '{0}'",
- table.Name));
- try {
- // Parse Trigger Sql - Needed for alter a table
- System.Text.RegularExpressions.Regex parseRegEx = new System.Text.RegularExpressions.Regex
- (string.Concat (
- @"((CREATE\s*(Temp|Temporary)?\s*TRIGGER){1}\s?(\w+)\s?(IF NOT",
- @" EXISTS)?\s?(BEFORE|AFTER|INSTEAD OF){1}\s?(\w+)\s*ON(\s+\w*",
- @")\s*(FOR EACH ROW){1}\s*(BEGIN){1})\s+(\w|\W)*(END)"));
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ()) {
- string sql = r.GetString (r.GetOrdinal ("sql"));
- System.Text.RegularExpressions.MatchCollection matchs = parseRegEx.Matches (sql);
- TriggerSchema trigger = new TriggerSchema (this);
- trigger.Name = r.GetString (r.GetOrdinal ("name"));
- trigger.TableName = r.GetString (r.GetOrdinal ("tbl_name"));
- trigger.Definition = sql;
- if (matchs.Count > 0) {
- trigger.TriggerFireType = TriggerFireType.ForEachRow;
- switch (matchs[0].Groups[7].Value.ToLower ()) {
- case "insert":
- trigger.TriggerEvent = TriggerEvent.Insert;
- break;
- case "update":
- trigger.TriggerEvent = TriggerEvent.Update;
- break;
- case "delete":
- trigger.TriggerEvent = TriggerEvent.Delete;
- break;
- default:
- throw new NotImplementedException ();
- }
-
- switch (matchs[0].Groups[7].Value.ToLower ()) {
- case "before":
- trigger.TriggerType = TriggerType.Before;
- break;
- case "after":
- trigger.TriggerType = TriggerType.After;
- break;
- default:
- throw new NotImplementedException ();
- }
- StringBuilder sbSource = new StringBuilder ();
- foreach (System.Text.RegularExpressions.Capture c in matchs[0].Groups[11].Captures)
- sbSource.Append (c.Value);
- trigger.Source = sbSource.ToString ();
-
-
- }
- triggers.Add (trigger);
- }
- }
- } catch (SqliteException e) {
- QueryService.RaiseException (e);
- }
- return triggers;
- }
-
-
- //http://www.sqlite.org/pragma.html
- public virtual ConstraintSchemaCollection GetConstraints (TableSchema table, ColumnSchema column)
- {
- if (table == null)
- throw new ArgumentNullException ("table");
- string columnName = column == null ? null : column.Name;
-
- ConstraintSchemaCollection constraints = new ConstraintSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
-
- //fk and unique
- IDbCommand command = conn.CreateCommand ("SELECT name, tbl_name FROM sqlite_master WHERE sql IS NULL AND type = 'index'");
- try {
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ConstraintSchema constraint = null;
-
- if (r.IsDBNull (1) || r.GetString (1) == null) {
- constraint = new UniqueConstraintSchema (this);
- } else {
- ForeignKeyConstraintSchema fkc = new ForeignKeyConstraintSchema (this);
- fkc.ReferenceTableName = r.GetString (1);
-
- constraint = fkc;
- }
- constraint.Name = r.GetString (0);
-
- constraints.Add (constraint);
- }
- r.Close ();
- }
- }
-
- //pk, column
- if (columnName != null) {
- command = conn.CreateCommand (
- "PRAGMA table_info('" + table.Name + "')"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- if (r.GetInt32 (5) == 1 && r.GetString (1) == columnName) {
- PrimaryKeyConstraintSchema constraint = new PrimaryKeyConstraintSchema (this);
-
- ColumnSchema priColumn = new ColumnSchema (this, table);
- priColumn.Name = r.GetString (1);
-
- constraint.Columns.Add (priColumn);
- constraint.IsColumnConstraint = true;
- constraint.Name = "pk_" + table.Name + "_" + priColumn.Name;
-
- constraints.Add (constraint);
- }
- }
- r.Close ();
- }
- }
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
-
- conn.Release ();
-
- return constraints;
- }
-
- public override void CreateDatabase (DatabaseSchema database)
- {
- if (System.IO.File.Exists (database.Name))
- throw new SqliteDatabaseAlreadyExistsException (AddinCatalog.GetString
- ("Database '{0}' already exists.", database.Name));
- using (SqliteConnection conn = new SqliteConnection (string.Format ("URI=file:{0};Version=3;",
- database.Name))) {
- conn.Open ();
- conn.Close ();
- }
- }
-
- //http://www.sqlite.org/lang_createtable.html
- public override string GetTableCreateStatement (TableSchema table)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("CREATE TABLE ");
- sb.Append (table.Name);
- sb.Append (" ( ");
-
- bool first = true;
- foreach (ColumnSchema column in table.Columns) {
- if (first)
- first = false;
- else
- sb.Append ("," + Environment.NewLine);
-
- sb.Append (column.Name);
- sb.Append (' ');
- sb.Append (column.DataType.GetCreateString (column));
-
- if (!column.IsNullable)
- sb.Append (" NOT NULL");
- if (column.HasDefaultValue)
- sb.Append (" DEFAULT " + column.DefaultValue == null ? "NULL" : column.DefaultValue.ToString ()); //TODO: '' chars if string
-
- //list all column constrains for this type
- foreach (ConstraintSchema constraint in column.Constraints) {
- sb.Append (" ");
- sb.Append (GetConstraintString (constraint));
- }
- }
- //table constraints
- foreach (ConstraintSchema constraint in table.Constraints) {
- // SQLite create a new schema with an auto-index by default.
- if (constraint.Name.StartsWith ("sqlite_autoindex"))
- continue;
- sb.Append (", ");
- sb.Append (GetConstraintString (constraint));
- }
-
- sb.Append (" );");
-
- foreach (TriggerSchema trigger in table.Triggers) {
- sb.Append (Environment.NewLine);
- sb.Append (GetTriggerCreateStatement (trigger));
- }
-
- return sb.ToString ();
- }
-
- protected virtual string GetConstraintString (ConstraintSchema constraint)
- {
- bool first = true;
- //PRIMARY KEY [sort-order] [ conflict-clause ] [AUTOINCREMENT]
- //UNIQUE [ conflict-clause ]
- //CHECK ( expr )
- //COLLATE collation-name
-
- StringBuilder sb = new StringBuilder ();
- switch (constraint.ConstraintType) {
- case ConstraintType.PrimaryKey:
- sb.Append ("PRIMARY KEY ("); //TODO: auto inc + sort
- first = true;
- foreach (ColumnSchema col in constraint.Columns) {
- if (!first)
- sb.Append (",");
- sb.Append (col.Name);
- first = false;
- }
- sb.Append (")");
- break;
- case ConstraintType.Unique:
- sb.Append ("UNIQUE (");
- first = true;
- foreach (ColumnSchema col in constraint.Columns) {
- if (!first)
- sb.Append (",");
- sb.Append (col.Name);
- first = false;
- }
- sb.Append (")");
- break;
- case ConstraintType.Check:
- CheckConstraintSchema chk = constraint as CheckConstraintSchema;
- sb.Append ("CHECK (");
- sb.Append (chk.Source);
- sb.Append (")");
- break;
- case ConstraintType.ForeignKey:
- sb.Append ("FOREIGN KEY ");
- sb.Append (GetColumnsString (constraint.Columns, true));
- sb.Append (" REFERENCES ");
-
- ForeignKeyConstraintSchema fk = constraint as ForeignKeyConstraintSchema;
- string tableName;
- if (fk.ReferenceTableName.IndexOf ('.') > 0)
- tableName = fk.ReferenceTableName.Substring (fk.ReferenceTableName.IndexOf ('.') + 1);
- else
- tableName = fk.ReferenceTableName;
- sb.Append (tableName);
- sb.Append (' ');
- if (fk.ReferenceColumns != null)
- sb.Append (GetColumnsString (fk.ReferenceColumns, true));
- sb.Append (Environment.NewLine);
- sb.Append (" ON DELETE ");
- sb.Append (GetConstraintActionString (fk.DeleteAction));
- sb.Append (Environment.NewLine);
- sb.Append (" ON UPDATE ");
- sb.Append (GetConstraintActionString (fk.UpdateAction));
- break;
- default:
- throw new NotImplementedException ();
- }
-
- return sb.ToString ();
- }
-
- //http://www.sqlite.org/lang_createview.html
- public override void CreateView (ViewSchema view)
- {
- IPooledDbConnection conn = connectionPool.Request ();
- IDbCommand command = conn.CreateCommand (view.Definition);
- using (command)
- conn.ExecuteNonQuery (command);
- conn.Release ();
- }
-
- //http://www.sqlite.org/lang_createindex.html
- public override void CreateIndex (IndexSchema index)
- {
- throw new NotImplementedException ();
- }
-
- //http://www.sqlite.org/lang_createtrigger.html
- public override void CreateTrigger (TriggerSchema trigger)
- {
- string sql = GetTriggerCreateStatement (trigger);
- ExecuteNonQuery (sql);
- }
-
- protected virtual string GetTriggerCreateStatement (TriggerSchema trigger)
- {
- StringBuilder sb = new StringBuilder ();
- sb.Append ("CREATE TRIGGER ");
- sb.Append (trigger.Name);
-
- switch (trigger.TriggerType) {
- case TriggerType.Before:
- sb.Append (" BEFORE");
- break;
- case TriggerType.After:
- sb.Append (" AFTER");
- break;
- default:
- throw new NotSupportedException ();
- }
-
- switch (trigger.TriggerEvent) {
- case TriggerEvent.Insert:
- sb.Append (" INSERT ");
- break;
- case TriggerEvent.Update:
- sb.Append (" UPDATE ");
- break;
- case TriggerEvent.Delete:
- sb.Append (" DELETE ");
- break;
- default:
- throw new NotSupportedException ();
- }
-
- sb.Append ("ON ");
- sb.Append (trigger.TableName);
- sb.Append (' ');
- sb.Append (Environment.NewLine);
-
- switch (trigger.TriggerFireType) {
- case TriggerFireType.ForEachRow:
- case TriggerFireType.ForEachStatement:
- sb.Append (" FOR EACH ROW ");
- break;
- default:
- throw new NotSupportedException ();
- }
-
- sb.Append (Environment.NewLine);
- sb.Append ("BEGIN ");
- sb.Append (Environment.NewLine);
- sb.Append (trigger.Source);
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- sb.Append ("END;");
-
- return sb.ToString ();
- }
-
- //http://www.sqlite.org/lang_altertable.html
- //http://www.sqlite.org/lang_vacuum.html
- public override void AlterTable (TableAlterSchema table)
- {
- throw new NotImplementedException ();
- }
-
- public override void DropDatabase (DatabaseSchema db)
- {
- connectionPool.Close ();
- System.IO.File.Delete (db.Name);
- }
-
- //http://www.sqlite.org/lang_droptable.html
- public override void DropTable (TableSchema table)
- {
- ExecuteNonQuery ("DROP TABLE IF EXISTS " + table.Name);
- }
-
- //http://www.sqlite.org/lang_dropview.html
- public override void DropView (ViewSchema view)
- {
- ExecuteNonQuery ("DROP VIEW IF EXISTS " + view.Name);
- }
-
- //http://www.sqlite.org/lang_dropindex.html
- public override void DropIndex (IndexSchema index)
- {
- ExecuteNonQuery ("DROP INDEX IF EXISTS " + index.Name);
- }
-
- //http://www.sqlite.org/lang_droptrigger.html
- public override void DropTrigger (TriggerSchema trigger)
- {
- ExecuteNonQuery ("DROP TRIGGER IF EXISTS " + trigger.Name);
- }
-
- //http://www.sqlite.org/lang_altertable.html
- public override void RenameTable (TableSchema table, string name)
- {
- ExecuteNonQuery ("ALTER TABLE " + table.Name + " RENAME TO " + name);
-
- table.Name = name;
- }
-
- public override string GetViewAlterStatement (ViewSchema view)
- {
- return String.Concat ("DROP VIEW IF EXISTS ", view.Name, "; ", Environment.NewLine, view.Definition);
- }
-
- public override string GetMimeType ()
- {
- return "text/x-sqlite";
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSyntaxMode.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSyntaxMode.xml
deleted file mode 100644
index 659f3e2caa..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/SqliteSyntaxMode.xml
+++ /dev/null
@@ -1,311 +0,0 @@
-<!-- SqliteSyntaxMode.xml - Sqlite Syntaxis mode file
-
- Author:
- Luciano N. Callero <lnc19@hotmail.com>
-
- Copyright (c) 2009 Luciano N. Callero
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE. -->
-
-<SyntaxMode name = "Sqlite" mimeTypes="text/x-sqlite" ignorecase="true">
-
- <EolSpan color = "Comment(Line)" rule="Comment" tagColor="comment.tag">-</EolSpan>
-
- <Span color = "Comment(Block)" rule="Comment" tagColor="comment.tag.block">
- <Begin>/*</Begin>
- <End>*/</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>"</Begin>
- <End>"</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>'</Begin>
- <End>'</End>
- </Span>
-
- <Keywords color = "Keyword(Other)">
- <Word>COUNT</Word>
- <Word>AVG</Word>
- <Word>GROUP_CONCAT</Word>
- <Word>MAX</Word>
- <Word>MIN</Word>
- <Word>SUM</Word>
- <Word>TOTAL</Word>
- <Word>abs</Word>
- <Word>changes</Word>
- <Word>coalesce</Word>
- <Word>ifnull</Word>
- <Word>hex</Word>
- <Word>last_insert_rowid</Word>
- <Word>length</Word>
- <Word>like</Word>
- <Word>load_extension</Word>
- <Word>lower</Word>
- <Word>ltrim</Word>
- <Word>nulliff</Word>
- <Word>quote</Word>
- <Word>random</Word>
- <Word>randomblob</Word>
- <Word>replace</Word>
- <Word>round</Word>
- <Word>rtrim</Word>
- <Word>soundex</Word>
- <Word>sqlite_source_id</Word>
- <Word>sqlite_version</Word>
- <Word>substr</Word>
- <Word>total_changes</Word>
- <Word>trim</Word>
- <Word>typeof</Word>
- <Word>upper</Word>
- <Word>zeroblob</Word>
- <Word>date</Word>
- <Word>time</Word>
- <Word>datetime</Word>
- <Word>julianday</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Operator)">
- <Word>||</Word>
- <Word>AS</Word>
- <Word>*</Word>
- <Word>/</Word>
- <Word>%</Word>
- <Word>+</Word>
- <Word>-</Word>
- <Word>&lt;&lt;</Word>
- <Word>&gt;&gt;</Word>
- <Word>&amp;</Word>
- <Word>|</Word>
- <Word>&lt;</Word>
- <Word>&lt;=</Word>
- <Word>&gt;</Word>
- <Word>&gt;=</Word>
- <Word>=</Word>
- <Word>==</Word>
- <Word>!=</Word>
- <Word>&gt;&lt;</Word>
- <Word>IS</Word>
- <Word>IN</Word>
- <Word>LIKE</Word>
- <Word>GLOB</Word>
- <Word>MATCH</Word>
- <Word>REGEXP</Word>
- <Word>AND</Word>
- <Word>OR</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Declaration)">
- <Word>TABLE</Word>
- <Word>RENAME</Word>
- <Word>TO</Word>
- <Word>ALTER</Word>
- <Word>COLUMN</Word>
- <Word>ADD</Word>
- <Word>ANALYZE</Word>
- <Word>ATTACH</Word>
- <Word>DATABASE</Word>
- <Word>CREATE</Word>
- <Word>KEY</Word>
- <Word>INDEX</Word>
- <Word>IF</Word>
- <Word>EXISTS</Word>
- <Word>ON</Word>
- <Word>TEMPORARY</Word>
- <Word>TABLE</Word>
- <Word>TEMP</Word>
- <Word>CONSTRAINT</Word>
- <Word>PRIMARY</Word>
- <Word>AUTOINCREMENT</Word>
- <Word>UNIQUE</Word>
- <Word>CHECK</Word>
- <Word>COLLATE</Word>
- <Word>CONSTRAINT</Word>
- <Word>FOREIGN KEY</Word>
- <Word>DELETE</Word>
- <Word>UPDATE</Word>
- <Word>NULL</Word>
- <Word>DEFAULT</Word>
- <Word>CASCADE</Word>
- <Word>RESTRICT</Word>
- <Word>DEFERRABLE</Word>
- <Word>INITIALLY</Word>
- <Word>DEFERRED</Word>
- <Word>INMEDIATE</Word>
- <Word>TRIGGER</Word>
- <Word>BEFORE</Word>
- <Word>INSTEAD</Word>
- <Word>AFTER</Word>
- <Word>FOR</Word>
- <Word>EACH</Word>
- <Word>ROW</Word>
- <Word>VIEW</Word>
- <Word>VIRTUA</Word>
- <Word>TABLESPACE</Word>
- <Word>DROP</Word>
- <Word>REINDEX</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Parameter)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Selection)">
- <Word>ANALYZE</Word>
- <Word>BEGIN</Word>
- <Word>COMMIT</Word>
- <Word>ROLLBACK</Word>
- <Word>TRANSACTION</Word>
- <Word>SAVEPOINT</Word>
- <Word>DELETE</Word>
- <Word>FROM</Word>
- <Word>INDEXED</Word>
- <Word>BY</Word>
- <Word>QUERY</Word>
- <Word>EXPLAIN</Word>
- <Word>PLAN</Word>
- <Word>INSERT</Word>
- <Word>ABORT</Word>
- <Word>REPLACE</Word>
- <Word>FAIL</Word>
- <Word>IGNORE</Word>
- <Word>INSERT</Word>
- <Word>INTO</Word>
- <Word>REPLACE</Word>
- <Word>VALUES</Word>
- <Word>SELECT</Word>
- <Word>ORDER</Word>
- <Word>BY</Word>
- <Word>LIMIT</Word>
- <Word>OFFSET</Word>
- <Word>SELECT</Word>
- <Word>DISTINCT</Word>
- <Word>ALL</Word>
- <Word>FROM</Word>
- <Word>WHERE</Word>
- <Word>GROUP</Word>
- <Word>HAVING</Word>
- <Word>NATURAL</Word>
- <Word>LEFT</Word>
- <Word>JOIN</Word>
- <Word>OUTER</Word>
- <Word>CROSS</Word>
- <Word>INNER</Word>
- <Word>USING</Word>
- <Word>COLLATE</Word>
- <Word>UNION</Word>
- <Word>INTERSECT</Word>
- <Word>EXCEPT</Word>
- <Word>UPDATE</Word>
- <Word>SET</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Iteration)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Jump)">
- </Keywords>
-
- <Keywords color = "Keyword(Context)">
- </Keywords>
-
- <Keywords color = "Keyword(Exception)">
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Constants)">
- <Word>TRUE</Word>
- <Word>FALSE</Word>
- <Word>Yes</Word>
- <Word>No</Word>
- <Word>On</Word>
- <Word>Off</Word>
- <Word>1</Word>
- <Word>0</Word>
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Modifiers)">
-
- </Keywords>
-
- <Keywords ignorecase="true" color = "Keyword(Type)">
- <Word>NULL</Word>
- <Word>INTEGER</Word>
- <Word>REAL</Word>
- <Word>TEXT</Word>
- <Word>BLOB</Word>
- </Keywords>
-
- <Rule name = "text.preprocessor">
- <Keywords color="text.preprocessor.keyword">
- <word>PRAGMA</word>
- <word>auto_vacuum</word>
- <word>cache_size</word>
- <word>case_sensitive_like</word>
- <word>count_changes</word>
- <word>default_cache_size</word>
- <word>empty_result_callbacks</word>
- <word>encoding</word>
- <word>foreign_keys</word>
- <word>full_column_names</word>
- <word>fullfsync</word>
- <word>incremental_vacuum</word>
- <word>journal_mode</word>
- <word>journal_size_limit</word>
- <word>legacy_file_format</word>
- <word>locking_mode</word>
- <word>page_size</word>
- <word>max_page_count</word>
- <word>read_uncommitted</word>
- <word>recursive_triggers</word>
- <word>reverse_unordered_selects</word>
- <word>short_column_names</word>
- <word>synchronous</word>
- <word>temp_store</word>
- <word>temp_store_directory</word>
- <word>collation_list</word>
- <word>database_list</word>
- <word>foreign_key_list</word>
- <word>freelist_count</word>
- <word>index_info</word>
- <word>index_list</word>
- <word>page_count</word>
- <word>table_info</word>
- <word>schema_version</word>
- <word>user_version</word>
- <word>integrity_check</word>
- <word>quick_check</word>
- <word>parser_trace</word>
- <word>vdbe_trace</word>
- <word>vdbe_listing</word>
- </Keywords>
- </Rule>
-
- <Rule name = "Comment">
- <Keywords color="Comment Tag" ignorecase="True">
- <Word>TODO</Word>
- <Word>FIXME</Word>
- <Word>HACK</Word>
- <Word>UNDONE</Word>
- </Keywords>
- </Rule>
-
- <Rule name = "String">
- </Rule>
-</SyntaxMode>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs
deleted file mode 100644
index 5641a1677d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using Gtk;
-using System;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Database.Components;
-using MonoDevelop.Database.Designer;
-
-namespace MonoDevelop.Database.Sql.Sqlite
-{
- internal class SqliteConnectionSettingsWidget : ConnectionSettingsWidget
- {
-
- internal SqliteConnectionSettingsWidget (IDbFactory factory)
- : base (factory)
- {
- EnableServerEntry = false;
- EnablePortEntry = false;
- EnableUsernameEntry = false;
- EnablePasswordEntry = false;
- EnableRefreshButton = false;
- EnableOpenButton = true;
- }
-
- internal SqliteConnectionSettingsWidget (IDbFactory factory, bool isEditMode)
- : base (factory, isEditMode)
- {
- EnableServerEntry = false;
- EnablePortEntry = false;
- EnableUsernameEntry = false;
- EnablePasswordEntry = false;
- EnableRefreshButton = false;
- EnableOpenButton = true;
- }
-
- protected override void OpenClicked (object sender, EventArgs e)
- {
- string database = null;
- if (ShowSelectDatabaseDialog (out database))
- ComboDatabase.Entry.Text = database;
- }
-
- private bool ShowSelectDatabaseDialog (out string database)
- {
- FileChooserDialog dlg = new FileChooserDialog (
- AddinCatalog.GetString ("Open Database"), null, FileChooserAction.Open,
- "gtk-cancel", ResponseType.Cancel,
- "gtk-open", ResponseType.Accept
- );
- dlg.SelectMultiple = false;
- dlg.LocalOnly = true;
- dlg.Modal = true;
-
- FileFilter filter = new FileFilter ();
- filter.AddMimeType ("application/x-sqlite2");
- filter.AddMimeType ("application/x-sqlite3");
- filter.AddPattern ("*.db");
- filter.AddPattern ("*.sqlite");
- filter.Name = AddinCatalog.GetString ("SQLite databases");
- FileFilter filterAll = new FileFilter ();
- filterAll.AddPattern ("*");
- filterAll.Name = AddinCatalog.GetString ("All files");
- dlg.AddFilter (filter);
- dlg.AddFilter (filterAll);
-
- database = null;
- bool result = false;
- try {
- if (dlg.Run () == (int)ResponseType.Accept) {
- database = dlg.Filename;
- result = true;
- }
- } finally {
- dlg.Destroy ();
- }
- return result;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/generated.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/generated.cs
deleted file mode 100644
index 8463caae89..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/generated.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace Stetic
-{
- internal class Gui
- {
- private static bool initialized;
-
- static internal void Initialize (Gtk.Widget iconRenderer)
- {
- if ((Stetic.Gui.initialized == false)) {
- Stetic.Gui.initialized = true;
- }
- }
- }
-
- internal class ActionGroups
- {
- public static Gtk.ActionGroup GetActionGroup (System.Type type)
- {
- return Stetic.ActionGroups.GetActionGroup (type.FullName);
- }
-
- public static Gtk.ActionGroup GetActionGroup (string name)
- {
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/gui.stetic b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/gui.stetic
deleted file mode 100644
index af7bcd0fdf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite/gtk-gui/gui.stetic
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stetic-interface>
- <configuration>
- <images-root-path>..</images-root-path>
- <target-gtk-version>2.12</target-gtk-version>
- </configuration>
- <import>
- <widget-library name="../../build/MonoDevelop.Database.Designer.dll" />
- <widget-library name="../../build/MonoDevelop.Database.Components.dll" />
- <widget-library name="MonoDevelop.Components, Version=0.19.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Ide, Version=0.19.0.0, Culture=neutral" />
- <widget-library name="MonoDevelop.Projects.Gui, Version=0.19.0.0, Culture=neutral" />
- </import>
-</stetic-interface> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs
deleted file mode 100644
index e12c2c476e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.Sybase.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("Sybase provider for Mono Data Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.6")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs.in
deleted file mode 100644
index 7c18acace4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("Mono.Data.Sql.Odbc")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Daniel Morgan, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")] \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.addin.xml
deleted file mode 100644
index f6b468b07f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.addin.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<Addin id = "MonoDevelop.Database.Sql.Sybase"
- namespace = "MonoDevelop"
- name = "Sybase provider for Mono Data Sql"
- author = "Christian Hergert, Daniel Morgan, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.Sybase.dll"/>
- </Runtime>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <Dependencies>
- <Addin id="MonoDevelop.Database.Sql" version="4.2.3"/>
- </Dependencies>
-
- <Extension path = "/Mono/Data/Sql">
- <Class id = "Sybase" class = "MonoDevelop.Database.Sql.SybaseDbFactory"/>
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.csproj
deleted file mode 100644
index 645afd3b8f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/MonoDevelop.Database.Sql.Sybase.csproj
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{3058BC46-070F-4492-BDC9-40E0ED0D53D8}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Sybase</AssemblyName>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- <RootNamespace>MonoDevelop.Database.Sql.Sybase</RootNamespace>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="Mono.Data" />
- <Reference Include="Mono.Data.SybaseClient" />
- <Reference Include="System.Data" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj">
- <Project>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</Project>
- <Name>MonoDevelop.Database.Sql</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="SybaseSchemaProvider.cs" />
- <Compile Include="SybaseConnectionProvider.cs" />
- <Compile Include="SybaseDbFactory.cs" />
- <Compile Include="AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Schema\" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="false" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.Sybase.addin.xml" />
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseConnectionProvider.cs
deleted file mode 100644
index 80e91afdb4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseConnectionProvider.cs
+++ /dev/null
@@ -1,114 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Data.SybaseClient;
- namespace MonoDevelop.Database.Sql
-{
- public class SybaseConnectionProvider : AbstractConnectionProvider
- {
- public SybaseConnectionProvider (IDbFactory factory, ConnectionSettings settings)
- : base (factory, settings)
- {
- }
-
- public override bool SupportsPooling {
- get { return false; }
- }
-
- public override DataSet ExecuteQueryAsDataSet (string sql)
- {
- if (String.IsNullOrEmpty ("sql"))
- throw new ArgumentException ("sql");
-
- DataSet set = new DataSet ();
- using (IDbCommand command = CreateCommand (sql)) {
- using (SybaseDataAdapter adapter = new SybaseDataAdapter (command as SybaseCommand)) {
- try {
- adapter.Fill (set);
- } catch {
- } finally {
- command.Connection.Close ();
- }
- }
- }
- return set;
- }
-
- public override DataTable ExecuteQueryAsDataTable (string sql)
- {
- if (String.IsNullOrEmpty ("sql"))
- throw new ArgumentException ("sql");
-
- DataTable table = new DataTable ();
- using (IDbCommand command = CreateCommand (sql)) {
- using (SybaseDataAdapter adapter = new SybaseDataAdapter (command as SybaseCommand)) {
- try {
- adapter.Fill (table);
- } catch {
- } finally {
- command.Connection.Close ();
- }
- }
- }
- return table;
- }
-
- public override IDbConnection Open (out string errorMessage)
- {
- string connStr = null;
- try {
- if (settings.UseConnectionString) {
- connStr = settings.ConnectionString;
- } else {
- //Data Source='myASEserver';Port=5000;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
- connStr = String.Format ("Data Source='{0}';Port={1};Database={2};Uid={3};Pwd={4};",
- settings.Server, settings.Port, settings.Database, settings.Username, settings.Password);
- }
- SetConnectionStringParameter (connStr, String.Empty, "pooling", settings.EnablePooling.ToString ());
- if (settings.EnablePooling) {
- SetConnectionStringParameter (connStr, String.Empty, "MinPoolSize", settings.MinPoolSize.ToString ());
- SetConnectionStringParameter (connStr, String.Empty, "MaxPoolSize", settings.MaxPoolSize.ToString ());
- }
- connection = new SybaseConnection (connStr);
- connection.Open ();
-
- errorMessage = String.Empty;
- isConnectionError = false;
- return connection;
- } catch {
- isConnectionError = true;
- errorMessage = String.Format ("Unable to connect. (CS={0})", connStr == null ? "NULL" : connStr);
- return null;
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseDbFactory.cs
deleted file mode 100644
index 8ec4c7904b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseDbFactory.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
- namespace MonoDevelop.Database.Sql
-{
- public class SybaseDbFactory : IDbFactory
- {
- private ISqlDialect dialect;
-
- public string Identifier {
- get { return "Mono.Data.SybaseClient"; }
- }
-
- public string Name {
- get { return "Sybase database (Incomplete)"; }
- }
-
- public ISqlDialect Dialect {
- get {
- if (dialect == null)
- dialect = new Sql99Dialect ("\"", "@");
- return dialect;
- }
- }
-
- public IConnectionProvider CreateConnectionProvider (ConnectionSettings settings)
- {
- return new SybaseConnectionProvider (this, settings);
- }
-
- public ISchemaProvider CreateSchemaProvider (IConnectionProvider connectionProvider)
- {
- return new SybaseSchemaProvider (connectionProvider);
- }
-
- public ConnectionSettings GetDefaultConnectionSettings ()
- {
- ConnectionSettings settings = new ConnectionSettings ();
- settings.ProviderIdentifier = Identifier;
- settings.Server = "localhost";
- settings.Port = 4100;
- settings.Username = "sa";
- settings.Password = String.Empty;
- settings.Database = String.Empty;
- return settings;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseSchemaProvider.cs
deleted file mode 100644
index cdbaf155da..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Sybase/SybaseSchemaProvider.cs
+++ /dev/null
@@ -1,358 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (C) 2005 Daniel Morgan
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Data.SybaseClient;
- namespace MonoDevelop.Database.Sql
-{
- public class SybaseSchemaProvider : AbstractSchemaProvider
- {
- public SybaseSchemaProvider (IConnectionProvider connectionProvider)
- : base (connectionProvider)
- {
- }
-
- public override bool SupportsSchemaType (Type type)
- {
- if (type == typeof(TableSchema))
- return true;
- else if (type == typeof(ColumnSchema))
- return true;
- else if (type == typeof(ViewSchema))
- return true;
- else if (type == typeof(ProcedureSchema))
- return true;
- else if (type == typeof(UserSchema))
- return true;
- else if (type == typeof(SequenceSchema))
- return true;
- else if (type == typeof(TriggerSchema))
- return true;
- else
- return false;
- }
-
- public override ICollection<TableSchema> GetTables ()
- {
- CheckConnectionState ();
- List<TableSchema> tables = new List<TableSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT su.name AS owner, so.name as table_name, so.id as table_id, " +
- " so.crdate as created_date, so.type as table_type " +
- "FROM dbo.sysobjects so, dbo.sysusers su " +
- "WHERE type IN ('S','U') " +
- "AND su.uid = so.uid " +
- "ORDER BY 1, 2"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- TableSchema table = new TableSchema (this);
-
- table.Name = r.GetString(1);
- table.IsSystemTable = r.GetString (4) == "S" ? true : false;
-
- table.SchemaName = r.GetString (0);
- table.OwnerName = r.GetString (0);
- table.Comment = "";
-
- StringBuilder sb = new StringBuilder();
- sb.AppendFormat ("-- Table: {0}\n", table.Name);
- sb.AppendFormat ("-- DROP TABLE {0};\n\n", table.Name);
- sb.AppendFormat ("CREATE TABLE {0} (\n", table.Name);
-
- ICollection<ColumnSchema> columns = table.Columns;
- string[] parts = new string[columns.Count];
- int i = 0;
- foreach (ColumnSchema col in columns)
- parts[i++] = col.Definition;
- sb.Append (String.Join (",\n", parts));
-
- ICollection<ConstraintSchema> constraints = table.Constraints;
- parts = new string[constraints.Count];
- if (constraints.Count > 0)
- sb.Append (",\n");
- i = 0;
- foreach (ConstraintSchema constr in constraints)
- parts[i++] = "\t" + constr.Definition;
- sb.Append (String.Join (",\n", parts));
-
- sb.Append ("\n);\n");
- //sb.AppendFormat ("COMMENT ON TABLE {0} IS '{1}';", table.Name, table.Comment);
- table.Definition = sb.ToString();
-
- tables.Add (table);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return tables;
- }
-
- public override ICollection<ColumnSchema> GetTableColumns (TableSchema table)
- {
- CheckConnectionState ();
- List<ColumnSchema> columns = new List<ColumnSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "select su.name as owner, so.name as table_name, sc.name as column_name, " +
- " st.name as date_type, sc.length as column_length, " +
- " sc.prec as data_preceision, sc.scale as data_scale, " +
- " 0 as isnullable, sc.colid as column_id " +
- "from dbo.syscolumns sc, dbo.sysobjects so, " +
- " dbo.systypes st, dbo.sysusers su " +
- "where sc.id = so.id " +
- "and so.type in ('U','S') " +
- "and so.name = '" + table.Name + "' " +
- "and su.name = '" + table.OwnerName + "' " +
- "and su.uid = so.uid " +
- "and sc.usertype = st.usertype " +
- "order by sc.colid"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this);
-
- column.Name = r.GetString (2);
- column.DataTypeName = r.GetString (3);
- column.OwnerName = table.OwnerName;
- column.NotNull = r.GetInt32 (7) == 8 ? true : false;
- column.Length = GetCheckedInt32 (r, 4);
- column.Precision = GetCheckedInt32 (r, 5);
- column.Scale = GetCheckedInt32 (r, 6);
-
- StringBuilder sb = new StringBuilder ();
- sb.AppendFormat ("{0} {1}{2}",
- column.Name,
- column.DataTypeName,
- (column.Length > 0) ? ("(" + column.Length + ")") : "");
- sb.AppendFormat (" {0}", column.NotNull ? "NOT NULL" : "NULL");
- if (column.Default.ToString ().Length > 0)
- sb.AppendFormat (" DEFAULT {0}", column.Default.ToString ());
- column.Definition = sb.ToString ();
-
- columns.Add (column);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return columns;
- }
-
- public override ICollection<ViewSchema> GetViews ()
- {
- CheckConnectionState ();
- List<ViewSchema> views = new List<ViewSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT su.name AS owner, so.name as table_name, so.id as table_id, " +
- " so.crdate as created_date, so.type as table_type " +
- "FROM dbo.sysobjects so, dbo.sysusers su " +
- "WHERE type = 'V' " +
- "AND su.uid = so.uid " +
- "ORDER BY 1, 2"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ViewSchema view = new ViewSchema (this);
-
- view.Name = r.GetString (1);
- view.SchemaName = r.GetString (0);
- view.OwnerName = r.GetString (0);
- view.IsSystemView = r.GetString (4).Trim ().Equals ("S");
-
- StringBuilder sb = new StringBuilder ();
- sb.AppendFormat ("-- View: {0}\n", view.Name);
- sb.AppendFormat ("-- DROP VIEW {0};\n\n", view.Name);
- string source = GetSource (view.Owner + "." + view.Name);
- sb.AppendFormat (" {0}\n);", source);
- view.Definition = sb.ToString ();
- //view.Comment = r.GetString(5);
-
- views.Add (view);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
- return views;
- }
-
- public override ICollection<ColumnSchema> GetViewColumns (ViewSchema view)
- {
- CheckConnectionState ();
- List<ColumnSchema> columns = new List<ColumnSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT * " +
- " FROM " + view.Name +
- " WHERE 1 = 0"
- );
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- for (int i = 0; i < r.FieldCount; i++) {
- ColumnSchema column = new ColumnSchema (this);
-
- column.Name = r.GetName (i);
- column.DataTypeName = r.GetDataTypeName (i);
- column.OwnerName = view.OwnerName;
- column.SchemaName = view.OwnerName;
-
- columns.Add (column);
- }
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return columns;
- }
-
- public override ICollection<ProcedureSchema> GetProcedures ()
- {
- CheckConnectionState ();
- List<ProcedureSchema> procedures = new List<ProcedureSchema> ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- "SELECT su.name AS owner, so.name as proc_name, so.id as proc_id, "
- + "so.crdate as created_date, so.type as proc_type "
- + "FROM dbo.sysobjects so, dbo.sysusers su "
- + "WHERE type = 'P' AND su.uid = so.uid "
- + "ORDER BY 1, 2"
- );
-
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ProcedureSchema procedure = new ProcedureSchema (this);
-
- procedure.Name = r.GetString (1);
- procedure.OwnerName = r.GetString (0);
- procedure.IsSystemProcedure = r.GetString (4).Trim ().Equals ("S");
-
- StringBuilder sb = new StringBuilder ();
- sb.AppendFormat ("-- Procedure: {0}\n", procedure.Name);
- sb.AppendFormat ("-- DROP PROCEDURE {0};\n\n", procedure.Name);
- string source = GetSource (procedure.Owner + "." + procedure.Name);
- sb.AppendFormat (" {0}\n);", source);
- procedure.Definition = sb.ToString ();
-
- procedures.Add (procedure);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return procedures;
- }
-
- public override ICollection<ColumnSchema> GetProcedureColumns (ProcedureSchema procedure)
- {
- CheckConnectionState ();
- List<ColumnSchema> columns = new List<ColumnSchema> ();
-
-
- IDbCommand command = connectionProvider.CreateCommand (
- "sp_sproc_columns"
- );
- SybaseParameter owner = new SybaseParameter ("@procedure_owner", procedure.OwnerName);
- SybaseParameter name = new SybaseParameter ("@procedure_name", procedure.Name);
- command.Parameters.Add (owner);
- command.Parameters.Add (name);
-
- using (command) {
- using (IDataReader r = command.ExecuteReader()) {
- while (r.Read ()) {
- ColumnSchema column = new ColumnSchema (this);
- column.Name = (string)r["COLUMN_NAME"];
- column.DataTypeName = (string)r["TYPE_NAME"];
- columns.Add (column);
- }
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return columns;
- }
-
- public override DataTypeSchema GetDataType (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
- name = name.ToUpper ();
-
- DataTypeSchema dts = new DataTypeSchema (this);
- dts.Name = name;
- switch (name) {
- //TODO: IMPLEMENT
- case "":
- break;
- default:
- dts = null;
- break;
- }
-
- return dts;
- }
-
- protected string GetSource (string objectName)
- {
- CheckConnectionState ();
-
- IDbCommand command = connectionProvider.CreateCommand (
- String.Format ("EXEC [master].[dbo].[sp_helptext] '{0}', null", objectName)
- );
- StringBuilder sb = new StringBuilder ();
- using (command) {
- using (IDataReader r = command.ExecuteReader ()) {
- while (r.Read ())
- sb.Append (r.GetString (0));
- r.Close ();
- }
- connectionProvider.Close (command.Connection);
- }
-
- return sb.ToString ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Tests/MonoDevelop.Database.Sql.Tests.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Tests/MonoDevelop.Database.Sql.Tests.csproj
deleted file mode 100644
index 0ed0d25363..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql.Tests/MonoDevelop.Database.Sql.Tests.csproj
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{A0ADC42C-3DF3-4246-864F-AC56CA5A0B6A}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql.Tests</AssemblyName>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- <RootNamespace>MonoDevelop.Database.Sql.Tests</RootNamespace>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generateScript="false" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AddinCatalog.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AddinCatalog.cs
deleted file mode 100644
index 528b71ec3e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AddinCatalog.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-// Gettext.cs
-//
-// Author:
-// Lluis Sanchez Gual <lluis@novell.com>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Novell, Inc (http://www.novell.com)
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-//
-
-using System;
-using Mono.Addins;
-
-namespace MonoDevelop.Database
-{
- public static class AddinCatalog
- {
- static AddinLocalizer localizer;
-
- public static string GetString (string str)
- {
- if (localizer == null)
- localizer = AddinManager.CurrentLocalizer;
- return localizer.GetString (str);
- }
-
- public static string GetString (string str, params object[] pars)
- {
- return string.Format (GetString (str), pars);
- }
-
- public static string GetPluralString (string msgid, string defaultPlural, int n)
- {
- if (localizer == null)
- localizer = AddinManager.CurrentLocalizer;
- return localizer.GetPluralString (msgid, defaultPlural, n);
- }
-
- public static string GetPluralString (string msgid, string defaultPlural, int n, params string[] args)
- {
- if (localizer == null)
- localizer = AddinManager.CurrentLocalizer;
- return localizer.GetPluralString (msgid, defaultPlural, n, args);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/AbstractAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/AbstractAlterSchema.cs
deleted file mode 100644
index dd87bd5741..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/AbstractAlterSchema.cs
+++ /dev/null
@@ -1,104 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- //TODO: AddUnique method ??
- public abstract class AbstractAlterSchema<T> : IAlterSchema where T : ISchema
- {
- protected List<IAlteration> alterations;
-
- protected T oldSchema;
- protected T newSchema;
-
- protected AbstractAlterSchema ()
- {
- alterations = new List<IAlteration> ();
- }
-
- protected AbstractAlterSchema (T oldSchema, T newSchema):this()
- {
- if (oldSchema == null)
- throw new ArgumentNullException ("oldSchema");
- if (newSchema == null)
- throw new ArgumentNullException ("newSchema");
-
- this.oldSchema = oldSchema;
- this.newSchema = newSchema;
-
- DetermineDifferences (oldSchema, newSchema);
- }
-
- public T OldSchema
- {
- get { return oldSchema; }
- protected internal set { oldSchema = value; }
- }
-
- public T NewSchema
- {
- get { return newSchema; }
- protected internal set { newSchema = value; }
- }
-
- public ICollection<IAlteration> Alterations
- {
- get { return alterations; }
- }
-
- public T GetAlteration<T> () where T : IAlteration
- {
- Type t = typeof (T);
- foreach (IAlteration alteration in alterations)
- if (t == alteration.GetType ())
- return (T)alteration;
- return default(T);
- }
-
- public bool HasAlteration<T> () where T : IAlteration
- {
- IAlteration alteration = GetAlteration<T> ();
- return alteration != null;
- }
-
- protected virtual void DetermineDifferences (T oldSchema, T newSchema)
- {
- if (oldSchema.Name != newSchema.Name)
- alterations.Add (new NameAlteration (oldSchema.Name, newSchema.Name));
- if (oldSchema.OwnerName != newSchema.OwnerName)
- alterations.Add (new OwnerNameAlteration (oldSchema.OwnerName, newSchema.OwnerName));
- if (oldSchema.Comment != newSchema.Comment)
- alterations.Add (new CommentAlteration (oldSchema.Comment, newSchema.Comment));
- if (oldSchema.Definition != newSchema.Definition)
- alterations.Add (new DefinitionAlteration (oldSchema.Name, newSchema.Name));
- if (oldSchema.SchemaName != newSchema.SchemaName)
- alterations.Add (new SchemaAlteration (oldSchema.SchemaName, newSchema.SchemaName));
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/AbstractAlteration.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/AbstractAlteration.cs
deleted file mode 100644
index 37af9cdc63..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/AbstractAlteration.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractAlteration<T> : IAlteration
- {
- protected T oldValue;
- protected T newValue;
-
- protected AbstractAlteration ()
- {
- }
-
- protected AbstractAlteration (T oldValue, T newValue)
- {
- this.oldValue = oldValue;
- this.newValue = newValue;
- }
-
- public T OldValue {
- get { return oldValue; }
- protected internal set { oldValue = value; }
- }
-
- public T NewValue {
- get { return newValue; }
- protected internal set { newValue = value; }
- }
-
- public bool HasNewValue {
- get { return newValue != null; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ColumnAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ColumnAlterations.cs
deleted file mode 100644
index f8d08e0691..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ColumnAlterations.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- //add/remove/insert column alteration (with ColumnSchema as param)
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ConstraintAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ConstraintAlterations.cs
deleted file mode 100644
index 813322e923..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ConstraintAlterations.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class IsColumnConstraintAlteration : AbstractAlteration<bool>
- {
- public IsColumnConstraintAlteration (bool oldValue, bool newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class ForeignKeyDeleteActionAlteration : AbstractAlteration<ForeignKeyAction>
- {
- public ForeignKeyDeleteActionAlteration (ForeignKeyAction oldValue, ForeignKeyAction newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class ForeignKeyUpdateActionAlteration : AbstractAlteration<ForeignKeyAction>
- {
- public ForeignKeyUpdateActionAlteration (ForeignKeyAction oldValue, ForeignKeyAction newValue)
- : base (oldValue, newValue)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/DefaultAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/DefaultAlterations.cs
deleted file mode 100644
index 65872c1156..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/DefaultAlterations.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class NameAlteration : AbstractAlteration<string>
- {
- public NameAlteration (string oldName, string newName)
- : base (oldName, newName)
- {
- }
- }
-
- public class StatementAlteration : AbstractAlteration<string>
- {
- public StatementAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class CommentAlteration : AbstractAlteration<string>
- {
- public CommentAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class DefinitionAlteration : AbstractAlteration<string>
- {
- public DefinitionAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class SchemaAlteration : AbstractAlteration<string>
- {
- public SchemaAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class OwnerNameAlteration : AbstractAlteration<string>
- {
- public OwnerNameAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class SourceAlteration : AbstractAlteration<string>
- {
- public SourceAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class PositionAlteration : AbstractAlteration<int>
- {
- public PositionAlteration (int oldValue, int newValue)
- : base (oldValue, newValue)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IAlteration.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IAlteration.cs
deleted file mode 100644
index 37705a63db..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IAlteration.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IAlteration
- {
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IndexAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IndexAlterations.cs
deleted file mode 100644
index 77196a5572..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/IndexAlterations.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
-
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ProcedureAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ProcedureAlterations.cs
deleted file mode 100644
index 2d9103038a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ProcedureAlterations.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ProcedureLanguageAlteration : AbstractAlteration<string>
- {
- public ProcedureLanguageAlteration (string oldValue, string newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class IsSystemProcedureAlteration : AbstractAlteration<bool>
- {
- public IsSystemProcedureAlteration (bool oldValue, bool newValue)
- : base (oldValue, newValue)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TableAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TableAlterations.cs
deleted file mode 100644
index 959d9d366b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TableAlterations.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TableNameAlteration : AbstractAlteration<string>
- {
- public TableNameAlteration (string oldName, string newName)
- : base (oldName, newName)
- {
- }
- }
-
- public class TableSpaceNameAlteration : AbstractAlteration<string>
- {
- public TableSpaceNameAlteration (string oldName, string newName)
- : base (oldName, newName)
- {
- }
- }
-
- public class IsSystemTableAlteration : AbstractAlteration<bool>
- {
- public IsSystemTableAlteration (bool oldValue, bool newValue)
- : base (oldValue, newValue)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TriggerAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TriggerAlterations.cs
deleted file mode 100644
index da3157066e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/TriggerAlterations.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TriggerTypeAlteration : AbstractAlteration<TriggerType>
- {
- public TriggerTypeAlteration (TriggerType oldValue, TriggerType newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class TriggerFireTypeAlteration : AbstractAlteration<TriggerFireType>
- {
- public TriggerFireTypeAlteration (TriggerFireType oldValue, TriggerFireType newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class TriggerEventAlteration : AbstractAlteration<TriggerEvent>
- {
- public TriggerEventAlteration (TriggerEvent oldValue, TriggerEvent newValue)
- : base (oldValue, newValue)
- {
- }
- }
-
- public class IsTriggerActiveAlteration : AbstractAlteration<bool>
- {
- public IsTriggerActiveAlteration (bool oldValue, bool newValue)
- : base (oldValue, newValue)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/UserAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/UserAlterations.cs
deleted file mode 100644
index af2384f28e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/UserAlterations.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
-
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ViewAlterations.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ViewAlterations.cs
deleted file mode 100644
index 01dd951445..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/Alterations/ViewAlterations.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class IsSystemViewAlteration : AbstractAlteration<bool>
- {
- public IsSystemViewAlteration (bool oldValue, bool newValue)
- : base (oldValue, newValue)
- {
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/CheckConstraintAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/CheckConstraintAlterSchema.cs
deleted file mode 100644
index af0ba6e158..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/CheckConstraintAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class CheckConstraintAlterSchema : AbstractAlterSchema<CheckConstraintSchema>
- {
- public CheckConstraintAlterSchema (CheckConstraintSchema oldSchema, CheckConstraintSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (CheckConstraintSchema oldSchema, CheckConstraintSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ColumnAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ColumnAlterSchema.cs
deleted file mode 100644
index 25411cc0f0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ColumnAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ColumnAlterSchema : AbstractAlterSchema<ColumnSchema>
- {
- public ColumnAlterSchema (ColumnSchema oldSchema, ColumnSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (ColumnSchema oldSchema, ColumnSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/DatabaseAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/DatabaseAlterSchema.cs
deleted file mode 100644
index 3c1527268f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/DatabaseAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DatabaseAlterSchema : AbstractAlterSchema<DatabaseSchema>
- {
- public DatabaseAlterSchema (DatabaseSchema oldSchema, DatabaseSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (DatabaseSchema oldSchema, DatabaseSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ForeignKeyConstraintAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ForeignKeyConstraintAlterSchema.cs
deleted file mode 100644
index 9a43c5437f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ForeignKeyConstraintAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ForeignKeyConstraintAlterSchema : AbstractAlterSchema<ForeignKeyConstraintSchema>
- {
- public ForeignKeyConstraintAlterSchema (ForeignKeyConstraintSchema oldSchema, ForeignKeyConstraintSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (ForeignKeyConstraintSchema oldSchema, ForeignKeyConstraintSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IAlterSchema.cs
deleted file mode 100644
index d0b0e9ccbc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IAlterSchema.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IAlterSchema
- {
- ICollection<IAlteration> Alterations { get; }
-
- T GetAlteration<T> () where T : IAlteration;
- bool HasAlteration<T> () where T : IAlteration;
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IndexAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IndexAlterSchema.cs
deleted file mode 100644
index f8ca8da3d0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/IndexAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class IndexAlterSchema : AbstractAlterSchema<IndexSchema>
- {
- public IndexAlterSchema (IndexSchema oldSchema, IndexSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (IndexSchema oldSchema, IndexSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/PrimaryKeyConstraintAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/PrimaryKeyConstraintAlterSchema.cs
deleted file mode 100644
index aae299ee93..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/PrimaryKeyConstraintAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class PrimaryKeyConstraintAlterSchema : AbstractAlterSchema<PrimaryKeyConstraintSchema>
- {
- public PrimaryKeyConstraintAlterSchema (PrimaryKeyConstraintSchema oldSchema, PrimaryKeyConstraintSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (PrimaryKeyConstraintSchema oldSchema, PrimaryKeyConstraintSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ProcedureAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ProcedureAlterSchema.cs
deleted file mode 100644
index 790eada060..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ProcedureAlterSchema.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ProcedureAlterSchema : AbstractAlterSchema<ProcedureSchema>
- {
- public ProcedureAlterSchema (ProcedureSchema oldSchema, ProcedureSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (ProcedureSchema oldSchema, ProcedureSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TableAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TableAlterSchema.cs
deleted file mode 100644
index 0bfbd65015..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TableAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TableAlterSchema : AbstractAlterSchema<TableSchema>
- {
- public TableAlterSchema (TableSchema oldSchema, TableSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (TableSchema oldSchema, TableSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TriggerAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TriggerAlterSchema.cs
deleted file mode 100644
index 88eaddb90d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/TriggerAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TriggerAlterSchema : AbstractAlterSchema<TriggerSchema>
- {
- public TriggerAlterSchema (TriggerSchema oldSchema, TriggerSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (TriggerSchema oldSchema, TriggerSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UniqueConstraintAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UniqueConstraintAlterSchema.cs
deleted file mode 100644
index 43faa34a6f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UniqueConstraintAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class UniqueConstraintAlterSchema : AbstractAlterSchema<UniqueConstraintSchema>
- {
- public UniqueConstraintAlterSchema (UniqueConstraintSchema oldSchema, UniqueConstraintSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (UniqueConstraintSchema oldSchema, UniqueConstraintSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UserAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UserAlterSchema.cs
deleted file mode 100644
index 63bd7264ba..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/UserAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class UserAlterSchema : AbstractAlterSchema<UserSchema>
- {
- public UserAlterSchema (UserSchema oldSchema, UserSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (UserSchema oldSchema, UserSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ViewAlterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ViewAlterSchema.cs
deleted file mode 100644
index eb8a96637d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AlterSchema/ViewAlterSchema.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2008 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ViewAlterSchema : AbstractAlterSchema<ViewSchema>
- {
- public ViewAlterSchema (ViewSchema oldSchema, ViewSchema newSchema)
- : base (oldSchema, newSchema)
- {
- }
-
- protected override void DetermineDifferences (ViewSchema oldSchema, ViewSchema newSchema)
- {
- base.DetermineDifferences (oldSchema, newSchema);
-
- //TODO:
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs
deleted file mode 100644
index dad06d78ee..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Autogenerated from MonoDevelop.Database.Sql.addin.xml
-
-using System.Reflection;
-
-[assembly: AssemblyProduct ("MonoDevelop")]
-[assembly: AssemblyTitle ("MonoDevelop Database Sql")]
-[assembly: AssemblyDescription ("Database Module")]
-[assembly: AssemblyVersion ("2.2")]
-[assembly: AssemblyCopyright ("MIT X11")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs.in b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs.in
deleted file mode 100644
index 04d4e0a202..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/AssemblyInfo.cs.in
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-[assembly: AssemblyTitle("MonoDevelop.Database.Sql")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("http://www.monodevelop.com")]
-[assembly: AssemblyCopyright("MIT X11 - Christian Hergert, Ben Motmans")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
-
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Codons/DbFactoryCodon.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Codons/DbFactoryCodon.cs
deleted file mode 100644
index 8983f479ed..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Codons/DbFactoryCodon.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DbFactoryCodon : TypeExtensionNode
- {
- public IDbFactory DbFactory {
- get {
- try {
- return (IDbFactory)base.CreateInstance ();
- } catch (Exception e) {
- LoggingService.LogError (e.ToString ());
- return null;
- }
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ColumnSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ColumnSchemaCollection.cs
deleted file mode 100644
index 0f3b451792..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ColumnSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class ColumnSchemaCollection : SortedCollectionBase<ColumnSchema>
- {
- public ColumnSchemaCollection ()
- : base (false) //not sorted, column order is important
- {
- }
-
- public ColumnSchemaCollection (ColumnSchemaCollection collection)
- : base (collection, false)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ConstraintSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ConstraintSchemaCollection.cs
deleted file mode 100644
index 5703d31003..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ConstraintSchemaCollection.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class ConstraintSchemaCollection : SortedCollectionBase<ConstraintSchema>
- {
- public ConstraintSchemaCollection ()
- : base (true)
- {
- }
-
- public ConstraintSchemaCollection (ConstraintSchemaCollection collection)
- : base (collection, true)
- {
- }
-
- public ConstraintSchema GetConstraint (ConstraintType type)
- {
- foreach (ConstraintSchema item in List) {
- if (item.ConstraintType == type)
- return item;
- }
- return null;
- }
-
- public IEnumerable<ConstraintSchema> GetConstraints (ConstraintType type)
- {
- foreach (ConstraintSchema item in List) {
- if (item.ConstraintType == type)
- yield return item;
- }
- }
-
- public ConstraintSchema GetConstraintWithColumn (string columnName)
- {
- foreach (ConstraintSchema item in List) {
- foreach (ColumnSchema column in item.Columns) {
- if (column.Name == columnName)
- return item;
- }
- }
- return null;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DataTypeSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DataTypeSchemaCollection.cs
deleted file mode 100644
index 086edaf61c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DataTypeSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class DataTypeSchemaCollection : SortedCollectionBase<DataTypeSchema>
- {
- public DataTypeSchemaCollection ()
- : base (true)
- {
- }
-
- public DataTypeSchemaCollection (DataTypeSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DatabaseSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DatabaseSchemaCollection.cs
deleted file mode 100644
index 34fd0bc5c6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/DatabaseSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class DatabaseSchemaCollection : SortedCollectionBase<DatabaseSchema>
- {
- public DatabaseSchemaCollection ()
- : base (true)
- {
- }
-
- public DatabaseSchemaCollection (DatabaseSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IPropertyComparer.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IPropertyComparer.cs
deleted file mode 100644
index badbd2c592..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IPropertyComparer.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IPropertyComparer<T, U>
- {
- int Compare (T x, U y);
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IndexSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IndexSchemaCollection.cs
deleted file mode 100644
index f196430ddf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/IndexSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class IndexSchemaCollection : SortedCollectionBase<IndexSchema>
- {
- public IndexSchemaCollection ()
- : base (true)
- {
- }
-
- public IndexSchemaCollection (IndexSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ParameterSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ParameterSchemaCollection.cs
deleted file mode 100644
index 7f9cea0fad..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ParameterSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class ParameterSchemaCollection : SortedCollectionBase<ParameterSchema>
- {
- public ParameterSchemaCollection ()
- : base (false) //not sorted, parameter order is important
- {
- }
-
- public ParameterSchemaCollection (ParameterSchemaCollection collection)
- : base (collection, false)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ProcedureSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ProcedureSchemaCollection.cs
deleted file mode 100644
index dcdc619390..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ProcedureSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class ProcedureSchemaCollection : SortedCollectionBase<ProcedureSchema>
- {
- public ProcedureSchemaCollection ()
- : base (true)
- {
- }
-
- public ProcedureSchemaCollection (ProcedureSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionBase.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionBase.cs
deleted file mode 100644
index d0b57b2408..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionBase.cs
+++ /dev/null
@@ -1,300 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class SortedCollectionBase<T> : CollectionBase, IEnumerable<T>, IPropertyComparer<T, string> where T : ISchema
- {
- public SortedCollectionItemEventHandler<T> ItemAdded;
- public SortedCollectionItemEventHandler<T> ItemRemoved;
-
- protected bool sort = false;
-
- protected SortedCollectionBase (bool sort)
- {
- this.sort = sort;
- }
-
- protected SortedCollectionBase (SortedCollectionBase<T> collection, bool sort)
- : this (sort)
- {
- if (collection == null)
- return;
-
- foreach (T item in collection)
- Add ((T)item.Clone ());
- }
-
- public T this [int index] {
- get { return (T)List[index]; }
- set { List[index] = value; }
- }
-
- public bool IsSorted {
- get { return sort; }
- set {
- if (sort != value) {
- sort = value;
- if (value)
- Sort ();
- }
- }
- }
-
- public int Add (T item)
- {
- if (item == null)
- throw new ArgumentNullException ("item");
-
- //TODO: add sorted based on the complement of the binary search
- int index = -1;
- if (sort)
- index = SortedInsert (item);
- else
- index = List.Add (item);
-
- if (ItemAdded != null)
- ItemAdded (this, new SortedCollectionItemEventArgs<T> (item));
-
- return index;
- }
-
- public int IndexOf (T item)
- {
- if (item == null)
- throw new ArgumentNullException ("item");
-
- return List.IndexOf (item);
- }
-
- public void Insert (int index, T item)
- {
- if (item == null)
- throw new ArgumentNullException ("item");
-
- if (sort)
- throw new InvalidOperationException ("Insert can only be used in an unsorted collection.");
-
- List.Insert (index, item);
-
- if (ItemAdded != null)
- ItemAdded (this, new SortedCollectionItemEventArgs<T> (item));
- }
-
- public void Remove (T item)
- {
- if (item == null)
- throw new ArgumentNullException ("item");
-
- List.Remove (item);
-
- if (ItemRemoved != null)
- ItemRemoved (this, new SortedCollectionItemEventArgs<T> (item));
- }
-
- public bool Contains (T item)
- {
- if (item == null)
- throw new ArgumentNullException ("item");
-
- return List.Contains (item);
- }
-
- public bool Contains (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- if (sort)
- return BinarySearchIndex<string> (this, name) >= 0;
- else
- return SearchIndex<string> (this, name) >= 0;
- }
-
- public T Search (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- int index = -1;
- if (sort)
- index = BinarySearchIndex<string> (this, name);
- else
- index = SearchIndex<string> (this, name);
- if (index >= 0)
- return this[index];
- return default (T);
- }
-
- public int SearchIndex (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- if (sort)
- return BinarySearchIndex<string> (this, name);
- else
- return SearchIndex<string> (this, name);
- }
-
- public virtual void Sort ()
- {
- if (List.Count <= 1) return;
-
- //quicksort
- Sort (0, List.Count - 1);
- }
-
- public virtual void Swap (T x, T y)
- {
- if (x == null)
- throw new ArgumentNullException ("x");
- if (y == null)
- throw new ArgumentNullException ("y");
-
- int indexX = IndexOf (x);
- int indexY = IndexOf (y);
-
- if (indexX < 0 || indexY < 0)
- throw new ArgumentException ("Both items must be present in the collection.");
-
- Swap (indexX, indexY);
- }
-
- public virtual void Swap (int left, int right)
- {
- object swap = List[left];
- List[left] = List[right];
- List[right] = swap;
- }
-
- IEnumerator<T> IEnumerable<T>.GetEnumerator ()
- {
- foreach (T item in List)
- yield return item;
- }
-
- protected virtual int SortedInsert (T item)
- {
- if (List.Count == 0) {
- List.Add (item);
- return 0;
- } else {
- int position = 0;
- foreach (T t in List) {
- if (Compare (item, t) < 0)
- break;
- position++;
- }
- if (position == List.Count) {
- List.Add (item);
- return List.Count - 1;
- } else {
- List.Insert (position, item);
- return position;
- }
- }
- }
-
- protected virtual void Sort (int lower, int upper)
- {
- if (lower < upper) {
- int split = Pivot (lower, upper);
- Sort (lower, split - 1);
- Sort (split + 1, upper);
- }
- }
-
- protected virtual int Pivot (int lower, int upper)
- {
- int left = lower + 1;
- T pivot = this[lower];
- int right = upper;
-
- while (left <= right) {
-
- while ((left <= right) && (Compare (this[left], pivot) <= 0))
- ++left;
-
- while ((left <= right) && (Compare (this[right], pivot) > 0))
- --right;
-
- if (left < right) {
- Swap (left, right);
- ++left;
- --right;
- }
- }
-
- Swap (lower, right);
- return right;
- }
-
- protected virtual int BinarySearchIndex<U> (IPropertyComparer<T, U> comparer, U value)
- {
- int min = 0;
- int max = List.Count - 1;
- int cmp = 0;
-
- while (min <= max) {
- int mid = (min + max) / 2;
- cmp = comparer.Compare (this[mid], value);
-
- if (cmp == 0)
- return mid;
- else if (cmp > 0)
- max = mid - 1;
- else
- min = mid + 1; // compensate for the rounding down
- }
-
- return ~min;
- }
-
- protected virtual int SearchIndex<U> (IPropertyComparer<T, U> comparer, U value)
- {
- int max = List.Count - 1;
- for (int i=0; i<max; i++)
- if (comparer.Compare (this[i], value) == 0)
- return i;
- return -1;
- }
-
- protected virtual int Compare (T x, T y)
- {
- return 0;
- }
-
- int IPropertyComparer<T, string>.Compare (T x, string y)
- {
- ISchema schema = (ISchema)x;
- return schema.Name.CompareTo (y);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionItemEventArgs.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionItemEventArgs.cs
deleted file mode 100644
index 8dd6bd277b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/SortedCollectionItemEventArgs.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public delegate void SortedCollectionItemEventHandler<T> (object sender, SortedCollectionItemEventArgs<T> args);
-
- public class SortedCollectionItemEventArgs<T> : EventArgs
- {
- private T item;
-
- public SortedCollectionItemEventArgs (T item)
- {
- this.item = item;
- }
-
- public T Item {
- get { return item; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TableSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TableSchemaCollection.cs
deleted file mode 100644
index b5f01e7fd2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TableSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class TableSchemaCollection : SortedCollectionBase<TableSchema>
- {
- public TableSchemaCollection ()
- : base (true)
- {
- }
-
- public TableSchemaCollection (TableSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TriggerSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TriggerSchemaCollection.cs
deleted file mode 100644
index 97f543b708..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/TriggerSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class TriggerSchemaCollection : SortedCollectionBase<TriggerSchema>
- {
- public TriggerSchemaCollection ()
- : base (true)
- {
- }
-
- public TriggerSchemaCollection (TriggerSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/UserSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/UserSchemaCollection.cs
deleted file mode 100644
index 759132612a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/UserSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class UserSchemaCollection : SortedCollectionBase<UserSchema>
- {
- public UserSchemaCollection ()
- : base (true)
- {
- }
-
- public UserSchemaCollection (UserSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ViewSchemaCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ViewSchemaCollection.cs
deleted file mode 100644
index 2a956ca82d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Collections/ViewSchemaCollection.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class ViewSchemaCollection : SortedCollectionBase<ViewSchema>
- {
- public ViewSchemaCollection ()
- : base (true)
- {
- }
-
- public ViewSchemaCollection (ViewSchemaCollection collection)
- : base (collection, true)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContext.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContext.cs
deleted file mode 100644
index a7da2ef111..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContext.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class DatabaseConnectionContext
- {
- public event EventHandler RefreshEvent;
-
- private bool temp;
- private DatabaseConnectionSettings connectionSettings;
-
- private IConnectionPool connectionPool;
- private ISchemaProvider schemaProvider;
-
- public DatabaseConnectionContext (DatabaseConnectionSettings connectionSettings)
- : this (connectionSettings, false)
- {
- }
-
- public DatabaseConnectionContext (DatabaseConnectionSettings connectionSettings, bool temp)
- {
- if (connectionSettings == null)
- throw new ArgumentNullException ("connectionSettings");
-
- this.connectionSettings = connectionSettings;
- this.temp = temp;
- }
-
- //temp connection contexts are not shown in the database pad
- public bool IsTemporary {
- get { return temp; }
- set { temp = false; }
- }
-
- public IDbFactory DbFactory {
- get { return DbFactoryService.GetDbFactory (connectionSettings.ProviderIdentifier); }
- }
-
- public DatabaseConnectionSettings ConnectionSettings {
- get { return connectionSettings; }
- }
-
- public IConnectionPool ConnectionPool {
- get {
- if (connectionPool == null)
- connectionPool = DbFactoryService.CreateConnectionPool (this);
- return connectionPool;
- }
- }
-
- public bool HasConnectionPool {
- get { return connectionPool != null; }
- }
-
- public ISchemaProvider SchemaProvider {
- get {
- if (ConnectionPool != null) {
- if (schemaProvider == null)
- schemaProvider = DbFactoryService.CreateSchemaProvider (this, connectionPool);
- return schemaProvider;
- }
- return null;
- }
- }
-
- public bool HasSchemaProvider {
- get { return schemaProvider != null; }
- }
-
- public void Refresh ()
- {
- if (RefreshEvent != null)
- RefreshEvent (this, EventArgs.Empty);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextCollection.cs
deleted file mode 100644
index c05f35705e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextCollection.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DatabaseConnectionContextCollection : IEnumerable<DatabaseConnectionContext>
- {
- public event EventHandler Changed;
- private List<DatabaseConnectionContext> contexts;
-
- public DatabaseConnectionContextCollection ()
- {
- contexts = new List<DatabaseConnectionContext> ();
- }
-
- public DatabaseConnectionContext this[int index] {
- get { return contexts[index]; }
- }
-
- internal void Add (DatabaseConnectionContext item)
- {
- contexts.Add (item);
- OnChanged (EventArgs.Empty);
- }
-
- public int Count {
- get { return contexts.Count; }
- }
-
- public int IndexOf (DatabaseConnectionContext item)
- {
- return contexts.IndexOf (item);
- }
-
- internal void Insert (int index, DatabaseConnectionContext item)
- {
- contexts.Insert (index, item);
- OnChanged (EventArgs.Empty);
- }
-
- internal void Remove (DatabaseConnectionContext item)
- {
- contexts.Remove (item);
- OnChanged (EventArgs.Empty);
- }
-
- public bool Contains (DatabaseConnectionContext item)
- {
- return contexts.Contains (item);
- }
-
- public bool Contains (string name)
- {
- foreach (DatabaseConnectionContext context in this) {
- if (context.ConnectionSettings.Name == name)
- return true;
- }
- return false;
- }
-
- public IEnumerator<DatabaseConnectionContext> GetEnumerator ()
- {
- return contexts.GetEnumerator ();
- }
-
- IEnumerator IEnumerable.GetEnumerator ()
- {
- return (contexts as IEnumerable).GetEnumerator ();
- }
-
- protected virtual void OnChanged (EventArgs e)
- {
- if (Changed != null )
- Changed (this, e);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextEventArgs.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextEventArgs.cs
deleted file mode 100644
index 58d3504156..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionContextEventArgs.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public delegate void DatabaseConnectionContextEventHandler (object sender, DatabaseConnectionContextEventArgs args);
-
- public class DatabaseConnectionContextEventArgs : EventArgs
- {
- protected DatabaseConnectionContext context;
-
- public DatabaseConnectionContextEventArgs (DatabaseConnectionContext context)
- {
- this.context = context;
- }
-
- public DatabaseConnectionContext ConnectionContext {
- get { return context; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettings.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettings.cs
deleted file mode 100644
index b63e782c8b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettings.cs
+++ /dev/null
@@ -1,146 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- [Serializable]
- public class DatabaseConnectionSettings
- {
- string name;
- string providerIdentifier;
-
- string server;
- int port;
-
- string database;
- string username;
- string password;
- bool savePassword;
-
- int minPoolSize;
- int maxPoolSize;
-
- string connectionString;
- bool useConnectionString;
- bool useIntegratedSecurity;
- bool canUseIntegratedSecurity;
-
- public DatabaseConnectionSettings ()
- {
- }
-
- public DatabaseConnectionSettings (DatabaseConnectionSettings copy)
- {
- name = copy.Name;
- providerIdentifier = copy.ProviderIdentifier;
- server = copy.Server;
- port = copy.Port;
- database = copy.Database;
- username = copy.Username;
- password = copy.Password;
- savePassword = copy.SavePassword;
- minPoolSize = copy.MinPoolSize;
- maxPoolSize = copy.MaxPoolSize;
- useConnectionString = copy.UseConnectionString;
- connectionString = copy.ConnectionString;
- useIntegratedSecurity = copy.UseIntegratedSecurity;
- canUseIntegratedSecurity = copy.canUseIntegratedSecurity;
- }
-
- public string ProviderIdentifier {
- get { return providerIdentifier; }
- set { providerIdentifier = value; }
- }
-
- public string Name {
- get { return name; }
- set { name = value; }
- }
-
- public string Server {
- get { return server; }
- set { server = value; }
- }
-
- public int Port {
- get { return port; }
- set { port = value; }
- }
-
- public string Database {
- get { return database; }
- set { database = value; }
- }
-
- public string Username {
- get { return username; }
- set { username = value; }
- }
-
- public string Password {
- get { return password; }
- set { password = value; }
- }
-
- public bool SavePassword {
- get { return savePassword; }
- set { savePassword = value; }
- }
-
- public int MinPoolSize {
- get { return minPoolSize; }
- set { minPoolSize = value; }
- }
-
- public int MaxPoolSize {
- get { return maxPoolSize; }
- set { maxPoolSize = value; }
- }
-
- public string ConnectionString {
- get { return connectionString; }
- set { connectionString = value; }
- }
-
- public bool UseConnectionString {
- get { return useConnectionString; }
- set { useConnectionString = value; }
- }
- public bool UseIntegratedSecurity {
- get {return useIntegratedSecurity;}
- set {useIntegratedSecurity = value;}
- }
-
- public bool CanUseIntegratedSecurity {
- get {return canUseIntegratedSecurity;}
- set {canUseIntegratedSecurity = value;}
- }
-
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettingsCollection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettingsCollection.cs
deleted file mode 100644
index 65de34265c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DatabaseConnectionSettingsCollection.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Xml.Serialization;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- [Serializable]
- public class DatabaseConnectionSettingsCollection : CollectionBase, IEnumerable<DatabaseConnectionSettings>
- {
- public event EventHandler Changed;
-
- public DatabaseConnectionSettingsCollection ()
- : base ()
- {
- }
-
- public DatabaseConnectionSettings this[int index] {
- get { return List[index] as DatabaseConnectionSettings; }
- set { List[index] = value; }
- }
-
- public int Add (DatabaseConnectionSettings item)
- {
- int retval = List.Add (item);
- OnChanged (EventArgs.Empty);
- return retval;
- }
-
- public int IndexOf (DatabaseConnectionSettings item)
- {
- return List.IndexOf (item);
- }
-
- public void Insert (int index, DatabaseConnectionSettings item)
- {
- List.Insert (index, item);
- OnChanged (EventArgs.Empty);
- }
-
- public void Remove (DatabaseConnectionSettings item)
- {
- List.Remove (item);
- OnChanged (EventArgs.Empty);
- }
-
- public bool Contains (DatabaseConnectionSettings item)
- {
- return List.Contains (item);
- }
-
- IEnumerator<DatabaseConnectionSettings> IEnumerable<DatabaseConnectionSettings>.GetEnumerator ()
- {
- foreach (DatabaseConnectionSettings cs in this)
- yield return cs;
- }
-
- protected virtual void OnChanged (EventArgs e)
- {
- if (Changed != null )
- Changed (this, e);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DuplicatedConnectionContextException.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DuplicatedConnectionContextException.cs
deleted file mode 100644
index 786d5188e6..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Configuration/DuplicatedConnectionContextException.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// ConnectionContextDuplicatedException.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
-
- public class DuplicatedConnectionContextException:Exception
- {
-
- public DuplicatedConnectionContextException ()
- {
- }
-
- public DuplicatedConnectionContextException (string message):base (message)
- {
-
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionContextService.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionContextService.cs
deleted file mode 100644
index a5f2340ec1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionContextService.cs
+++ /dev/null
@@ -1,175 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2005 Christian Hergert
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.IO;
-using System.Text;
-using System.Xml.Serialization;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Core;
-using System.Linq;
-
-namespace MonoDevelop.Database.Sql
-{
- public static class ConnectionContextService
- {
- public static event DatabaseConnectionContextEventHandler ConnectionContextAdded;
- public static event DatabaseConnectionContextEventHandler ConnectionContextRemoved;
- public static event DatabaseConnectionContextEventHandler ConnectionContextEdited;
- public static event DatabaseConnectionContextEventHandler ConnectionContextRefreshed;
-
- private static DatabaseConnectionContextCollection contexts;
-
- private static string configFile = null;
-
- static ConnectionContextService ()
- {
- configFile = Path.Combine (UserProfile.Current.ConfigDir, "MonoDevelop.Database.ConnectionManager.xml");
- Initialize (configFile);
- }
-
- public static DatabaseConnectionContextCollection DatabaseConnections {
- get { return contexts; }
- }
-
- public static DatabaseConnectionContext AddDatabaseConnectionContext (DatabaseConnectionSettings settings)
- {
- if (settings == null)
- throw new ArgumentNullException ("settings");
-
- DatabaseConnectionContext context = new DatabaseConnectionContext (settings);
- AddDatabaseConnectionContext (context);
- return context;
- }
-
- public static void AddDatabaseConnectionContext (DatabaseConnectionContext context)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
-
- if (!DatabaseConnectionContextExist (context.ConnectionSettings)) {
- contexts.Add (context);
- Save ();
- if (ConnectionContextAdded != null)
- ConnectionContextAdded (null, new DatabaseConnectionContextEventArgs (context));
- } else
- throw new DuplicatedConnectionContextException (context.ConnectionSettings.Name);
- }
-
- public static bool DatabaseConnectionContextExist (DatabaseConnectionSettings settings)
- {
- var existsContext = from c in contexts
- where c.ConnectionSettings.Name.ToLower () == settings.Name.ToLower ()
- select c;
- return existsContext.Count () > 0;
- }
-
- public static void RemoveDatabaseConnectionContext (DatabaseConnectionContext context)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
-
- contexts.Remove (context);
- Save ();
- if (ConnectionContextRemoved != null)
- ConnectionContextRemoved (null, new DatabaseConnectionContextEventArgs (context));
- }
-
- public static void EditDatabaseConnectionContext (DatabaseConnectionContext context)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
-
- Save ();
- if (ConnectionContextEdited != null)
- ConnectionContextEdited (null, new DatabaseConnectionContextEventArgs (context));
- }
-
- internal static void Initialize (string configFile)
- {
- DatabaseConnectionSettingsCollection connections = null;
- if (File.Exists (configFile)) {
- try {
- using (FileStream fs = File.OpenRead (configFile)) {
- XmlSerializer serializer = new XmlSerializer (typeof (DatabaseConnectionSettingsCollection));
- connections = (DatabaseConnectionSettingsCollection) serializer.Deserialize (fs);
- }
- } catch {
- LoggingService.LogError (AddinCatalog.GetString ("Unable to load stored SQL connection information."));
- File.Delete (configFile);
- }
- }
-
- contexts = new DatabaseConnectionContextCollection ();
- if (connections != null) {
- StringBuilder sb = new StringBuilder ();
- foreach (DatabaseConnectionSettings settings in connections) {
- IDbFactory fac = DbFactoryService.GetDbFactory (settings);
- if (fac == null) {
- sb.Append ("Error: unable to load database provider '");
- sb.Append (settings.ProviderIdentifier);
- sb.Append ("' for connection '");
- sb.Append (settings.Name);
- sb.Append ("'");
- sb.Append (Environment.NewLine);
- continue;
- }
-
- contexts.Add (new DatabaseConnectionContext (settings));
- }
-
- if (sb.Length > 0) {
- Exception ex = new Exception (sb.ToString ());
- QueryService.RaiseException (ex);
- }
- }
- }
-
- public static void Save ()
- {
- //temporarily empty all passwords that don't need to be saved
- Dictionary<DatabaseConnectionSettings, string> tmp = new Dictionary<DatabaseConnectionSettings,string> ();
- DatabaseConnectionSettingsCollection collection = new DatabaseConnectionSettingsCollection ();
- foreach (DatabaseConnectionContext context in contexts) {
- if (!context.ConnectionSettings.SavePassword) {
- tmp.Add (context.ConnectionSettings, context.ConnectionSettings.Password);
- context.ConnectionSettings.Password = null;
- }
- collection.Add (context.ConnectionSettings);
- }
-
- using (FileStream fs = new FileStream (configFile, FileMode.Create)) {
- XmlSerializer serializer = new XmlSerializer (typeof (DatabaseConnectionSettingsCollection));
- serializer.Serialize (fs, collection);
- }
-
- foreach (KeyValuePair<DatabaseConnectionSettings, string> pair in tmp)
- pair.Key.Password = pair.Value;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/AbstractPooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/AbstractPooledDbConnection.cs
deleted file mode 100644
index a5b3799877..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/AbstractPooledDbConnection.cs
+++ /dev/null
@@ -1,326 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Threading;
-using System.Collections.Generic;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractPooledDbConnection : IPooledDbConnection
- {
- protected IConnectionPool connectionPool;
- protected IDbConnection connection;
-
- protected bool disposed = false;
-
- protected AbstractPooledDbConnection (IConnectionPool connectionPool, IDbConnection connection)
- {
- this.connectionPool = connectionPool;
- this.connection = connection;
- }
-
- public virtual IConnectionPool ConnectionPool {
- get { return connectionPool; }
- }
-
- public virtual IDbConnection DbConnection {
- get { return connection; }
- }
-
- public virtual bool IsOpen {
- get { return connection.State == ConnectionState.Open; }
- }
-
- public abstract Version DatabaseVersion { get; }
-
- public virtual void Release ()
- {
- connectionPool.Release (this);
- }
-
- public virtual void Destroy ()
- {
- connection.Close ();
- connection.Dispose ();
- connection = null;
- }
-
- public void Dispose ()
- {
- Dispose (true);
- GC.SuppressFinalize (this);
- }
-
- protected virtual void Dispose (bool disposing)
- {
- if (!this.disposed) {
- if (disposing)
- Destroy ();
- disposed = true;
- }
- }
-
- public virtual IDbCommand CreateCommand (IStatement statement)
- {
- if (statement == null)
- throw new ArgumentNullException ("statement");
-
- string sql = connectionPool.DbFactory.Dialect.GetSql (statement);
- LoggingService.LogDebug ("Statement = {0}", sql);
-
- IDbCommand command = connection.CreateCommand ();
- command.CommandType = CommandType.Text;
- command.CommandText = sql;
- return command;
- }
-
- public virtual IDbCommand CreateCommand (string sql)
- {
- if (sql == null)
- throw new ArgumentNullException ("sql");
-
- IDbCommand command = connection.CreateCommand ();
- command.CommandType = CommandType.Text;
- command.CommandText = sql;
- return command;
- }
-
- public virtual IDbCommand CreateStoredProcedure (string procedure)
- {
- if (procedure == null)
- throw new ArgumentNullException ("procedure");
-
- IDbCommand command = connection.CreateCommand ();
- command.CommandType = CommandType.StoredProcedure;
- command.CommandText = procedure;
- return command;
- }
-
- public virtual int ExecuteNonQuery (string sql)
- {
- if (String.IsNullOrEmpty (sql))
- throw new ArgumentNullException ("sql");
-
- int result = -1;
- using (IDbCommand command = CreateCommand (sql))
- result = ExecuteNonQuery (command);
- return result;
- }
-
- public virtual object ExecuteScalar (string sql)
- {
- if (String.IsNullOrEmpty (sql))
- throw new ArgumentNullException ("sql");
-
- object result = null;
- using (IDbCommand command = CreateCommand (sql))
- result = ExecuteScalar (command);
- return result;
- }
-
- public virtual IDataReader ExecuteReader (string sql)
- {
- if (String.IsNullOrEmpty (sql))
- throw new ArgumentNullException ("sql");
-
- IDataReader result = null;
- using (IDbCommand command = CreateCommand (sql))
- result = ExecuteReader (command);
- return result;
- }
-
- public virtual DataSet ExecuteSet (string sql)
- {
- if (String.IsNullOrEmpty (sql))
- throw new ArgumentNullException ("sql");
-
- DataSet result = null;
- using (IDbCommand command = CreateCommand (sql))
- result = ExecuteSet (command);
- return result;
- }
-
- public virtual DataTable ExecuteTable (string sql)
- {
- if (String.IsNullOrEmpty (sql))
- throw new ArgumentNullException ("sql");
-
- DataTable result = null;
- using (IDbCommand command = CreateCommand (sql))
- result = ExecuteTable (command);
- return result;
- }
-
- public virtual int ExecuteNonQuery (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
- return command.ExecuteNonQuery ();
- }
-
- public virtual object ExecuteScalar (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
-
- try {
- return command.ExecuteScalar ();
- } catch (Exception e) {
- QueryService.RaiseException (e);
- return null;
- }
- }
-
- public virtual IDataReader ExecuteReader (IDbCommand command)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
-
- try {
- return command.ExecuteReader ();
- } catch (Exception e) {
- QueryService.RaiseException (e);
- return null;
- }
- }
-
- public abstract DataSet ExecuteSet (IDbCommand command);
- public abstract DataTable ExecuteTable (IDbCommand command);
-
- public virtual void ExecuteNonQueryAsync (IDbCommand command, ExecuteCallback<int> callback, object state)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
- if (callback == null)
- throw new ArgumentNullException ("callback");
-
- AsyncExecuteState<int> internalState = new AsyncExecuteState<int> (command, callback, state);
- ThreadPool.QueueUserWorkItem (new WaitCallback (ExecuteNonQueryThreaded), internalState);
- }
-
- public virtual void ExecuteScalarAsync (IDbCommand command, ExecuteCallback<object> callback, object state)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
- if (callback == null)
- throw new ArgumentNullException ("callback");
-
- AsyncExecuteState<object> internalState = new AsyncExecuteState<object> (command, callback, state);
- ThreadPool.QueueUserWorkItem (new WaitCallback (ExecuteScalarThreaded), internalState);
- }
-
- public virtual void ExecuteReaderAsync (IDbCommand command, ExecuteCallback<IDataReader> callback, object state)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
- if (callback == null)
- throw new ArgumentNullException ("callback");
-
- AsyncExecuteState<IDataReader> internalState = new AsyncExecuteState<IDataReader> (command, callback, state);
- ThreadPool.QueueUserWorkItem (new WaitCallback (ExecuteReaderThreaded), internalState);
- }
-
- public virtual void ExecuteSetAsync (IDbCommand command, ExecuteCallback<DataSet> callback, object state)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
- if (callback == null)
- throw new ArgumentNullException ("callback");
-
- AsyncExecuteState<DataSet> internalState = new AsyncExecuteState<DataSet> (command, callback, state);
- ThreadPool.QueueUserWorkItem (new WaitCallback (ExecuteSetThreaded), internalState);
- }
-
- public virtual void ExecuteTableAsync (IDbCommand command, ExecuteCallback<DataTable> callback, object state)
- {
- if (command == null)
- throw new ArgumentNullException ("command");
- if (callback == null)
- throw new ArgumentNullException ("callback");
-
- AsyncExecuteState<DataTable> internalState = new AsyncExecuteState<DataTable> (command, callback, state);
- ThreadPool.QueueUserWorkItem (new WaitCallback (ExecuteTableThreaded), internalState);
- }
-
- public abstract DataTable GetSchema (string collectionName, params string[] restrictionValues);
-
- private void ExecuteNonQueryThreaded (object state)
- {
- AsyncExecuteState<int> internalState = state as AsyncExecuteState<int>;
-
- int result = ExecuteNonQuery (internalState.Command);
- internalState.Callback (this, result, internalState.State);
- }
-
- private void ExecuteScalarThreaded (object state)
- {
- AsyncExecuteState<object> internalState = state as AsyncExecuteState<object>;
-
- object result = ExecuteScalar (internalState.Command);
- internalState.Callback (this, result, internalState.State);
- }
-
- private void ExecuteReaderThreaded (object state)
- {
- AsyncExecuteState<IDataReader> internalState = state as AsyncExecuteState<IDataReader>;
-
- IDataReader result = ExecuteReader (internalState.Command);
- internalState.Callback (this, result, internalState.State);
- }
-
- private void ExecuteSetThreaded (object state)
- {
- AsyncExecuteState<DataSet> internalState = state as AsyncExecuteState<DataSet>;
-
- DataSet result = ExecuteSet (internalState.Command);
- internalState.Callback (this, result, internalState.State);
- }
-
- private void ExecuteTableThreaded (object state)
- {
- AsyncExecuteState<DataTable> internalState = state as AsyncExecuteState<DataTable>;
-
- DataTable result = ExecuteTable (internalState.Command);
- internalState.Callback (this, result, internalState.State);
- }
- }
-
- internal class AsyncExecuteState<T>
- {
- public AsyncExecuteState (IDbCommand command, ExecuteCallback<T> callback, object state)
- {
- Command = command;
- Callback = callback;
- State = state;
- }
-
- public IDbCommand Command;
- public ExecuteCallback<T> Callback;
- public object State;
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/DefaultConnectionPool.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/DefaultConnectionPool.cs
deleted file mode 100644
index 144bd433c3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/DefaultConnectionPool.cs
+++ /dev/null
@@ -1,275 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DefaultConnectionPool : IConnectionPool
- {
- protected int minSize = 1;
- protected int maxSize = 20;
- protected int growSize = 3;
- protected int shrinkSize = 5;
-
- protected bool hasErrors;
- protected string error;
-
- protected IDbFactory factory;
- protected DatabaseConnectionContext context;
- protected IConnectionProvider connectionProvider;
-
- protected bool hasVersion;
- protected Version databaseVersion;
-
- protected bool isInitialized;
-
- protected List<IPooledDbConnection> connections;
- protected Queue<IPooledDbConnection> freeConnections;
-
- protected object sync = new object ();
-
- public DefaultConnectionPool (IDbFactory factory, IConnectionProvider connectionProvider, DatabaseConnectionContext context)
- {
- if (factory == null)
- throw new ArgumentNullException ("factory");
- if (connectionProvider == null)
- throw new ArgumentNullException ("connectionProvider");
- if (context == null)
- throw new ArgumentNullException ("context");
-
- this.factory = factory;
- this.connectionProvider = connectionProvider;
- this.context = context;
-
- connections = new List<IPooledDbConnection> ();
- freeConnections = new Queue<IPooledDbConnection> ();
- }
-
- public virtual IDbFactory DbFactory {
- get { return factory; }
- }
-
- public virtual DatabaseConnectionContext ConnectionContext {
- get { return context; }
- }
-
- public virtual IConnectionProvider ConnectionProvider {
- get { return connectionProvider; }
- }
-
- public virtual bool IsInitialized {
- get { return isInitialized; }
- }
-
- public virtual bool HasErrors {
- get { return hasErrors; }
- }
-
- public virtual string Error {
- get { return error; }
- }
-
- public virtual bool HasVersion {
- get { return hasVersion; }
- }
-
- public virtual Version DatabaseVersion {
- get { return databaseVersion; }
- }
-
- public virtual int MinSize {
- get { return minSize; }
- set {
- if (value < 1 || value > maxSize)
- throw new IndexOutOfRangeException ("MinSize");
- minSize = value;
- }
- }
-
- public virtual int MaxSize {
- get { return maxSize; }
- set {
- if (value < minSize)
- throw new IndexOutOfRangeException ("MaxSize");
- maxSize = value;
- }
- }
-
- public virtual int GrowSize {
- get { return growSize; }
- set {
- if (value < 1 || value > 10)
- throw new IndexOutOfRangeException ("GrowSize");
- growSize = value;
- }
- }
-
- public virtual int ShrinkSize {
- get { return shrinkSize; }
- set {
- if (value < 1 || value > 10)
- throw new IndexOutOfRangeException ("GrowSize");
- shrinkSize = value;
- }
- }
-
- public virtual int ConnectionCount {
- get {
- lock (sync)
- return connections.Count + freeConnections.Count;
- }
- }
-
- public virtual int FreeConnectionCount {
- get {
- lock (sync)
- return freeConnections.Count;
- }
- }
-
- public virtual bool HasFreeConnection {
- get {
- lock (sync)
- return freeConnections.Count > 0;
- }
- }
-
- public virtual IPooledDbConnection Request ()
- {
- IPooledDbConnection conn = null;
- if (HasFreeConnection) {
- lock (sync) {
- conn = freeConnections.Dequeue ();
- connections.Add (conn);
- }
- } else {
- if (Grow ())
- conn = Request ();
- else
- conn = null;
- }
- return conn;
- }
-
- public virtual void Release (IPooledDbConnection connection)
- {
- if (connection == null)
- return;
-
- lock (sync) {
- if (!freeConnections.Contains (connection))
- return;
-
- if (connectionProvider.CheckConnection (connection, context.ConnectionSettings))
- freeConnections.Enqueue (connection);
- connections.Remove (connection);
- }
- Shrink ();
- }
-
- public virtual bool Initialize ()
- {
- if (isInitialized)
- return true;
-
- isInitialized = CreateNewConnections (minSize);
- if (!isInitialized)
- Cleanup ();
-
- return isInitialized;
- }
-
- protected virtual bool CreateNewConnections (int count)
- {
- for (int i=0; i<count; i++) {
- if (!CreateNewConnection ())
- return false;
- }
- return true;
- }
-
- protected virtual bool CreateNewConnection ()
- {
- IPooledDbConnection conn = connectionProvider.CreateConnection (this, context.ConnectionSettings, out error);
- if (conn == null || !conn.IsOpen) {
- hasErrors = true;
- return false;
- }
-
- if (!hasVersion) {
- databaseVersion = conn.DatabaseVersion;
- hasVersion = true;
- }
-
- hasErrors = false;
- lock (sync)
- freeConnections.Enqueue (conn);
-
- return true;
- }
-
- public virtual void Close ()
- {
- Cleanup ();
- isInitialized = false;
- hasErrors = false;
- error = null;
- hasVersion = false;
- }
-
- protected virtual void Cleanup ()
- {
- lock (sync) {
- foreach (IPooledDbConnection conn in connections)
- conn.Dispose ();
- foreach (IPooledDbConnection conn in freeConnections)
- conn.Dispose ();
- }
- }
-
- protected virtual bool Grow ()
- {
- return CreateNewConnections (growSize);
- }
-
- protected virtual void Shrink ()
- {
- if (FreeConnectionCount < shrinkSize)
- return;
-
- for (int i=0; i<shrinkSize; i++) {
- if (HasFreeConnection) {
- lock (sync) {
- IPooledDbConnection conn = freeConnections.Dequeue ();
- conn.Dispose ();
- }
- }
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/FakeConnectionPool.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/FakeConnectionPool.cs
deleted file mode 100644
index 7f7ee7adaf..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/FakeConnectionPool.cs
+++ /dev/null
@@ -1,175 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class FakeConnectionPool : IConnectionPool
- {
- protected IDbFactory factory;
- protected DatabaseConnectionContext context;
- protected IConnectionProvider connectionProvider;
-
- protected IPooledDbConnection connection;
- protected bool inUse = false;
-
- protected bool hasVersion;
- protected Version databaseVersion;
-
- protected bool hasErrors;
- protected string error;
-
- protected bool isInitialized;
-
- public FakeConnectionPool (IDbFactory factory, IConnectionProvider connectionProvider, DatabaseConnectionContext context)
- {
- if (factory == null)
- throw new ArgumentNullException ("factory");
- if (connectionProvider == null)
- throw new ArgumentNullException ("connectionProvider");
- if (context == null)
- throw new ArgumentNullException ("context");
-
- this.factory = factory;
- this.connectionProvider = connectionProvider;
- this.context = context;
- }
-
- public virtual IDbFactory DbFactory {
- get { return factory; }
- }
-
- public virtual DatabaseConnectionContext ConnectionContext {
- get { return context; }
- }
-
- public virtual IConnectionProvider ConnectionProvider {
- get { return connectionProvider; }
- }
-
- public virtual bool IsInitialized {
- get { return isInitialized; }
- }
-
- public virtual bool HasErrors {
- get { return hasErrors; }
- }
-
- public virtual string Error {
- get { return error; }
- }
-
- public virtual bool HasVersion {
- get { return hasVersion; }
- }
-
- public virtual Version DatabaseVersion {
- get { return databaseVersion; }
- }
-
- public virtual int MinSize {
- get { return 1; }
- set { throw new NotSupportedException (); }
- }
-
- public virtual int MaxSize {
- get { return 1; }
- set { throw new NotSupportedException (); }
- }
-
- public virtual int GrowSize {
- get { throw new NotSupportedException (); }
- set { throw new NotSupportedException (); }
- }
-
- public virtual int ShrinkSize {
- get { throw new NotSupportedException (); }
- set { throw new NotSupportedException (); }
- }
-
- public virtual int ConnectionCount {
- get { return 1; }
- }
-
- public virtual int FreeConnectionCount {
- get { return (connection == null || (connection.IsOpen && !inUse)) ? 1 : 0; }
- }
-
- public virtual bool HasFreeConnection {
- get { return FreeConnectionCount == 1; }
- }
-
- public virtual IPooledDbConnection Request ()
- {
- Initialize (); //this does nothing when already initialized, so it's safe to call every time
-
- if (HasFreeConnection) {
- inUse = true;
- return connection;
- } else {
- throw new InvalidOperationException ("No connection available.");
- }
- }
-
- public virtual void Release (IPooledDbConnection connection)
- {
- if (this.connection == connection && connection != null)
- inUse = false;
- }
-
- public virtual bool Initialize ()
- {
- if (isInitialized)
- return true;
-
- connection = connectionProvider.CreateConnection (this, context.ConnectionSettings, out error);
- if (connection == null) {
- hasErrors = true;
- return false;
- }
- if (!hasVersion) {
- databaseVersion = connection.DatabaseVersion;
- hasVersion = true;
- }
-
- hasErrors = false;
- isInitialized = true;
- return true;
- }
-
- public virtual void Close ()
- {
- if (connection != null)
- connection.Dispose ();
- hasVersion = false;
- hasErrors = false;
- error = null;
- isInitialized = false;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IConnectionPool.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IConnectionPool.cs
deleted file mode 100644
index 847c79d122..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IConnectionPool.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IConnectionPool
- {
- IDbFactory DbFactory { get; }
- DatabaseConnectionContext ConnectionContext { get; }
-
- bool HasVersion { get; }
- Version DatabaseVersion { get; }
-
- bool IsInitialized { get; }
- bool HasErrors { get; }
-
- string Error { get; }
-
- int MinSize { get; set; }
- int MaxSize { get; set; }
-
- int GrowSize { get; set; }
- int ShrinkSize { get; set; }
-
- int ConnectionCount { get; }
- int FreeConnectionCount { get; }
-
- bool HasFreeConnection { get; }
-
- IPooledDbConnection Request ();
- void Release (IPooledDbConnection connection);
-
- bool Initialize ();
- void Close ();
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IPooledDbConnection.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IPooledDbConnection.cs
deleted file mode 100644
index 10909537c2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/IPooledDbConnection.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public delegate void ExecuteCallback<T> (IPooledDbConnection connection, T result, object state);
-
- public interface IPooledDbConnection : IDisposable
- {
- IConnectionPool ConnectionPool { get; }
-
- IDbConnection DbConnection { get; }
-
- bool IsOpen { get; }
-
- Version DatabaseVersion { get; }
-
- void Release ();
-
- void Destroy ();
-
- IDbCommand CreateCommand (IStatement statement);
- IDbCommand CreateCommand (string sql);
-
- IDbCommand CreateStoredProcedure (string sql);
-
- int ExecuteNonQuery (string sql);
- object ExecuteScalar (string sql);
- IDataReader ExecuteReader (string sql);
- DataSet ExecuteSet (string sql);
- DataTable ExecuteTable (string sql);
-
- int ExecuteNonQuery (IDbCommand command);
- object ExecuteScalar (IDbCommand command);
- IDataReader ExecuteReader (IDbCommand command);
- DataSet ExecuteSet (IDbCommand command);
- DataTable ExecuteTable (IDbCommand command);
-
- void ExecuteNonQueryAsync (IDbCommand command, ExecuteCallback<int> callback, object state);
- void ExecuteScalarAsync (IDbCommand command, ExecuteCallback<object> callback, object state);
- void ExecuteReaderAsync (IDbCommand command, ExecuteCallback<IDataReader> callback, object state);
- void ExecuteSetAsync (IDbCommand command, ExecuteCallback<DataSet> callback, object state);
- void ExecuteTableAsync (IDbCommand command, ExecuteCallback<DataTable> callback, object state);
-
- DataTable GetSchema (string collectionName, params string[] restrictionValues);
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledCommand.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledCommand.cs
deleted file mode 100644
index 0d508b74b2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledCommand.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class PooledCommand : IDbCommand
- {
- private IPooledDbConnection connection;
- private IDbCommand command;
-
- public PooledCommand (IPooledDbConnection connection, IDbCommand command)
- {
- if (connection == null)
- throw new ArgumentNullException ("connection");
- if (command == null)
- throw new ArgumentNullException ("command");
-
- this.connection = connection;
- this.command = command;
- }
-
- public string CommandText {
- get { return command.CommandText; }
- set { command.CommandText = value; }
- }
-
- public int CommandTimeout {
- get { return command.CommandTimeout; }
- set { command.CommandTimeout = value; }
- }
-
- public CommandType CommandType {
- get { return command.CommandType; }
- set { command.CommandType = value; }
- }
-
- public IDbConnection Connection {
- get { return command.Connection; }
- set { command.Connection = value; }
- }
-
- public IDataParameterCollection Parameters {
- get { return command.Parameters; }
- }
-
- public IDbTransaction Transaction {
- get { return command.Transaction; }
- set { command.Transaction = value; }
- }
-
- public UpdateRowSource UpdatedRowSource {
- get { return command.UpdatedRowSource; }
- set { command.UpdatedRowSource = value; }
- }
-
- public void Dispose ()
- {
- command.Dispose ();
- connection.Release ();
- }
-
- public void Cancel ()
- {
- command.Cancel ();
- }
-
- public IDbDataParameter CreateParameter ()
- {
- return command.CreateParameter ();
- }
-
- public int ExecuteNonQuery ()
- {
- return command.ExecuteNonQuery ();
- }
-
- public IDataReader ExecuteReader ()
- {
- return command.ExecuteReader ();
- }
-
- public IDataReader ExecuteReader (CommandBehavior behavior)
- {
- return command.ExecuteReader (behavior);
- }
-
- public object ExecuteScalar ()
- {
- return command.ExecuteScalar ();
- }
-
- public void Prepare ()
- {
- command.Prepare ();
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledDataReader.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledDataReader.cs
deleted file mode 100644
index 93adcc6200..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/ConnectionPool/PooledDataReader.cs
+++ /dev/null
@@ -1,225 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public sealed class PooledDataReader : IDataReader
- {
- private IPooledDbConnection connection;
- private IDataReader reader;
-
- public PooledDataReader (IPooledDbConnection connection, IDataReader reader)
- {
- if (connection == null)
- throw new ArgumentNullException ("connection");
- if (reader == null)
- throw new ArgumentNullException ("reader");
-
- this.connection = connection;
- this.reader = reader;
- }
-
- public IPooledDbConnection Connection
- {
- get { return connection; }
- }
-
- public IDataReader DataReader
- {
- get { return reader; }
- }
-
- public void Dispose ()
- {
- reader.Dispose ();
- connection.Release ();
- }
-
- public void Close ()
- {
- connection.Release ();
- reader.Close ();
- }
-
- public int Depth
- {
- get { return reader.Depth; }
- }
-
- public DataTable GetSchemaTable ()
- {
- return reader.GetSchemaTable ();
- }
-
- public bool IsClosed
- {
- get { return reader.IsClosed; }
- }
-
- public bool NextResult ()
- {
- return reader.NextResult ();
- }
-
- public bool Read ()
- {
- return reader.Read ();
- }
-
- public int RecordsAffected
- {
- get { return reader.RecordsAffected; }
- }
-
- public int FieldCount
- {
- get { return reader.FieldCount; }
- }
-
- public bool GetBoolean (int i)
- {
- return reader.GetBoolean (i);
- }
-
- public byte GetByte (int i)
- {
- return reader.GetByte (i);
- }
-
- public long GetBytes (int i, long fieldOffset, byte[] buffer, int bufferoffset, int length)
- {
- return reader.GetBytes (i, fieldOffset, buffer, bufferoffset, length);
- }
-
- public char GetChar (int i)
- {
- return reader.GetChar (i);
- }
-
- public long GetChars (int i, long fieldoffset, char[] buffer, int bufferoffset, int length)
- {
- return reader.GetChars (i, fieldoffset, buffer, bufferoffset, length);
- }
-
- public IDataReader GetData (int i)
- {
- return reader.GetData (i);
- }
-
- public string GetDataTypeName (int i)
- {
- return reader.GetDataTypeName (i);
- }
-
- public DateTime GetDateTime (int i)
- {
- return reader.GetDateTime (i);
- }
-
- public decimal GetDecimal (int i)
- {
- return reader.GetDecimal (i);
- }
-
- public double GetDouble (int i)
- {
- return reader.GetDouble (i);
- }
-
- public Type GetFieldType (int i)
- {
- return reader.GetFieldType (i);
- }
-
- public float GetFloat (int i)
- {
- return reader.GetFloat (i);
- }
-
- public Guid GetGuid (int i)
- {
- return reader.GetGuid (i);
- }
-
- public short GetInt16 (int i)
- {
- return reader.GetInt16 (i);
- }
-
- public int GetInt32 (int i)
- {
- return reader.GetInt32 (i);
- }
-
- public long GetInt64 (int i)
- {
- return reader.GetInt64 (i);
- }
-
- public string GetName (int i)
- {
- return reader.GetName (i);
- }
-
- public int GetOrdinal (string name)
- {
- return reader.GetOrdinal (name);
- }
-
- public string GetString (int i)
- {
- return reader.GetString (i);
- }
-
- public object GetValue (int i)
- {
- return reader.GetValue (i);
- }
-
- public int GetValues (object[] values)
- {
- return reader.GetValues (values);
- }
-
- public bool IsDBNull (int i)
- {
- return reader.IsDBNull (i);
- }
-
- public object this[string name]
- {
- get { return reader[name]; }
- }
-
- public object this[int i]
- {
- get { return reader[i]; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/DbFactoryService.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/DbFactoryService.cs
deleted file mode 100644
index 87fbc6ea3c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/DbFactoryService.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Core;
-
-namespace MonoDevelop.Database.Sql
-{
- public static class DbFactoryService
- {
- private static Dictionary<string, IDbFactory> factories;
-
- static DbFactoryService ()
- {
- factories = new Dictionary<string, IDbFactory> ();
- foreach (DbFactoryCodon codon in AddinManager.GetExtensionNodes ("/MonoDevelop/Database/Sql")) {
- IDbFactory fac = codon.DbFactory;
- if (fac != null) {
- factories.Add (fac.Identifier, fac);
- LoggingService.LogDebug ("DB FACTORY: " + fac.Identifier);
- }
- }
- }
-
- public static IEnumerable<IDbFactory> DbFactories {
- get { return factories.Values; }
- }
-
- public static int DbFactoryCount {
- get { return factories.Count; }
- }
-
- public static IDbFactory GetDbFactory (string id)
- {
- if (id == null)
- throw new ArgumentNullException ("id");
-
- IDbFactory fac = null;
- if (factories.TryGetValue (id, out fac))
- return fac;
- return null;
- }
-
- public static IDbFactory GetDbFactory (DatabaseConnectionSettings settings)
- {
- if (settings == null)
- throw new ArgumentNullException ("settings");
-
- return GetDbFactory (settings.ProviderIdentifier);
- }
-
- public static IConnectionPool CreateConnectionPool (DatabaseConnectionContext context)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
-
- IDbFactory fac = GetDbFactory (context.ConnectionSettings);
- if (fac != null)
- return fac.CreateConnectionPool (context);
- return null;
- }
-
- public static ISchemaProvider CreateSchemaProvider (DatabaseConnectionContext context, IConnectionPool pool)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
- if (pool == null)
- throw new ArgumentNullException ("pool");
-
- IDbFactory fac = GetDbFactory (context.ConnectionSettings);
- if (fac != null)
- return fac.CreateSchemaProvider (pool);
- return null;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/AbstractSqlDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/AbstractSqlDialect.cs
deleted file mode 100644
index 9d801c0a41..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/AbstractSqlDialect.cs
+++ /dev/null
@@ -1,488 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractSqlDialect : ISqlDialect
- {
- public abstract string QuoteIdentifier (string identifier);
-
- public abstract string MarkAsParameter (string identifier);
-
- public virtual string GetSql (IStatement statement)
- {
- if (statement == null)
- throw new ArgumentNullException ("statement");
-
- Type type = statement.GetType ();
- if (type == typeof (SelectStatement))
- return GetStatementSql (statement as SelectStatement);
- else if (type == typeof (InsertStatement))
- return GetStatementSql (statement as InsertStatement);
- else if (type == typeof (UpdateStatement))
- return GetStatementSql (statement as UpdateStatement);
- else if (type == typeof (DeleteStatement))
- return GetStatementSql (statement as DeleteStatement);
- else if (type == typeof (DropStatement))
- return GetStatementSql (statement as DropStatement);
- else if (type == typeof (TruncateStatement))
- return GetStatementSql (statement as TruncateStatement);
- else
- throw new NotImplementedException (type.FullName);
- }
-
- public virtual string GetSql (IClause clause)
- {
- if (clause == null)
- throw new ArgumentNullException ("clause");
-
- Type type = clause.GetType ();
- if (type == typeof (FromSelectClause))
- return GetClauseSql (clause as FromSelectClause);
- else if (type == typeof (FromTableClause))
- return GetClauseSql (clause as FromTableClause);
- else if (type == typeof (WhereClause))
- return GetClauseSql (clause as WhereClause);
- else if (type == typeof (HavingClause))
- return GetClauseSql (clause as HavingClause);
- else if (type == typeof (JoinClause))
- return GetClauseSql (clause as JoinClause);
- else if (type == typeof (OrderByClause))
- return GetClauseSql (clause as OrderByClause);
- else if (type == typeof (GroupByClause))
- return GetClauseSql (clause as GroupByClause);
- else if (type == typeof (UnionClause))
- return GetClauseSql (clause as UnionClause);
- else
- throw new NotImplementedException (type.FullName);
- }
-
- public virtual string GetSql (IExpression expr)
- {
- if (expr == null)
- throw new ArgumentNullException ("expr");
-
- Type type = expr.GetType ();
- if (type == typeof (AliasedIdentifierExpression))
- return GetExpressionSql (expr as AliasedIdentifierExpression);
- else if (type == typeof (IdentifierExpression))
- return GetExpressionSql (expr as IdentifierExpression);
- else if (type == typeof (BooleanExpression))
- return GetExpressionSql (expr as BooleanExpression);
- else if (type == typeof (OperatorExpression))
- return GetExpressionSql (expr as OperatorExpression);
- else if (type == typeof (ParameterExpression))
- return GetExpressionSql (expr as ParameterExpression);
- else
- throw new NotImplementedException (type.FullName);
- }
-
- public virtual string GetSql (ILiteral literal)
- {
- if (literal == null)
- throw new ArgumentNullException ("literal");
-
- Type type = literal.GetType ();
- if (type == typeof (StringLiteral))
- return GetLiteralSql (literal as StringLiteral);
- else if (type == typeof (NumericLiteral))
- return GetLiteralSql (literal as NumericLiteral);
- else if (type == typeof (BooleanLiteral))
- return GetLiteralSql (literal as BooleanLiteral);
- else if (type == typeof (NullLiteral))
- return GetLiteralSql (literal as NullLiteral);
- else if (type == typeof (TrueLiteral))
- return GetLiteralSql (literal as TrueLiteral);
- else if (type == typeof (FalseLiteral))
- return GetLiteralSql (literal as FalseLiteral);
- else if (type == typeof (HexLiteral))
- return GetLiteralSql (literal as HexLiteral);
- else if (type == typeof (BitLiteral))
- return GetLiteralSql (literal as BitLiteral);
- else
- throw new NotImplementedException (type.FullName);
- }
-
- protected virtual string GetStatementSql (SelectStatement statement)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("SELECT ");
- bool first = true;
- foreach (IdentifierExpression expr in statement.Columns) {
- if (first)
- first = false;
- else
- sb.Append (',');
-
- sb.Append (GetSql (expr));
- }
-
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- sb.Append (GetSql (statement.From));
-
- if (statement.Where != null) {
- sb.Append (GetSql (statement.Where));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- if (statement.OrderBy != null) {
- sb.Append (GetSql (statement.OrderBy));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- if (statement.GroupBy != null) {
- sb.Append (GetSql (statement.GroupBy));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- if (statement.Having != null) {
- sb.Append (GetSql (statement.Having));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- if (statement.Union != null) {
- sb.Append (GetSql (statement.Union));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- if (statement.Join != null) {
- sb.Append (GetSql (statement.Join));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- sb.Append (';');
-
- return sb.ToString ();
- }
-
- protected virtual string GetStatementSql (InsertStatement statement)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("INSERT INTO ");
- sb.Append (GetSql (statement.Identifier));
-
- if (statement.Columns.Count > 0) {
- sb.Append (Environment.NewLine);
- sb.Append (" (");
- int columnCount = statement.Columns.Count;
- for (int i=0; i<columnCount; i++) {
- sb.Append (GetSql (statement.Columns[i]));
- sb.Append (i == (columnCount - 1) ? ", " : "");
- }
- sb.Append (")");
- }
-
- sb.Append (Environment.NewLine);
- sb.Append (" VALUES ");
-
- int rowCount = statement.Values.Count;
- for (int j=0; j<rowCount; j++) {
- sb.Append ("(");
- List<IExpression> expr = statement.Values[j];
-
- int columnCount = expr.Count;
- for (int i=0; i<columnCount; i++) {
- sb.Append (GetSql (expr[i]));
- sb.Append (i == (columnCount - 1) ? ", " : "");
- }
-
- sb.Append (")");
- sb.Append (j == (rowCount - 1) ? "," + Environment.NewLine : "");
- }
-
- sb.Append (';');
- return sb.ToString ();
- }
-
- protected virtual string GetStatementSql (UpdateStatement statement)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("UPDATE ");
- sb.Append (GetSql (statement.Identifier));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
-
- sb.Append ("SET ");
-
- int columnCount = statement.Columns.Count;
- for (int i=0; i<columnCount; i++) {
- OperatorExpression expr = new OperatorExpression (statement.Columns[i], Operator.Equals, statement.Values[i]);
- sb.Append (GetExpressionSql (expr));
- sb.Append (i != (columnCount - 1) ? ", " : "");
- }
-
- if (statement.Where != null) {
- sb.Append (GetSql (statement.Where));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- sb.Append (';');
- return sb.ToString ();
- }
-
- protected virtual string GetStatementSql (DeleteStatement statement)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("DELETE ");
- sb.Append (GetSql (statement.From));
-
- if (statement.Where != null) {
- sb.Append (GetSql (statement.Where));
- sb.Append (' ');
- sb.Append (Environment.NewLine);
- }
-
- sb.Append (';');
-
- return sb.ToString ();
- }
-
- protected virtual string GetStatementSql (DropStatement statement)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("DROP ");
- switch (statement.DropType) {
- case DropStatementType.Database:
- sb.Append ("DATABASE ");
- break;
- case DropStatementType.Table:
- sb.Append ("TABLE ");
- break;
- case DropStatementType.Index:
- sb.Append ("INDEX ");
- break;
- case DropStatementType.Procedure:
- sb.Append ("PROCEDURE ");
- break;
- case DropStatementType.View:
- sb.Append ("VIEW ");
- break;
- }
-
- sb.Append (GetSql (statement.Identifier));
- sb.Append (';');
-
- return sb.ToString ();
- }
-
- protected virtual string GetStatementSql (TruncateStatement statement)
- {
- StringBuilder sb = new StringBuilder ();
-
- sb.Append ("TRUNCATE ");
- sb.Append (GetSql (statement.Identifier));
- sb.Append (';');
-
- return sb.ToString ();
- }
-
- protected virtual string GetClauseSql (FromSelectClause clause)
- {
- return String.Concat ("FROM ", GetStatementSql (clause.Source));
- }
-
- protected virtual string GetClauseSql (FromTableClause clause)
- {
- return String.Concat ("FROM ", GetExpressionSql (clause.Source));
- }
-
- protected virtual string GetClauseSql (WhereClause clause)
- {
- return String.Concat ("WHERE ", GetSql (clause.Condition));
- }
-
- protected virtual string GetClauseSql (OrderByClause clause)
- {
- throw new NotImplementedException ();
- }
-
- protected virtual string GetClauseSql (GroupByClause clause)
- {
- throw new NotImplementedException ();
- }
-
- protected virtual string GetClauseSql (UnionClause clause)
- {
- throw new NotImplementedException ();
- }
-
- protected virtual string GetClauseSql (JoinClause clause)
- {
- throw new NotImplementedException ();
- }
-
- protected virtual string GetClauseSql (HavingClause clause)
- {
- throw new NotImplementedException ();
- }
-
- protected virtual string GetLiteralSql (StringLiteral literal)
- {
- return String.Concat ("'", literal.Value, "'");
- }
-
- protected virtual string GetLiteralSql (NumericLiteral literal)
- {
- return literal.Value;
- }
-
- protected virtual string GetLiteralSql (NullLiteral literal)
- {
- return "NULL";
- }
-
- protected virtual string GetLiteralSql (TrueLiteral literal)
- {
- return "TRUE";
- }
-
- protected virtual string GetLiteralSql (FalseLiteral literal)
- {
- return "FALSE";
- }
-
- protected virtual string GetLiteralSql (HexLiteral literal)
- {
- // X'ABCD'
- return String.Concat ("X'", literal.Value, "'");
- }
-
- protected virtual string GetLiteralSql (BitLiteral literal)
- {
- // B'01011010'
- return String.Concat ("B'", literal.Value, "'");
- }
-
- protected virtual string GetLiteralSql (BooleanLiteral literal)
- {
- if (literal.Value)
- return "TRUE";
- return "FALSE";
- }
-
- protected virtual string GetExpressionSql (AliasedIdentifierExpression expr)
- {
- return String.Concat (GetIdentifierName (expr.Name), " AS ", GetIdentifierName (expr.Alias));
- }
-
- protected virtual string GetExpressionSql (IdentifierExpression expr)
- {
- return GetIdentifierName (expr.Name);
- }
-
- protected virtual string GetIdentifierName (string identifier)
- {
- return QuoteIdentifier (identifier);
- }
-
- protected virtual string GetExpressionSql (BooleanExpression expr)
- {
- return String.Concat ("(", GetSql (expr.Left), " ",
- GetOperatorSql (expr.Operator), " ",
- GetSql (expr.Right), ")");
- }
-
- protected virtual string GetExpressionSql (OperatorExpression expr)
- {
- return String.Concat ("(", GetSql (expr.Left), " ",
- GetOperatorSql (expr.Operator), " ",
- GetSql (expr.Right), ")");
- }
-
- protected virtual string GetExpressionSql (ParameterExpression expr)
- {
- return MarkAsParameter (expr.Name);
- }
-
- protected virtual string GetOperatorSql (Operator op)
- {
- switch (op) {
- case Operator.Equals:
- return "=";
- case Operator.NotEqual:
- return "!=";
- case Operator.GreaterThanOrEqual:
- return ">=";
- case Operator.GreaterThan:
- return ">";
- case Operator.LessThanOrEqual:
- return "<=";
- case Operator.LessThan:
- return "<";
- case Operator.Plus:
- return "+";
- case Operator.Minus:
- return "-";
- case Operator.Divide:
- return "/";
- case Operator.Multiply:
- return "*";
- case Operator.Modus:
- return "%";
- case Operator.Is:
- return "IS";
- case Operator.IsNot:
- return "IS NOT";
- case Operator.In:
- return "IN";
- case Operator.Like:
- return "LIKE";
- default:
- throw new NotImplementedException ();
- }
- }
-
- protected virtual string GetOperatorSql (BooleanOperator op)
- {
- bool not = ((op & BooleanOperator.Not) == BooleanOperator.Not);
- bool and = ((op & BooleanOperator.And) == BooleanOperator.And);
- bool or = ((op & BooleanOperator.Or) == BooleanOperator.Or);
-
- if (and)
- if (not) return "AND NOT"; else return "AND";
- else if (or)
- if (not) return "OR NOT"; else return "OR";
- else return "NOT";
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromClause.cs
deleted file mode 100644
index cd99a3f9d8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromClause.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class FromClause : IClause
- {
-
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromSelectClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromSelectClause.cs
deleted file mode 100644
index 45a38cccd3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromSelectClause.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class FromSelectClause : FromClause
- {
- protected SelectStatement source;
-
- public FromSelectClause (SelectStatement source)
- {
- Source = source;
- }
-
- public SelectStatement Source {
- get { return source; }
- set {
- if (value == null)
- throw new ArgumentNullException ("source");
- source = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromTableClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromTableClause.cs
deleted file mode 100644
index f2bfcc8b48..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/FromTableClause.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class FromTableClause : FromClause
- {
- protected IdentifierExpression source;
-
- public FromTableClause (IdentifierExpression source)
- {
- Source = source;
- }
-
- public IdentifierExpression Source {
- get { return source; }
- set {
- if (value == null)
- throw new ArgumentNullException ("source");
- source = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/GroupByClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/GroupByClause.cs
deleted file mode 100644
index 4c38a2cbb4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/GroupByClause.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class GroupByClause : IClause
- {
- //TODO
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/HavingClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/HavingClause.cs
deleted file mode 100644
index 000f77e55d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/HavingClause.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class HavingClause : IClause
- {
- //TODO
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/IClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/IClause.cs
deleted file mode 100644
index 03788ce9b1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/IClause.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IClause
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClause.cs
deleted file mode 100644
index f7dacc4864..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClause.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class JoinClause : IClause
- {
- //TODO
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClauseType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClauseType.cs
deleted file mode 100644
index 8f19baff15..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/JoinClauseType.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum JoinClauseType
- {
- Inner,
- OuterLeft,
- OuterRight,
- OuterFull,
- Cross
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/OrderByClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/OrderByClause.cs
deleted file mode 100644
index ff1ad1ef48..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/OrderByClause.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class OrderByClause : IClause
- {
- //TODO
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/UnionClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/UnionClause.cs
deleted file mode 100644
index bfc1ad2357..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/UnionClause.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class UnionClause : IClause
- {
- protected SelectStatement union;
-
- public UnionClause (SelectStatement union)
- {
- Union = union;
- }
-
- public SelectStatement Union {
- get { return union; }
- set {
- if (value == null)
- throw new ArgumentNullException ("union");
- union = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/WhereClause.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/WhereClause.cs
deleted file mode 100644
index 7e24957e12..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Clauses/WhereClause.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class WhereClause : IClause
- {
- protected IConditionalExpression condition;
-
- public WhereClause (IConditionalExpression condition)
- {
- Condition = condition;
- }
-
- public IConditionalExpression Condition {
- get { return condition; }
- set {
- if (value == null)
- throw new ArgumentNullException ("condition");
- condition = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/AliasedIdentifierExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/AliasedIdentifierExpression.cs
deleted file mode 100644
index ccb0f2aca3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/AliasedIdentifierExpression.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class AliasedIdentifierExpression : IdentifierExpression
- {
- protected string alias;
-
- public AliasedIdentifierExpression (string name, string alias)
- : base (name)
- {
- Alias = alias;
- }
-
- public string Alias {
- get { return alias; }
- set {
- if (value == null)
- throw new ArgumentNullException ("alias");
- alias = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanExpression.cs
deleted file mode 100644
index 7cc9d4324d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanExpression.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class BooleanExpression : IConditionalExpression
- {
- protected IExpression left;
- protected IExpression right;
- protected BooleanOperator op;
-
- public BooleanExpression (IExpression left, BooleanOperator op, IExpression right)
- {
- Left = left;
- Operator = op;
- Right = right;
- }
-
- public IExpression Left {
- get { return left; }
- set {
- if (value == null)
- throw new ArgumentNullException ("left");
- left = value;
- }
- }
-
- public IExpression Right {
- get { return right; }
- set {
- if (value == null)
- throw new ArgumentNullException ("right");
- right = value;
- }
- }
-
- public BooleanOperator Operator {
- get { return op; }
- set { op = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanOperator.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanOperator.cs
deleted file mode 100644
index c3c3a6e4dd..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/BooleanOperator.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- [Flags]
- public enum BooleanOperator
- {
- And,
- Or,
- Not
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IConditionalExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IConditionalExpression.cs
deleted file mode 100644
index 7527474909..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IConditionalExpression.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IConditionalExpression : IExpression
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IExpression.cs
deleted file mode 100644
index c496af2929..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IExpression.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IExpression
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IdentifierExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IdentifierExpression.cs
deleted file mode 100644
index 5acbbfd300..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/IdentifierExpression.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class IdentifierExpression : IExpression
- {
- protected string name;
-
- public IdentifierExpression ()
- : this ("*")
- {
- }
-
- public IdentifierExpression (string name)
- {
- Name = name;
- }
-
- public string Name {
- get { return name; }
- set {
- if (value == null)
- throw new ArgumentNullException ("name");
- name = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/Operator.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/Operator.cs
deleted file mode 100644
index 2cefdff108..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/Operator.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum Operator
- {
- Equals,
- NotEqual,
-
- GreaterThanOrEqual,
- GreaterThan,
- LessThanOrEqual,
- LessThan,
-
- Plus,
- Minus,
- Divide,
- Multiply,
- Modus,
-
- Is,
- IsNot,
- In,
- Like
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/OperatorExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/OperatorExpression.cs
deleted file mode 100644
index 3dbc550704..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/OperatorExpression.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class OperatorExpression : IConditionalExpression
- {
- protected IExpression left;
- protected IExpression right;
- protected Operator op;
-
- public OperatorExpression (IExpression left, Operator op, IExpression right)
- {
- Left = left;
- Operator = op;
- Right = right;
- }
-
- public IExpression Left {
- get { return left; }
- set {
- if (value == null)
- throw new ArgumentNullException ("left");
- left = value;
- }
- }
-
- public IExpression Right {
- get { return right; }
- set {
- if (value == null)
- throw new ArgumentNullException ("right");
- right = value;
- }
- }
-
- public Operator Operator {
- get { return op; }
- set { op = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/ParameterExpression.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/ParameterExpression.cs
deleted file mode 100644
index 4fbe452469..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Expressions/ParameterExpression.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ParameterExpression : IdentifierExpression
- {
- public ParameterExpression (string name)
- : base (name)
- {
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/ISqlDialect.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/ISqlDialect.cs
deleted file mode 100644
index 10ef738ac8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/ISqlDialect.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface ISqlDialect
- {
- //TODO: method for checking if the statement/clause/... is supported
- string QuoteIdentifier (string identifier);
-
- string MarkAsParameter (string identifier);
-
- string GetSql (IStatement statement);
-
- string GetSql (IClause clause);
-
- string GetSql (IExpression expression);
-
- string GetSql (ILiteral literal);
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BitLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BitLiteral.cs
deleted file mode 100644
index df2b0ad9e4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BitLiteral.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class BitLiteral : StringLiteral
- {
- public BitLiteral (string value)
- {
- Value = value;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BooleanLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BooleanLiteral.cs
deleted file mode 100644
index 6f13780f39..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/BooleanLiteral.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class BooleanLiteral : ILiteral
- {
- protected bool val;
-
- public BooleanLiteral (bool value)
- {
- Value = value;
- }
-
- public bool Value {
- get { return val; }
- set { val = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/FalseLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/FalseLiteral.cs
deleted file mode 100644
index a98adbe06a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/FalseLiteral.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class FalseLiteral : ILiteral
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/HexLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/HexLiteral.cs
deleted file mode 100644
index 857999975e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/HexLiteral.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class HexLiteral : StringLiteral
- {
- public HexLiteral (string value)
- {
- if (value.Length % 2 != 0)
- throw new ArgumentException ("Invalid hexadecimal value, the length must be a factor of 2.");
-
- Value = value;
- }
-
- public HexLiteral (byte[] value)
- {
- Value = ToHexString (value);
- }
-
- public HexLiteral (int value)
- {
- Value = ToHexString (BitConverter.GetBytes (value));
- }
-
- public HexLiteral (uint value)
- {
- Value = ToHexString (BitConverter.GetBytes (value));
- }
-
- public HexLiteral (long value)
- {
- Value = ToHexString (BitConverter.GetBytes (value));
- }
-
- public HexLiteral (ulong value)
- {
- Value = ToHexString (BitConverter.GetBytes (value));
- }
-
- public HexLiteral (float value)
- {
- Value = ToHexString (BitConverter.GetBytes (value));
- }
-
- public HexLiteral (double value)
- {
- Value = ToHexString (BitConverter.GetBytes (value));
- }
-
- // see: http://www.codeproject.com/csharp/hexencoding.asp?msg=1064904#xx1064904xx
- internal static string ToHexString (byte[] bytes)
- {
- char[] hexDigits = {
- '0', '1', '2', '3', '4', '5', '6', '7',
- '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
- };
-
- char[] chars = new char[bytes.Length * 2];
- for (int i = 0; i < bytes.Length; i++) {
- int b = bytes[i];
- chars[i * 2] = hexDigits[b >> 4];
- chars[i * 2 + 1] = hexDigits[b & 0xF];
- }
- return new string(chars);
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/ILiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/ILiteral.cs
deleted file mode 100644
index 46756d59e5..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/ILiteral.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface ILiteral : IExpression
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NullLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NullLiteral.cs
deleted file mode 100644
index d429d7e071..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NullLiteral.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class NullLiteral : ILiteral
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NumericLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NumericLiteral.cs
deleted file mode 100644
index da78688c5a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/NumericLiteral.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class NumericLiteral : StringLiteral
- {
- public NumericLiteral (int value)
- {
- Value = value.ToString ();
- }
-
- public NumericLiteral (uint value)
- {
- Value = value.ToString ();
- }
-
- public NumericLiteral (long value)
- {
- Value = value.ToString ();
- }
-
- public NumericLiteral (ulong value)
- {
- Value = value.ToString ();
- }
-
- public NumericLiteral (float value)
- {
- Value = value.ToString ();
- }
-
- public NumericLiteral (double value)
- {
- Value = value.ToString ();
- }
-
- public NumericLiteral (decimal value)
- {
- Value = value.ToString ();
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/StringLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/StringLiteral.cs
deleted file mode 100644
index 290ebcc561..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/StringLiteral.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class StringLiteral : ILiteral
- {
- protected string val;
-
- protected StringLiteral ()
- {
- }
-
- public StringLiteral (string value)
- {
- Value = value;
- }
-
- public string Value {
- get { return val; }
- set {
- if (value == null)
- throw new ArgumentNullException ("value");
- val = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/TrueLiteral.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/TrueLiteral.cs
deleted file mode 100644
index 4d717ca079..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Literals/TrueLiteral.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TrueLiteral : ILiteral
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DeleteStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DeleteStatement.cs
deleted file mode 100644
index dc4a9d382c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DeleteStatement.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DeleteStatement : IStatement
- {
- protected FromClause from;
- protected WhereClause where;
-
- public DeleteStatement (FromClause from)
- {
- From = from;
- }
-
- public FromClause From {
- get { return from; }
- set {
- if (value == null)
- throw new ArgumentNullException ("from");
- this.from = value;
- }
- }
-
- public WhereClause Where {
- get { return where; }
- set { where = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatement.cs
deleted file mode 100644
index 4605316f47..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatement.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DropStatement : IStatement
- {
- protected IdentifierExpression identifier;
- protected DropStatementType dropType;
-
- public DropStatement (IdentifierExpression identifier, DropStatementType dropType)
- {
- Identifier = identifier;
- DropType = dropType;
- }
-
- public IdentifierExpression Identifier {
- get { return identifier; }
- set {
- if (value == null)
- throw new ArgumentNullException ("identifier");
- identifier = value;
- }
- }
-
- public DropStatementType DropType {
- get { return dropType; }
- set { dropType = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatementType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatementType.cs
deleted file mode 100644
index 8bded84b0d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/DropStatementType.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum DropStatementType
- {
- Database,
- Table,
- Index,
- View,
- Procedure
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/IStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/IStatement.cs
deleted file mode 100644
index 9408b5430f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/IStatement.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IStatement
- {
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/InsertStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/InsertStatement.cs
deleted file mode 100644
index 7cc52c0e49..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/InsertStatement.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class InsertStatement : IStatement
- {
- protected IdentifierExpression identifier;
- protected List<IdentifierExpression> columns;
- protected List<List<IExpression>> values;
-
- public InsertStatement (IdentifierExpression identifier, IEnumerable<IdentifierExpression> columns, IEnumerable<IEnumerable<IExpression>> values)
- {
- Identifier = identifier;
-
- this.columns = new List<IdentifierExpression> ();
- this.values = new List<List<IExpression>> ();
-
- this.columns.AddRange (columns);
- foreach (IEnumerable<IExpression> row in values) {
- List<IExpression> expr = new List<IExpression> ();
- expr.AddRange (row);
- this.Values.Add (expr);
- }
- }
-
- public IdentifierExpression Identifier {
- get { return identifier; }
- set {
- if (value == null)
- throw new ArgumentNullException ("identifier");
- identifier = value;
- }
- }
-
- public List<IdentifierExpression> Columns {
- get { return columns; }
- }
-
- public List<List<IExpression>> Values {
- get { return values; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/LineStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/LineStatement.cs
deleted file mode 100644
index 1f50ac9d27..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/LineStatement.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// ILineStatement.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2009
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class LineStatement:IStatement
- {
- ISchemaProvider provider;
- string comment;
- string statement;
-
- public LineStatement (ISchemaProvider provider)
- {
- this.provider = provider;
- }
-
- public string Comment {
- get {return comment;}
- set {comment = value;}
- }
-
- public string Statement {
- get {return statement;}
- set {statement = value;}
- }
-
- public string GetStatement ()
- {
- System.Text.StringBuilder st = new System.Text.StringBuilder ();
- if (((AbstractSchemaProvider)provider).CanComment && comment != string.Empty)
- st.AppendFormat ("{0} {1}", ((AbstractSchemaProvider)provider).GetComentSeparator (), comment);
- st.Append (statement);
- return st.ToString ();
-
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/SelectStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/SelectStatement.cs
deleted file mode 100644
index 8a7d1c4c8a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/SelectStatement.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class SelectStatement : IStatement
- {
- protected List<IdentifierExpression> columns;
- protected FromClause from;
- protected WhereClause where;
- protected OrderByClause orderBy;
- protected GroupByClause groupBy;
- protected HavingClause having;
- protected UnionClause union;
- protected JoinClause join;
-
- public SelectStatement (FromClause from)
- {
- if (from == null)
- throw new ArgumentNullException ("from");
- From = from;
- this.columns = new List<IdentifierExpression> ();
- this.columns.Add (new IdentifierExpression ());
- }
-
- public SelectStatement (FromClause from, IEnumerable<IdentifierExpression> columns)
- {
- if (from == null)
- throw new ArgumentNullException ("from");
- if (columns == null)
- throw new ArgumentNullException ("columns");
-
- From = from;
- this.columns = new List<IdentifierExpression> ();
- this.columns.AddRange (columns);
- }
-
- public List<IdentifierExpression> Columns {
- get { return columns; }
- }
-
- public FromClause From {
- get { return from; }
- set {
- if (value == null)
- throw new ArgumentNullException ("from");
- this.from = value;
- }
- }
-
- public WhereClause Where {
- get { return where; }
- set { where = value; }
- }
-
- public OrderByClause OrderBy {
- get { return orderBy; }
- set { orderBy = value; }
- }
-
- public GroupByClause GroupBy {
- get { return groupBy; }
- set { groupBy = value; }
- }
-
- public HavingClause Having {
- get { return having; }
- set { having = value; }
- }
-
- public UnionClause Union {
- get { return union; }
- set { union = value; }
- }
-
- public JoinClause Join {
- get { return join; }
- set { join = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/TruncateStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/TruncateStatement.cs
deleted file mode 100644
index 9d2b8a95d8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/TruncateStatement.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TruncateStatement : IStatement
- {
- protected IdentifierExpression identifier;
-
- public TruncateStatement (IdentifierExpression identifier)
- {
- Identifier = identifier;
- }
-
- public IdentifierExpression Identifier {
- get { return identifier; }
- set {
- if (value == null)
- throw new ArgumentNullException ("identifier");
- identifier = value;
- }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/UpdateStatement.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/UpdateStatement.cs
deleted file mode 100644
index 6ed1b4d2c8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Dialect/Statements/UpdateStatement.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class UpdateStatement : IStatement
- {
- protected IdentifierExpression identifier;
- protected List<IdentifierExpression> columns;
- protected List<IExpression> values;
- protected WhereClause where;
-
- public UpdateStatement (IdentifierExpression identifier, IEnumerable<IdentifierExpression> columns, IEnumerable<IExpression> values)
- {
- Identifier = identifier;
-
- this.columns = new List<IdentifierExpression> ();
- this.values = new List<IExpression> ();
-
- this.columns.AddRange (columns);
- this.values.AddRange (values);
- }
-
- public IdentifierExpression Identifier {
- get { return identifier; }
- set {
- if (value == null)
- throw new ArgumentNullException ("identifier");
- identifier = value;
- }
- }
-
- public List<IdentifierExpression> Columns {
- get { return columns; }
- }
-
- public List<IExpression> Values {
- get { return values; }
- }
-
- public WhereClause Where {
- get { return where; }
- set { where = value; }
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbFactory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbFactory.cs
deleted file mode 100644
index d85d135001..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbFactory.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IDbFactory
- {
- string Identifier { get; }
-
- string Name { get; }
-
- ISqlDialect Dialect { get; }
-
- IConnectionProvider ConnectionProvider { get; }
-
- IGuiProvider GuiProvider { get; }
-
- DatabaseConnectionSettings GetDefaultConnectionSettings ();
-
- IConnectionPool CreateConnectionPool (DatabaseConnectionContext context);
-
- ISchemaProvider CreateSchemaProvider (IConnectionPool connectionPool);
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbLinq.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbLinq.cs
deleted file mode 100644
index cb62e4d181..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/IDbLinq.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// IDbLinq.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2010 Lucian0
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-using System;
-
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IDbLinq
- {
- string Provider { get; }
- bool HasProcedures { get; }
-
- bool Generate (DatabaseConnectionSettings connection,
- string outputType,
- string outputFile,
- string language,
- string style,
- string defaultNamespace,
- string entityBase,
- string entityAttr,
- string membersAttr,
- string generateTypes,
- string culture,
- bool generateSchema,
- bool generateTimestamp,
- bool overrideEqualAndHash,
- bool extractProcedures,
- bool pluralize
- );
-
- bool Generate (DatabaseConnectionSettings connection,
- string outputType,
- string outputFile,
- string defaultNamespace,
- string entityBase,
- string entityAttr,
- string membersAttr,
- string generateTypes,
- string culture,
- bool generateSchema,
- bool generateTimestamp,
- bool overrideEqualAndHash,
- bool extractProcedures,
- bool pluralize
- );
-
- }
-}
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Makefile.am b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Makefile.am
deleted file mode 100644
index 140650e6fa..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Makefile.am
+++ /dev/null
@@ -1,175 +0,0 @@
-ADDIN_BUILD = $(top_builddir)/build
-ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Database.Sql.dll
-REFS = \
- $(GTK_SHARP_LIBS) \
- $(MONO_ADDINS_LIBS) \
- $(MONODEVELOP_LIBS) \
- -r:System \
- -r:System.Data \
- -r:System.Xml
-
-FILES = \
- AddinCatalog.cs \
- AlterSchema/AbstractAlterSchema.cs \
- AlterSchema/Alterations/AbstractAlteration.cs \
- AlterSchema/Alterations/ColumnAlterations.cs \
- AlterSchema/Alterations/ConstraintAlterations.cs \
- AlterSchema/Alterations/DefaultAlterations.cs \
- AlterSchema/Alterations/IAlteration.cs \
- AlterSchema/Alterations/IndexAlterations.cs \
- AlterSchema/Alterations/ProcedureAlterations.cs \
- AlterSchema/Alterations/TableAlterations.cs \
- AlterSchema/Alterations/TriggerAlterations.cs \
- AlterSchema/Alterations/UserAlterations.cs \
- AlterSchema/Alterations/ViewAlterations.cs \
- AlterSchema/CheckConstraintAlterSchema.cs \
- AlterSchema/ColumnAlterSchema.cs \
- AlterSchema/DatabaseAlterSchema.cs \
- AlterSchema/ForeignKeyConstraintAlterSchema.cs \
- AlterSchema/IAlterSchema.cs \
- AlterSchema/IndexAlterSchema.cs \
- AlterSchema/PrimaryKeyConstraintAlterSchema.cs \
- AlterSchema/ProcedureAlterSchema.cs \
- AlterSchema/TableAlterSchema.cs \
- AlterSchema/TriggerAlterSchema.cs \
- AlterSchema/UniqueConstraintAlterSchema.cs \
- AlterSchema/UserAlterSchema.cs \
- AlterSchema/ViewAlterSchema.cs \
- AssemblyInfo.cs \
- Codons/DbFactoryCodon.cs \
- Collections/ColumnSchemaCollection.cs \
- Collections/ConstraintSchemaCollection.cs \
- Collections/DatabaseSchemaCollection.cs \
- Collections/DataTypeSchemaCollection.cs \
- Collections/IndexSchemaCollection.cs \
- Collections/IPropertyComparer.cs \
- Collections/ParameterSchemaCollection.cs \
- Collections/ProcedureSchemaCollection.cs \
- Collections/SortedCollectionBase.cs \
- Collections/SortedCollectionItemEventArgs.cs \
- Collections/TableSchemaCollection.cs \
- Collections/TriggerSchemaCollection.cs \
- Collections/UserSchemaCollection.cs \
- Collections/ViewSchemaCollection.cs \
- Configuration/DatabaseConnectionContext.cs \
- Configuration/DatabaseConnectionContextCollection.cs \
- Configuration/DatabaseConnectionContextEventArgs.cs \
- Configuration/DatabaseConnectionSettings.cs \
- Configuration/DatabaseConnectionSettingsCollection.cs \
- Configuration/DuplicatedConnectionContextException.cs \
- ConnectionContextService.cs \
- ConnectionPool/AbstractPooledDbConnection.cs \
- ConnectionPool/DefaultConnectionPool.cs \
- ConnectionPool/FakeConnectionPool.cs \
- ConnectionPool/IConnectionPool.cs \
- ConnectionPool/IPooledDbConnection.cs \
- ConnectionPool/PooledCommand.cs \
- ConnectionPool/PooledDataReader.cs \
- DbFactoryService.cs \
- Dialect/AbstractSqlDialect.cs \
- Dialect/Clauses/FromClause.cs \
- Dialect/Clauses/FromSelectClause.cs \
- Dialect/Clauses/FromTableClause.cs \
- Dialect/Clauses/GroupByClause.cs \
- Dialect/Clauses/HavingClause.cs \
- Dialect/Clauses/IClause.cs \
- Dialect/Clauses/JoinClause.cs \
- Dialect/Clauses/JoinClauseType.cs \
- Dialect/Clauses/OrderByClause.cs \
- Dialect/Clauses/UnionClause.cs \
- Dialect/Clauses/WhereClause.cs \
- Dialect/Expressions/AliasedIdentifierExpression.cs \
- Dialect/Expressions/BooleanExpression.cs \
- Dialect/Expressions/BooleanOperator.cs \
- Dialect/Expressions/IConditionalExpression.cs \
- Dialect/Expressions/IdentifierExpression.cs \
- Dialect/Expressions/IExpression.cs \
- Dialect/Expressions/Operator.cs \
- Dialect/Expressions/OperatorExpression.cs \
- Dialect/Expressions/ParameterExpression.cs \
- Dialect/ISqlDialect.cs \
- Dialect/Literals/BitLiteral.cs \
- Dialect/Literals/BooleanLiteral.cs \
- Dialect/Literals/FalseLiteral.cs \
- Dialect/Literals/HexLiteral.cs \
- Dialect/Literals/ILiteral.cs \
- Dialect/Literals/NullLiteral.cs \
- Dialect/Literals/NumericLiteral.cs \
- Dialect/Literals/StringLiteral.cs \
- Dialect/Literals/TrueLiteral.cs \
- Dialect/Statements/DeleteStatement.cs \
- Dialect/Statements/DropStatement.cs \
- Dialect/Statements/DropStatementType.cs \
- Dialect/Statements/InsertStatement.cs \
- Dialect/Statements/IStatement.cs \
- Dialect/Statements/LineStatement.cs \
- Dialect/Statements/SelectStatement.cs \
- Dialect/Statements/TruncateStatement.cs \
- Dialect/Statements/UpdateStatement.cs \
- IDbFactory.cs \
- IDbLinq.cs \
- Providers/AbstractConnectionProvider.cs \
- Providers/AbstractEditSchemaProvider.cs \
- Providers/AbstractSchemaProvider.cs \
- Providers/IConnectionProvider.cs \
- Providers/IEditSchemaProvider.cs \
- Providers/IGuiProvider.cs \
- Providers/ISchemaProvider.cs \
- QueryService.cs \
- Schema/AbstractSchema.cs \
- Schema/AggregateSchema.cs \
- Schema/CheckConstraintSchema.cs \
- Schema/ColumnSchema.cs \
- Schema/ConstraintSchema.cs \
- Schema/ConstraintType.cs \
- Schema/DatabaseSchema.cs \
- Schema/DataTypeCategory.cs \
- Schema/DataTypeSchema.cs \
- Schema/ForeignKeyAction.cs \
- Schema/ForeignKeyConstraintSchema.cs \
- Schema/GroupSchema.cs \
- Schema/IndexSchema.cs \
- Schema/IndexSortType.cs \
- Schema/IndexType.cs \
- Schema/ISchema.cs \
- Schema/LanguageSchema.cs \
- Schema/OperatorSchema.cs \
- Schema/ParameterSchema.cs \
- Schema/ParameterType.cs \
- Schema/PrimaryKeyConstraintSchema.cs \
- Schema/PrivilegeSchema.cs \
- Schema/ProcedureSchema.cs \
- Schema/Range.cs \
- Schema/RoleSchema.cs \
- Schema/RuleSchema.cs \
- Schema/SchemaActions.cs \
- Schema/SchemaSchema.cs \
- Schema/SchemaType.cs \
- Schema/SequenceSchema.cs \
- Schema/TableSchema.cs \
- Schema/TriggerEvent.cs \
- Schema/TriggerFireType.cs \
- Schema/TriggerSchema.cs \
- Schema/TriggerType.cs \
- Schema/UniqueConstraintSchema.cs \
- Schema/UserSchema.cs \
- Schema/ViewSchema.cs \
- SqlMetalExecException.cs \
- SqlMetalServices.cs
-
-RES = MonoDevelop.Database.Sql.addin.xml
-
-all: $(ASSEMBLY)
-
-$(ASSEMBLY): $(build_sources) $(build_resources)
- mkdir -p $(ADDIN_BUILD)
- $(CSC) $(CSC_FLAGS) $(REFS) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
-
-
-assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Database
-assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
-
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.addin.xml b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.addin.xml
deleted file mode 100644
index a96013dde3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.addin.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<Addin id = "Database.Sql"
- namespace = "MonoDevelop"
- name = "MonoDevelop Database Sql"
- author = "Christian Hergert, Ben Motmans"
- copyright = "MIT X11"
- url = "http://www.monodevelop.com"
- description = "Database Module"
- category = "Database"
- version = "4.2.3">
-
- <Runtime>
- <Import assembly="MonoDevelop.Database.Sql.dll"/>
- </Runtime>
-
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- </Dependencies>
-
- <Localizer type="Gettext" catalog="monodevelop-database"/>
-
- <ExtensionPoint path = "/MonoDevelop/Database/Sql" name = "MonoDevelop database providers">
- <Description>MonoDevelop database factory addins.</Description>
- <ExtensionNode name="DatabaseFactory" type="MonoDevelop.Database.Sql.DbFactoryCodon" />
- </ExtensionPoint>
-
- <Extension path = "/MonoDevelop/Core/UserDataMigration">
- <Migration sourceVersion="2.4+" kind="Config" path="MonoDevelop.Database.ConnectionManager.xml" />
- </Extension>
-</Addin>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.csproj b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.csproj
deleted file mode 100644
index c252fc5462..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/MonoDevelop.Database.Sql.csproj
+++ /dev/null
@@ -1,237 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AssemblyName>MonoDevelop.Database.Sql</AssemblyName>
- <RootNamespace>MonoDevelop.Database.Sql</RootNamespace>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\build</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\AddIns\MonoDevelop.Database</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
- <Execution>
- <Execution clr-version="Net_2_0" />
- </Execution>
- <DocumentationFile>..\..\..\build\AddIns\MonoDevelop.Database\MonoDevelop.Database.Sql.xml</DocumentationFile>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- <Reference Include="MonoDevelop.Core, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="MonoDevelop.Ide, Version=1.9.2.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="NRefactory, Version=0.0.0.0, Culture=neutral">
- <SpecificVersion>False</SpecificVersion>
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
- <SpecificVersion>False</SpecificVersion>
- <Package>mono-addins</Package>
- </Reference>
- <Reference Include="Mono.Cecil, Version=0.6.8.8607, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.TextEditor, Version=1.0.0.0, Culture=neutral">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="Mono.Debugging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5e9ce85b0923c84f">
- <Package>monodevelop</Package>
- </Reference>
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f"/>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Providers\ISchemaProvider.cs" />
- <Compile Include="Providers\IConnectionProvider.cs" />
- <Compile Include="Schema\ISchema.cs" />
- <Compile Include="Schema\AbstractSchema.cs" />
- <Compile Include="Schema\AggregateSchema.cs" />
- <Compile Include="Schema\CheckConstraintSchema.cs" />
- <Compile Include="Schema\ColumnSchema.cs" />
- <Compile Include="Schema\ConstraintSchema.cs" />
- <Compile Include="Schema\DataTypeSchema.cs" />
- <Compile Include="Schema\ForeignKeyConstraintSchema.cs" />
- <Compile Include="Schema\GroupSchema.cs" />
- <Compile Include="Schema\IndexSchema.cs" />
- <Compile Include="Schema\LanguageSchema.cs" />
- <Compile Include="Schema\OperatorSchema.cs" />
- <Compile Include="Schema\ParameterSchema.cs" />
- <Compile Include="Schema\PrimaryKeyConstraintSchema.cs" />
- <Compile Include="Schema\PrivilegeSchema.cs" />
- <Compile Include="Schema\ProcedureSchema.cs" />
- <Compile Include="Schema\RoleSchema.cs" />
- <Compile Include="Schema\RuleSchema.cs" />
- <Compile Include="Schema\SchemaSchema.cs" />
- <Compile Include="Schema\SequenceSchema.cs" />
- <Compile Include="Schema\TableSchema.cs" />
- <Compile Include="Schema\TriggerSchema.cs" />
- <Compile Include="Schema\UniqueConstraintSchema.cs" />
- <Compile Include="Schema\UserSchema.cs" />
- <Compile Include="Schema\ViewSchema.cs" />
- <Compile Include="Schema\DatabaseSchema.cs" />
- <Compile Include="Providers\AbstractSchemaProvider.cs" />
- <Compile Include="Codons\DbFactoryCodon.cs" />
- <Compile Include="Schema\DataTypeCategory.cs" />
- <Compile Include="Schema\Range.cs" />
- <Compile Include="Dialect\Statements\SelectStatement.cs" />
- <Compile Include="Dialect\Statements\InsertStatement.cs" />
- <Compile Include="Dialect\Statements\DropStatement.cs" />
- <Compile Include="Dialect\Statements\UpdateStatement.cs" />
- <Compile Include="Dialect\Statements\DeleteStatement.cs" />
- <Compile Include="Dialect\Statements\TruncateStatement.cs" />
- <Compile Include="Dialect\Clauses\WhereClause.cs" />
- <Compile Include="Dialect\Clauses\FromClause.cs" />
- <Compile Include="Dialect\Clauses\HavingClause.cs" />
- <Compile Include="Dialect\Clauses\JoinClause.cs" />
- <Compile Include="Dialect\Clauses\GroupByClause.cs" />
- <Compile Include="Dialect\Clauses\OrderByClause.cs" />
- <Compile Include="Dialect\Clauses\UnionClause.cs" />
- <Compile Include="IDbFactory.cs" />
- <Compile Include="DbFactoryService.cs" />
- <Compile Include="Dialect\ISqlDialect.cs" />
- <Compile Include="Dialect\Statements\IStatement.cs" />
- <Compile Include="Dialect\Expressions\IdentifierExpression.cs" />
- <Compile Include="Dialect\Expressions\AliasedIdentifierExpression.cs" />
- <Compile Include="Dialect\Expressions\IExpression.cs" />
- <Compile Include="Dialect\Clauses\IClause.cs" />
- <Compile Include="Dialect\Expressions\OperatorExpression.cs" />
- <Compile Include="Dialect\Expressions\Operator.cs" />
- <Compile Include="Dialect\Literals\StringLiteral.cs" />
- <Compile Include="Dialect\Literals\ILiteral.cs" />
- <Compile Include="Dialect\Literals\HexLiteral.cs" />
- <Compile Include="Dialect\Literals\NumericLiteral.cs" />
- <Compile Include="Dialect\Literals\NullLiteral.cs" />
- <Compile Include="Dialect\Literals\BitLiteral.cs" />
- <Compile Include="Dialect\Expressions\ParameterExpression.cs" />
- <Compile Include="Dialect\Literals\TrueLiteral.cs" />
- <Compile Include="Dialect\Literals\FalseLiteral.cs" />
- <Compile Include="Dialect\Statements\DropStatementType.cs" />
- <Compile Include="Dialect\Clauses\FromTableClause.cs" />
- <Compile Include="Dialect\Clauses\FromSelectClause.cs" />
- <Compile Include="Dialect\Clauses\JoinClauseType.cs" />
- <Compile Include="Dialect\Expressions\BooleanExpression.cs" />
- <Compile Include="Dialect\Expressions\BooleanOperator.cs" />
- <Compile Include="Dialect\AbstractSqlDialect.cs" />
- <Compile Include="Dialect\Expressions\IConditionalExpression.cs" />
- <Compile Include="Dialect\Literals\BooleanLiteral.cs" />
- <Compile Include="ConnectionContextService.cs" />
- <Compile Include="ConnectionPool\IConnectionPool.cs" />
- <Compile Include="ConnectionPool\IPooledDbConnection.cs" />
- <Compile Include="ConnectionPool\DefaultConnectionPool.cs" />
- <Compile Include="ConnectionPool\PooledDataReader.cs" />
- <Compile Include="ConnectionPool\AbstractPooledDbConnection.cs" />
- <Compile Include="ConnectionPool\PooledCommand.cs" />
- <Compile Include="Providers\AbstractConnectionProvider.cs" />
- <Compile Include="Configuration\DatabaseConnectionSettings.cs" />
- <Compile Include="Configuration\DatabaseConnectionSettingsCollection.cs" />
- <Compile Include="Configuration\DatabaseConnectionContext.cs" />
- <Compile Include="Configuration\DatabaseConnectionContextEventArgs.cs" />
- <Compile Include="ConnectionPool\FakeConnectionPool.cs" />
- <Compile Include="QueryService.cs" />
- <Compile Include="Configuration\DatabaseConnectionContextCollection.cs" />
- <Compile Include="Schema\TriggerType.cs" />
- <Compile Include="Schema\TriggerEvent.cs" />
- <Compile Include="Schema\IndexSortType.cs" />
- <Compile Include="Collections\TableSchemaCollection.cs" />
- <Compile Include="Collections\UserSchemaCollection.cs" />
- <Compile Include="Collections\ViewSchemaCollection.cs" />
- <Compile Include="Collections\ConstraintSchemaCollection.cs" />
- <Compile Include="Collections\TriggerSchemaCollection.cs" />
- <Compile Include="Collections\ProcedureSchemaCollection.cs" />
- <Compile Include="Collections\ColumnSchemaCollection.cs" />
- <Compile Include="Collections\ParameterSchemaCollection.cs" />
- <Compile Include="Collections\SortedCollectionBase.cs" />
- <Compile Include="Collections\IPropertyComparer.cs" />
- <Compile Include="Collections\DatabaseSchemaCollection.cs" />
- <Compile Include="Collections\IndexSchemaCollection.cs" />
- <Compile Include="Schema\ConstraintType.cs" />
- <Compile Include="Collections\DataTypeSchemaCollection.cs" />
- <Compile Include="Schema\ParameterType.cs" />
- <Compile Include="Collections\SortedCollectionItemEventArgs.cs" />
- <Compile Include="Providers\IGuiProvider.cs" />
- <Compile Include="Schema\TriggerFireType.cs" />
- <Compile Include="Schema\IndexType.cs" />
- <Compile Include="Schema\ForeignKeyAction.cs" />
- <Compile Include="AddinCatalog.cs" />
- <Compile Include="AlterSchema\ColumnAlterSchema.cs" />
- <Compile Include="AlterSchema\DatabaseAlterSchema.cs" />
- <Compile Include="AlterSchema\UserAlterSchema.cs" />
- <Compile Include="AlterSchema\IAlterSchema.cs" />
- <Compile Include="AlterSchema\AbstractAlterSchema.cs" />
- <Compile Include="AlterSchema\TableAlterSchema.cs" />
- <Compile Include="AlterSchema\TriggerAlterSchema.cs" />
- <Compile Include="AlterSchema\IndexAlterSchema.cs" />
- <Compile Include="AlterSchema\PrimaryKeyConstraintAlterSchema.cs" />
- <Compile Include="AlterSchema\ForeignKeyConstraintAlterSchema.cs" />
- <Compile Include="AlterSchema\CheckConstraintAlterSchema.cs" />
- <Compile Include="AlterSchema\UniqueConstraintAlterSchema.cs" />
- <Compile Include="Providers\IEditSchemaProvider.cs" />
- <Compile Include="AlterSchema\Alterations\DefaultAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\IAlteration.cs" />
- <Compile Include="AlterSchema\Alterations\TriggerAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\ConstraintAlterations.cs" />
- <Compile Include="Providers\AbstractEditSchemaProvider.cs" />
- <Compile Include="Schema\SchemaType.cs" />
- <Compile Include="Schema\SchemaActions.cs" />
- <Compile Include="AlterSchema\ViewAlterSchema.cs" />
- <Compile Include="AlterSchema\ProcedureAlterSchema.cs" />
- <Compile Include="AlterSchema\Alterations\AbstractAlteration.cs" />
- <Compile Include="AlterSchema\Alterations\TableAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\UserAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\ProcedureAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\ViewAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\IndexAlterations.cs" />
- <Compile Include="AlterSchema\Alterations\ColumnAlterations.cs" />
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Dialect\Statements\LineStatement.cs" />
- <Compile Include="Configuration\DuplicatedConnectionContextException.cs" />
- <Compile Include="IDbLinq.cs" />
- <Compile Include="SqlMetalServices.cs" />
- <Compile Include="SqlMetalExecException.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="MonoDevelop.Database.Sql.addin.xml">
- <LogicalName>MonoDevelop.Database.Sql.addin.xml</LogicalName>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <None Include="Makefile.am" />
- <None Include="ChangeLog" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <ProjectExtensions>
- <MonoDevelop>
- <Properties>
- <Deployment.LinuxDeployData generatePcFile="False" />
- </Properties>
- </MonoDevelop>
- </ProjectExtensions>
-</Project>
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractConnectionProvider.cs
deleted file mode 100644
index 540f1a4d2a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractConnectionProvider.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Daniel Morgan <danielmorgan@verizon.net>
-// Sureshkumar T <tsureshkumar@novell.com>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Text.RegularExpressions;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractConnectionProvider : IConnectionProvider
- {
- public abstract IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error);
-
- public virtual bool CheckConnection (IPooledDbConnection connection, DatabaseConnectionSettings settings)
- {
- if (connection.IsOpen) {
- IDbConnection conn = connection.DbConnection;
- if (conn.Database == settings.Database) {
- return true;
- } else {
- try {
- conn.ChangeDatabase (settings.Database);
- return true;
- } catch {
- return false;
- }
- }
- }
- return false;
- }
-
- protected virtual string SetConnectionStringParameter (string connectionString, string quoteChar, string parameter, string value)
- {
- Regex regex = new Regex (parameter + "[ \t]*=[ \t]*" + quoteChar + "([a-zA-Z0-9_.]+)" + quoteChar, RegexOptions.IgnoreCase);
- Match match = regex.Match (connectionString);
- if (match.Success) {
- return connectionString.Substring (0, match.Index) + value + connectionString.Substring (match.Index + match.Length);
- } else {
- connectionString.TrimEnd ();
- return String.Concat (connectionString,
- connectionString.EndsWith (";") ? "" : ";",
- parameter, "=", quoteChar, value, quoteChar, ";");
- }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractEditSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractEditSchemaProvider.cs
deleted file mode 100644
index 0c1c79c96a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractEditSchemaProvider.cs
+++ /dev/null
@@ -1,199 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Data;
-using System.Data.Common;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractEditSchemaProvider : AbstractSchemaProvider, IEditSchemaProvider
- {
- protected AbstractEditSchemaProvider (IConnectionPool connectionPool)
- : base (connectionPool)
- {
- }
-
- public virtual void CreateDatabase (DatabaseSchema database)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void CreateTable (TableSchema table)
- {
- string sql = GetTableCreateStatement (table);
- ExecuteNonQuery (sql);
- }
-
- public virtual void CreateView (ViewSchema view)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void CreateProcedure (ProcedureSchema procedure)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void CreateIndex (IndexSchema index)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void CreateTrigger (TriggerSchema trigger)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void CreateUser (UserSchema user)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterDatabase (DatabaseAlterSchema database)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterTable (TableAlterSchema table)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterView (ViewAlterSchema view)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterProcedure (ProcedureAlterSchema procedure)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterIndex (IndexAlterSchema index)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterTrigger (TriggerAlterSchema trigger)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void AlterUser (UserAlterSchema user)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropDatabase (DatabaseSchema database)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropTable (TableSchema table)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropView (ViewSchema view)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropProcedure (ProcedureSchema procedure)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropIndex (IndexSchema index)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropTrigger (TriggerSchema trigger)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void DropUser (UserSchema user)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameDatabase (DatabaseSchema database, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameTable (TableSchema table, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameView (ViewSchema view, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameProcedure (ProcedureSchema procedure, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameIndex (IndexSchema index, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameTrigger (TriggerSchema trigger, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual void RenameUser (UserSchema user, string name)
- {
- throw new NotImplementedException ();
- }
-
- public virtual string GetTableAlterStatement (TableAlterSchema table)
- {
- throw new NotImplementedException ();
- }
-
- public virtual string GetViewAlterStatement (ViewSchema view)
- {
- throw new NotImplementedException ();
- }
-
- public virtual string GetProcedureAlterStatement (ProcedureSchema procedure)
- {
- throw new NotImplementedException ();
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractSchemaProvider.cs
deleted file mode 100644
index 6b13b2e3a0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/AbstractSchemaProvider.cs
+++ /dev/null
@@ -1,883 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Text;
-using System.Data;
-using System.Data.Common;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractSchemaProvider : ISchemaProvider
- {
- protected IConnectionPool connectionPool;
-
- protected Dictionary<SchemaType, SchemaActions> supportedActions;
-
- protected string databasesCollectionString = "Databases";
- protected string tablesCollectionString = "Tables";
- protected string viewsCollectionString = "Views";
- protected string proceduresCollectionString = "Procedures";
- protected string tableColumnsCollectionString = "Columns";
- protected string viewColumnsCollectionString = "ViewColumns";
- protected string procedureParametersCollectionString = "Procedure Parameters";
- protected string usersCollectionString = "Users";
- protected string indexesCollectionString = "Indexes";
- protected string indexColumnsCollectionString = "IndexColumns";
- protected string foreignKeysCollectionString = "Foreign Keys";
- protected string triggersCollectionString = "Triggers";
- protected string dataTypesCollectionString = "DataTypes";
-
- protected string[] databaseItemStrings = new string[] { "DATABASE_NAME" };
- protected string[] tableItemStrings = new string[] { "TABLE_SCHEMA", "TABLE_NAME", "TABLE_COMMENT" };
- protected string[] viewItemStrings = new string[] { "TABLE_SCHEMA", "TABLE_NAME", "TABLE_COMMENT" };
- protected string[] procedureItemStrings = new string[] { "ROUTINE_SCHEMA", "ROUTINE_NAME" };
- protected string[] tableColumnItemStrings = new string[] { "COLUMN_NAME", "COLUMN_DEFAULT", "COLUMN_HASDEFAULT", "IS_NULLABLE", "ORDINAL_POSITION", "NUMERIC_PRECISION", "NUMERIC_SCALE", "DATA_TYPE" };
- protected string[] viewColumnItemStrings = new string[] { "COLUMN_NAME" };
- protected string[] procedureParameterItemStrings = new string[] { "PARAMETER_NAME", "DATA_TYPE", "ORDINAL_POSITION", "PARAMETER_MODE" };
- protected string[] userItemStrings = new string[] { "user_name" };
- protected string[] indexItemStrings = new string[] { };
- protected string[] indexColumnItemStrings = new string[] { };
- protected string[] foreignKeyItemStrings = new string[] { };
- protected string[] triggerItemStrings = new string[] { };
- protected string[] dataTypeItemStrings = new string[] { "TypeName", "ColumnSize", "CreateFormat", "CreateParameters", "DataType", "IsAutoIncrementable", "IsFixedLength", "IsNullable", "MaximumScale", "MinimumScale" };
-
- protected AbstractSchemaProvider (IConnectionPool connectionPool)
- {
- if (connectionPool == null)
- throw new ArgumentNullException ("connectionPool");
-
- this.connectionPool = connectionPool;
- this.supportedActions = new Dictionary<SchemaType, SchemaActions> ();
- }
-
- public virtual string GetComentSeparator ()
- {
- return "--";
- }
-
- public virtual bool CanComment {
- get { return true; }
- }
-
- public virtual bool CanEdit
- {
- get { return true; }
- }
-
- public IConnectionPool ConnectionPool
- {
- get { return connectionPool; }
- }
-
- public virtual DatabaseSchemaCollection GetDatabases ()
- {
- DatabaseSchemaCollection collection = new DatabaseSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: name
- DataTable dt = conn.GetSchema (databasesCollectionString);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetDatabase (row));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
-
- conn.Release ();
-
- return collection;
- }
-
- protected virtual DatabaseSchema GetDatabase (DataRow row)
- {
- DatabaseSchema schema = new DatabaseSchema (this);
- schema.Name = GetRowString (row, databaseItemStrings[0]);
- return schema;
- }
-
- public virtual string GetConstraintActionString (ForeignKeyAction action)
- {
- switch (action) {
- case ForeignKeyAction.None:
- return " NO ACTION ";
- case ForeignKeyAction.Cascade:
- return " CASCADE ";
- case ForeignKeyAction.Restrict:
- return " RESTRICT ";
- case ForeignKeyAction.NoAction:
- return " NO ACTION ";
- case ForeignKeyAction.SetDefault:
- return " SET DEFAULT ";
- case ForeignKeyAction.SetNull:
- return " SET NULL ";
- default:
- throw new NotImplementedException ();
- }
- }
-
- public virtual TableSchemaCollection GetTables ()
- {
- TableSchemaCollection collection = new TableSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, table, table type
- DataTable dt = conn.GetSchema (tablesCollectionString, null, connectionPool.ConnectionContext.ConnectionSettings.Database);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetTable (row));
- }
- } catch (Exception e) {
- // Don't raise error, if the triggers doesn't exists return an empty collection
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual TableSchema GetTable (DataRow row)
- {
- TableSchema schema = new TableSchema (this);
-
- schema.SchemaName = GetRowString (row, tableItemStrings[0]);
- schema.Name = GetRowString (row, tableItemStrings[1]);
- schema.Comment = GetRowString (row, tableItemStrings[2]);
-
- return schema;
- }
-
- public virtual ColumnSchemaCollection GetTableColumns (TableSchema table)
- {
- ColumnSchemaCollection collection = new ColumnSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- //restrictions: database, schema, table, column
- try {
- DataTable dt = conn.GetSchema (tableColumnsCollectionString, null, table.SchemaName, table.Name);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetTableColumn (row, table));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ColumnSchema GetTableColumn (DataRow row, TableSchema table)
- {
- ColumnSchema schema = new ColumnSchema (this, table);
-
- schema.SchemaName = table.SchemaName;
- schema.Name = GetRowString (row, tableColumnItemStrings[0]);
- schema.DefaultValue = GetRowString (row, tableColumnItemStrings[1]);
- schema.HasDefaultValue = GetRowBool (row, tableColumnItemStrings[2]);
- schema.IsNullable = GetRowBool (row, tableColumnItemStrings[3]);
- schema.Position = GetRowInt (row, tableColumnItemStrings[4]);
- schema.DataTypeName = GetRowString (row, tableColumnItemStrings[7]);
- schema.DataType.ScaleRange.Default = GetRowInt (row, tableColumnItemStrings[6]);
- schema.DataType.PrecisionRange.Default = GetRowInt (row, tableColumnItemStrings[5]);
-
- return schema;
- }
-
- public virtual ViewSchemaCollection GetViews ()
- {
- ViewSchemaCollection collection = new ViewSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, table
- DataTable dt = conn.GetSchema (viewsCollectionString, null, connectionPool.ConnectionContext.ConnectionSettings.Database);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetView (row));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ViewSchema GetView (DataRow row)
- {
- ViewSchema schema = new ViewSchema (this);
-
- schema.SchemaName = GetRowString (row, viewItemStrings[0]);
- schema.Name = GetRowString (row, viewItemStrings[1]);
- schema.Comment = GetRowString (row, viewItemStrings[2]);
-
- return schema;
- }
-
- public virtual ColumnSchemaCollection GetViewColumns (ViewSchema view)
- {
- ColumnSchemaCollection collection = new ColumnSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, table, column
- DataTable dt = conn.GetSchema (viewColumnsCollectionString, null, view.SchemaName, view.Name);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetViewColumn (row, view));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ColumnSchema GetViewColumn (DataRow row, ViewSchema view)
- {
- ColumnSchema schema = new ColumnSchema (this, view);
-
- schema.SchemaName = view.SchemaName;
- schema.Name = GetRowString (row, viewColumnItemStrings[0]);
-
- return schema;
- }
-
- public virtual ProcedureSchemaCollection GetProcedures ()
- {
- ProcedureSchemaCollection collection = new ProcedureSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, name, type
- DataTable dt = conn.GetSchema (proceduresCollectionString, null, connectionPool.ConnectionContext.ConnectionSettings.Database);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetProcedure (row));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ProcedureSchema GetProcedure (DataRow row)
- {
- ProcedureSchema schema = new ProcedureSchema (this);
-
- schema.SchemaName = GetRowString (row, procedureItemStrings[0]);
- schema.Name = GetRowString (row, procedureItemStrings[1]);
-
- return schema;
- }
-
- public virtual ParameterSchemaCollection GetProcedureParameters (ProcedureSchema procedure)
- {
- ParameterSchemaCollection collection = new ParameterSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, name, type, parameter
- DataTable dt = conn.GetSchema (procedureParametersCollectionString, null, procedure.SchemaName, procedure.Name);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetProcedureParameter (row, procedure));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ParameterSchema GetProcedureParameter (DataRow row, ProcedureSchema procedure)
- {
- ParameterSchema schema = new ParameterSchema (this);
-
- schema.SchemaName = procedure.SchemaName;
- schema.Name = GetRowString (row, procedureParameterItemStrings[0]);
- schema.DataTypeName = GetRowString (row, procedureParameterItemStrings[1]);
- schema.Position = GetRowInt (row, procedureParameterItemStrings[2]);
-
- string paramType = GetRowString (row, procedureParameterItemStrings[3]);
- schema.ParameterType = String.Compare (paramType, "IN", true) == 0 ?
- ParameterType.In : (String.Compare (paramType, "OUT", true) == 0 ?
- ParameterType.Out : ParameterType.InOut);
-
- return schema;
- }
-
- public virtual ConstraintSchemaCollection GetTableConstraints (TableSchema table)
- {
- ConstraintSchemaCollection collection = new ConstraintSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, table, name
- DataTable dt = conn.GetSchema (foreignKeysCollectionString, null, connectionPool.ConnectionContext.ConnectionSettings.Database);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetTableConstraint (row, table));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ConstraintSchema GetTableConstraint (DataRow row, TableSchema table)
- {
- return null;
- }
-
- public virtual ColumnSchemaCollection GetTableIndexColumns (TableSchema table, IndexSchema index)
- {
- ColumnSchemaCollection collection = new ColumnSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, table, ConstraintName, column
- DataTable dt = conn.GetSchema (indexColumnsCollectionString, null, table.SchemaName, table.Name, index.Name);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetTableIndexColumn (row, table, index));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual ColumnSchema GetTableIndexColumn (DataRow row, TableSchema table, IndexSchema index)
- {
- ColumnSchema schema = new ColumnSchema (this, table);
-
- return schema;
- }
-
- public virtual IndexSchemaCollection GetTableIndexes (TableSchema table)
- {
- IndexSchemaCollection collection = new IndexSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, table, name
- DataTable dt = conn.GetSchema (indexesCollectionString, null, table.SchemaName, table.Name);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetTableIndex (row, table));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual IndexSchema GetTableIndex (DataRow row, TableSchema table)
- {
- IndexSchema schema = new IndexSchema (this);
-
- return schema;
- }
-
- public virtual ConstraintSchemaCollection GetColumnConstraints (TableSchema table, ColumnSchema column)
- {
- throw new NotImplementedException ();
- }
-
- public virtual UserSchemaCollection GetUsers ()
- {
- UserSchemaCollection collection = new UserSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: name
- DataTable dt = conn.GetSchema (usersCollectionString);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetUser (row));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual UserSchema GetUser (DataRow row)
- {
- UserSchema schema = new UserSchema (this);
- schema.Name = GetRowString (row, userItemStrings[0]);
- return schema;
- }
-
- public virtual DataTypeSchemaCollection GetDataTypes ()
- {
- DataTypeSchemaCollection collection = new DataTypeSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: name
- DataTable dt = conn.GetSchema (dataTypesCollectionString);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetDataType (row));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
-
- conn.Release ();
-
- return collection;
- }
-
- protected virtual DataTypeSchema GetDataType (DataRow row)
- {
- DataTypeSchema schema = new DataTypeSchema (this);
- schema.Name = GetRowString (row, dataTypeItemStrings[0]);
- schema.LengthRange = new Range (GetRowInt (row, dataTypeItemStrings[1]));
- schema.CreateFormat = GetRowString (row, dataTypeItemStrings[2]);
- schema.CreateParameters = GetRowString (row, dataTypeItemStrings[3]);
- schema.DotNetType = Type.GetType (GetRowString (row, dataTypeItemStrings[4]), false, false);
- schema.IsAutoincrementable = GetRowBool (row, dataTypeItemStrings[5]);
- schema.IsFixedLength = GetRowBool (row, dataTypeItemStrings[6]);
- schema.IsNullable = GetRowBool (row, dataTypeItemStrings[7]);
- schema.ScaleRange = new Range (GetRowInt (row, dataTypeItemStrings[9]), GetRowInt (row, dataTypeItemStrings[8]));
- schema.PrecisionRange = new Range (0);
-
- ProvideDataTypeInformation (schema);
-
- return schema;
- }
-
- protected virtual void ProvideDataTypeInformation (DataTypeSchema schema)
- {
- }
-
- public virtual DataTypeSchema GetDataType (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("name");
-
- DataTypeSchema schema = null;
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: name
- DataTable dt = conn.GetSchema (dataTypesCollectionString, name);
- if (dt.Rows.Count > 0)
- schema = GetDataType (dt.Rows[0]);
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return schema;
- }
-
- public virtual TriggerSchemaCollection GetTableTriggers (TableSchema table)
- {
- TriggerSchemaCollection collection = new TriggerSchemaCollection ();
-
- IPooledDbConnection conn = connectionPool.Request ();
- try {
- //restrictions: database, schema, name, EventObjectTable
- DataTable dt = conn.GetSchema (triggersCollectionString, null, table.SchemaName, null, table.Name);
- for (int r = 0; r < dt.Rows.Count; r++) {
- DataRow row = dt.Rows[r];
- collection.Add (GetTableTrigger (row, table));
- }
- } catch (Exception e) {
- QueryService.RaiseException (e);
- }
- conn.Release ();
-
- return collection;
- }
-
- protected virtual TriggerSchema GetTableTrigger (DataRow row, TableSchema table)
- {
- TriggerSchema schema = new TriggerSchema (this);
- schema.TableName = table.Name;
-
- return schema;
- }
-
- public virtual string GetTableCreateStatement (TableSchema table)
- {
- throw new NotImplementedException ();
- }
-
- public virtual bool IsValidName (string name)
- {
- return true;
- }
-
- public virtual AggregateSchema CreateAggregateSchema (string name)
- {
- AggregateSchema schema = new AggregateSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual CheckConstraintSchema CreateCheckConstraintSchema (string name)
- {
- CheckConstraintSchema schema = new CheckConstraintSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual ColumnSchema CreateColumnSchema (ISchema parent, string name)
- {
- ColumnSchema schema = new ColumnSchema (this, parent);
- schema.Name = name;
- return schema;
- }
-
- public virtual DatabaseSchema CreateDatabaseSchema (string name)
- {
- DatabaseSchema schema = new DatabaseSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual ForeignKeyConstraintSchema CreateForeignKeyConstraintSchema (string name)
- {
- ForeignKeyConstraintSchema schema = new ForeignKeyConstraintSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual GroupSchema CreateGroupSchema (string name)
- {
- GroupSchema schema = new GroupSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual IndexSchema CreateIndexSchema (string name)
- {
- IndexSchema schema = new IndexSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual LanguageSchema CreateLanguageSchema (string name)
- {
- LanguageSchema schema = new LanguageSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual OperatorSchema CreateOperatorSchema (string name)
- {
- OperatorSchema schema = new OperatorSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual ParameterSchema CreateParameterSchema (string name)
- {
- ParameterSchema schema = new ParameterSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual PrimaryKeyConstraintSchema CreatePrimaryKeyConstraintSchema (string name)
- {
- PrimaryKeyConstraintSchema schema = new PrimaryKeyConstraintSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual PrivilegeSchema CreatePrivilegeSchema (string name)
- {
- PrivilegeSchema schema = new PrivilegeSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual ProcedureSchema CreateProcedureSchema (string name)
- {
- ProcedureSchema schema = new ProcedureSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual RoleSchema CreateRoleSchema (string name)
- {
- RoleSchema schema = new RoleSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual RuleSchema CreateRuleSchema (string name)
- {
- RuleSchema schema = new RuleSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual SchemaSchema CreateSchemaSchema (string name)
- {
- SchemaSchema schema = new SchemaSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual SequenceSchema CreateSequenceSchema (string name)
- {
- SequenceSchema schema = new SequenceSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual TableSchema CreateTableSchema (string name)
- {
- TableSchema schema = new TableSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual TriggerSchema CreateTriggerSchema (string name)
- {
- TriggerSchema schema = new TriggerSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual UniqueConstraintSchema CreateUniqueConstraintSchema (string name)
- {
- UniqueConstraintSchema schema = new UniqueConstraintSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual UserSchema CreateUserSchema (string name)
- {
- UserSchema schema = new UserSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual ViewSchema CreateViewSchema (string name)
- {
- ViewSchema schema = new ViewSchema (this);
- schema.Name = name;
- return schema;
- }
-
- public virtual bool IsSchemaActionSupported (SchemaType type, SchemaActions action)
- {
- SchemaActions supported;
- if (supportedActions.TryGetValue (type, out supported))
- return (supported & action) == action;
- return false;
- }
-
- protected virtual void AddSupportedSchemaActions (SchemaType type, SchemaActions actions)
- {
- if (supportedActions.ContainsKey (type))
- supportedActions[type] = supportedActions[type] | actions;
- else
- supportedActions.Add (type, actions);
- }
-
- protected int GetCheckedInt32 (IDataReader reader, int field)
- {
- if (reader.IsDBNull (field))
- return 0;
-
- object o = reader.GetValue (field);
- int res = 0;
- if (int.TryParse (o.ToString (), out res))
- return res;
- return 0;
- }
-
- protected string GetCheckedString (IDataReader reader, int field)
- {
- if (reader.IsDBNull (field))
- return null;
-
- return reader.GetValue (field).ToString ();
- }
-
- protected virtual object GetRowObject (DataRow row, string name)
- {
- try {
- return row[name];
- } catch {
- return null;
- }
- }
-
- protected virtual string GetRowString (DataRow row, string name)
- {
- try {
- return row[name].ToString ();
- } catch {
- return null;
- }
- }
-
- protected virtual int GetRowInt (DataRow row, string name)
- {
- try {
- return (int)row[name];
- } catch {
- return 0;
- }
- }
-
- protected virtual bool GetRowBool (DataRow row, string name)
- {
- try {
- return (bool)row[name];
- } catch {
- return false;
- }
- }
-
- protected virtual string GetColumnsString (ColumnSchemaCollection columns, bool includeParens)
- {
- StringBuilder sb = new StringBuilder ();
- bool first = true;
- if (includeParens)
- sb.Append ("(");
- foreach (ColumnSchema column in columns) {
- if (first)
- first = false;
- else
- sb.Append (",");
- sb.Append (column.Name);
- }
- if (includeParens)
- sb.Append (")");
- return sb.ToString ();
- }
-
- protected virtual int ExecuteNonQuery (string sql)
- {
- using (IPooledDbConnection conn = connectionPool.Request ())
- {
- int result = conn.ExecuteNonQuery (sql);
- conn.Release ();
- return result;
- }
- }
-
- public virtual string GetMimeType ()
- {
- return "text/x-sql";
- }
-
- public virtual string GetSelectQuery (TableSchema table)
- {
- ISqlDialect dialect = this.ConnectionPool.DbFactory.Dialect;
- IdentifierExpression tableId = new IdentifierExpression (table.Name);
- List<IdentifierExpression> columns = new List<IdentifierExpression>();
-
- foreach (ColumnSchema col in table.Columns) {
- columns.Add(new IdentifierExpression(col.Name));
- }
-
- SelectStatement sel = new SelectStatement (new FromTableClause (tableId),columns);
- return dialect.GetSql(sel);
- }
-
- public virtual string GetUpdateQuery (TableSchema table)
- {
- ISqlDialect dialect = this.ConnectionPool.DbFactory.Dialect;
- IdentifierExpression tableId = new IdentifierExpression (table.Name);
- List<IdentifierExpression> columns = new List<IdentifierExpression>();
- List<IExpression> values = new List<IExpression>();
-
- foreach (ColumnSchema col in table.Columns) {
- columns.Add(new IdentifierExpression(col.Name));
- values.Add(new IdentifierExpression(col.DataTypeName));
- }
-
- UpdateStatement upd = new UpdateStatement (tableId, columns, values);
- return dialect.GetSql(upd);
- }
-
- public virtual string GetInsertQuery (TableSchema table)
- {
- StringBuilder sb = new StringBuilder ("INSERT INTO ");
- sb.AppendFormat ("{0} (", table.Name);
- bool coma = false;
- foreach (ColumnSchema col in table.Columns) {
- if (coma)
- sb.AppendFormat(",");
- coma = true;
- sb.Append (col.Name);
- }
-
- coma = false;
- sb.Append (")");
- sb.AppendLine ();
- sb.AppendFormat ("{0}VALUES (", Convert.ToString (Convert.ToChar (9)));
- foreach (ColumnSchema col in table.Columns) {
- if (coma)
- sb.AppendFormat(",");
- coma = true;
- if (col.DataType.FullName.IndexOf ("varchar", StringComparison.OrdinalIgnoreCase) > -1 ||
- col.DataType.FullName.IndexOf ("char", StringComparison.OrdinalIgnoreCase) > -1 ||
- col.DataType.FullName.IndexOf ("nvarchar", StringComparison.OrdinalIgnoreCase) > -1 ||
- col.DataType.FullName.IndexOf ("varbinary", StringComparison.OrdinalIgnoreCase) > -1 ||
- col.DataType.FullName.IndexOf ("nchar", StringComparison.OrdinalIgnoreCase) > -1)
- sb.AppendFormat ("<{0}({1})>", col.DataType.FullName, col.DataType.LengthRange.Max);
- else
- sb.AppendFormat ("<{0}>", col.DataType.FullName);
- }
- sb.Append (")");
- return sb.ToString ();
- }
-
- public virtual string GetDeleteQuery (TableSchema table)
- {
- return string.Concat ("DELETE FROM ", table.Name, Environment.NewLine, "WHERE" );
-
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IConnectionProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IConnectionProvider.cs
deleted file mode 100644
index 31d8bbf3f1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IConnectionProvider.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IConnectionProvider
- {
- IPooledDbConnection CreateConnection (IConnectionPool pool, DatabaseConnectionSettings settings, out string error);
-
- bool CheckConnection (IPooledDbConnection connection, DatabaseConnectionSettings settings);
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IEditSchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IEditSchemaProvider.cs
deleted file mode 100644
index 5fb5502fb3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IEditSchemaProvider.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IEditSchemaProvider : ISchemaProvider
- {
- void CreateDatabase (DatabaseSchema database);
- void CreateTable (TableSchema table);
- void CreateView (ViewSchema view);
- void CreateProcedure (ProcedureSchema procedure);
- void CreateIndex (IndexSchema index);
- void CreateTrigger (TriggerSchema trigger);
- void CreateUser (UserSchema user);
-
- void AlterDatabase (DatabaseAlterSchema database);
- void AlterTable (TableAlterSchema table);
- void AlterView (ViewAlterSchema view);
- void AlterProcedure (ProcedureAlterSchema procedure);
- void AlterIndex (IndexAlterSchema index);
- void AlterTrigger (TriggerAlterSchema trigger);
- void AlterUser (UserAlterSchema user);
-
- void DropDatabase (DatabaseSchema database);
- void DropTable (TableSchema table);
- void DropView (ViewSchema view);
- void DropProcedure (ProcedureSchema procedure);
- void DropIndex (IndexSchema index);
- void DropTrigger (TriggerSchema trigger);
- void DropUser (UserSchema user);
-
- void RenameDatabase (DatabaseSchema database, string name);
- void RenameTable (TableSchema table, string name);
- void RenameView (ViewSchema view, string name);
- void RenameProcedure (ProcedureSchema procedure, string name);
- void RenameIndex (IndexSchema index, string name);
- void RenameTrigger (TriggerSchema trigger, string name);
- void RenameUser (UserSchema user, string name);
-
- string GetTableAlterStatement (TableAlterSchema table);
- string GetViewAlterStatement (ViewSchema view);
- string GetProcedureAlterStatement (ProcedureSchema procedure);
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IGuiProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IGuiProvider.cs
deleted file mode 100644
index c70e0f3e7d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/IGuiProvider.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface IGuiProvider
- {
- bool ShowCreateDatabaseDialog (IDbFactory factory);
-
- bool ShowAddConnectionDialog (IDbFactory factory);
- bool ShowEditConnectionDialog (IDbFactory factory,
- DatabaseConnectionSettings settings,
- out DatabaseConnectionSettings newSettings);
-
- bool ShowTableEditorDialog (IEditSchemaProvider schemaProvider, TableSchema table, bool create);
-
- bool ShowViewEditorDialog (IEditSchemaProvider schemaProvider, ViewSchema view, bool create);
-
- bool ShowProcedureEditorDialog (IEditSchemaProvider schemaProvider, ProcedureSchema procedure, bool create);
-
- bool ShowUserEditorDialog (IEditSchemaProvider schemaProvider, UserSchema user, bool create);
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/ISchemaProvider.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/ISchemaProvider.cs
deleted file mode 100644
index 7e16777dc3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Providers/ISchemaProvider.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface ISchemaProvider
- {
- bool CanEdit { get; }
-
- IConnectionPool ConnectionPool { get; }
-
- DatabaseSchemaCollection GetDatabases ();
-
- TableSchemaCollection GetTables ();
- ColumnSchemaCollection GetTableColumns (TableSchema table);
- ConstraintSchemaCollection GetTableConstraints (TableSchema table);
- IndexSchemaCollection GetTableIndexes (TableSchema table);
- ColumnSchemaCollection GetTableIndexColumns (TableSchema table, IndexSchema index);
- TriggerSchemaCollection GetTableTriggers (TableSchema table);
-
- ConstraintSchemaCollection GetColumnConstraints (TableSchema table, ColumnSchema column);
-
- ViewSchemaCollection GetViews ();
- ColumnSchemaCollection GetViewColumns (ViewSchema view);
-
- ProcedureSchemaCollection GetProcedures ();
- ParameterSchemaCollection GetProcedureParameters (ProcedureSchema procedure);
-
- UserSchemaCollection GetUsers ();
-
- DataTypeSchemaCollection GetDataTypes ();
- DataTypeSchema GetDataType (string name);
-
- string GetTableCreateStatement (TableSchema table);
-
- bool IsValidName (string name);
-
- bool IsSchemaActionSupported (SchemaType type, SchemaActions action);
-
- AggregateSchema CreateAggregateSchema (string name);
- CheckConstraintSchema CreateCheckConstraintSchema (string name);
- ColumnSchema CreateColumnSchema (ISchema parent, string name);
- DatabaseSchema CreateDatabaseSchema (string name);
- ForeignKeyConstraintSchema CreateForeignKeyConstraintSchema (string name);
- GroupSchema CreateGroupSchema (string name);
- IndexSchema CreateIndexSchema (string name);
- LanguageSchema CreateLanguageSchema (string name);
- OperatorSchema CreateOperatorSchema (string name);
- ParameterSchema CreateParameterSchema (string name);
- PrimaryKeyConstraintSchema CreatePrimaryKeyConstraintSchema (string name);
- PrivilegeSchema CreatePrivilegeSchema (string name);
- ProcedureSchema CreateProcedureSchema (string name);
- RoleSchema CreateRoleSchema (string name);
- RuleSchema CreateRuleSchema (string name);
- SchemaSchema CreateSchemaSchema (string name);
- SequenceSchema CreateSequenceSchema (string name);
- TableSchema CreateTableSchema (string name);
- TriggerSchema CreateTriggerSchema (string name);
- UniqueConstraintSchema CreateUniqueConstraintSchema (string name);
- UserSchema CreateUserSchema (string name);
- ViewSchema CreateViewSchema (string name);
- string GetMimeType ();
- string GetSelectQuery (TableSchema table);
- string GetInsertQuery (TableSchema table);
- string GetUpdateQuery (TableSchema table);
- string GetDeleteQuery (TableSchema table);
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/QueryService.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/QueryService.cs
deleted file mode 100644
index 3fe68b8296..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/QueryService.cs
+++ /dev/null
@@ -1,127 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Christian Hergert
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Threading;
-using System.Collections.Generic;
-using Mono.Addins;
-using MonoDevelop.Database.Sql;
-using MonoDevelop.Core;
-using MonoDevelop.Ide;
-
-
-namespace MonoDevelop.Database.Sql
-{
- public delegate void DatabaseConnectionContextCallback (DatabaseConnectionContext context, bool connected, object state);
-
- public static class QueryService
- {
- public static void RaiseException (Exception exception)
- {
- MessageService.ShowException (exception);
- LoggingService.LogError ("Database Exception", exception);
- }
-
- public static void RaiseException (string message, Exception exception)
- {
- MessageService.ShowException (exception, message);
- LoggingService.LogError ("Database Exception", exception);
- }
-
- //TODO: show errors
- public static void EnsureConnection (DatabaseConnectionContext context, DatabaseConnectionContextCallback callback, object state)
- {
- if (context == null)
- throw new ArgumentNullException ("context");
- if (callback == null)
- throw new ArgumentNullException ("callback");
-
- IConnectionPool pool = context.ConnectionPool;
- if (pool.IsInitialized) {
- callback (context, true, state);
- return;
- }
-
- IDbFactory fac = DbFactoryService.GetDbFactory (context.ConnectionSettings);
- //FIXME: connection settings dialog
- //bool requiresPassword = fac.GetCapabilities ("ConnectionSettings", SchemaActions.Schema) == (int)ConnectionSettingsCapabilities.Password;
- bool requiresPassword = true;
-
- if (!context.ConnectionSettings.SavePassword && String.IsNullOrEmpty (context.ConnectionSettings.Password) && requiresPassword) {
- string password = MessageService.GetPassword (
- AddinCatalog.GetString ("Please enter the password for connection '{0}'",
- context.ConnectionSettings.Name),
- AddinCatalog.GetString ("Enter Password")
- );
-
- if (password == null) {
- callback (context, false, state);
- return;
- } else {
- context.ConnectionSettings.Password = password;
- }
- }
-
- EnsureConnectionState internalState = new EnsureConnectionState (context, callback, state);
- ThreadPool.QueueUserWorkItem (new WaitCallback (EnsureConnectionThreaded), internalState);
- }
-
- private static void EnsureConnectionThreaded (object obj)
- {
- EnsureConnectionState internalState = obj as EnsureConnectionState;
- IConnectionPool pool = internalState.ConnectionContext.ConnectionPool;
-
- try {
- bool connected = pool.Initialize ();
- DispatchService.GuiDispatch (delegate () {
- internalState.Callback (internalState.ConnectionContext, connected, internalState.State);
- });
- } catch (Exception e) {
- LoggingService.LogDebug (e.ToString ());
-
- DispatchService.GuiDispatch (delegate () {
- internalState.Callback (internalState.ConnectionContext, false, internalState.State);
- });
- }
- }
- }
-
- internal class EnsureConnectionState
- {
- public object State;
- public DatabaseConnectionContext ConnectionContext;
- public DatabaseConnectionContextCallback Callback;
-
- public EnsureConnectionState (DatabaseConnectionContext context, DatabaseConnectionContextCallback callback, object state)
- {
- ConnectionContext = context;
- Callback = callback;
- State = state;
- }
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AbstractSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AbstractSchema.cs
deleted file mode 100644
index 9dab91e8e7..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AbstractSchema.cs
+++ /dev/null
@@ -1,176 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class AbstractSchema : ISchema
- {
- public event EventHandler Changed;
-
- protected string name;
- protected string ownerName;
- protected string comment;
- protected string definition;
- protected string schema;
- protected ISchemaProvider provider;
-
- protected AbstractSchema (ISchemaProvider schemaProvider)
- {
- if (schemaProvider == null)
- throw new ArgumentNullException ("schemaProvider");
-
- this.provider = schemaProvider;
- }
-
- protected AbstractSchema (AbstractSchema schema)
- {
- if (schema == null)
- throw new ArgumentNullException ("schema");
-
- this.provider = schema.provider;
- this.name = schema.name;
- this.ownerName = schema.ownerName;
- this.comment = schema.comment;
- this.definition = schema.definition;
- this.schema = schema.schema;
- }
-
- public virtual string Name {
- get {
- return name;
- }
- set {
- if (name != value) {
- name = value;
- OnChanged ();
- }
- }
- }
-
- public virtual string FullName {
- get {
- if (!String.IsNullOrEmpty (schema))
- return schema + "." + name;
- else
- return name;
- }
- }
-
- public virtual string SchemaName {
- get {
- return schema;
- }
- set {
- if (schema != value) {
- schema = value;
- OnChanged();
- }
- }
- }
-
- public virtual SchemaSchema Schema {
- get {
- throw new NotImplementedException();
- }
- set {
- if (value != null)
- schema = value.Name;
- else
- schema = null;
- }
- }
-
- public virtual string Comment {
- get {
- return comment;
- }
- set {
- if (comment != value) {
- comment = value;
- OnChanged ();
- }
- }
- }
-
- public virtual string Definition {
- get {
- return definition;
- }
- set {
- if (definition != value) {
- definition = value;
- OnChanged ();
- }
- }
- }
-
- public ISchemaProvider SchemaProvider {
- get { return provider; }
- }
-
- public virtual string OwnerName {
- get {
- return ownerName;
- }
- set {
- if (ownerName != value) {
- ownerName = value;
- OnChanged ();
- }
- }
- }
-
- public virtual UserSchema Owner {
- get {
- throw new NotImplementedException();
- }
- }
-
- public virtual ICollection<PrivilegeSchema> Privileges {
- get {
- throw new NotImplementedException();
- }
- }
-
- public virtual void OnChanged()
- {
- if (Changed != null)
- Changed (this, EventArgs.Empty);
- }
-
- public virtual void Refresh()
- {
- }
-
- public abstract object Clone ();
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AggregateSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AggregateSchema.cs
deleted file mode 100644
index d0e1670fb2..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/AggregateSchema.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Schema/AggregateSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class AggregateSchema : AbstractSchema
- {
- public AggregateSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public AggregateSchema (AggregateSchema schema)
- : base (schema)
- {
- }
-
- public override string ToString()
- {
- return Name + "()";
- }
-
- public override object Clone ()
- {
- return new AggregateSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/CheckConstraintSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/CheckConstraintSchema.cs
deleted file mode 100644
index a65a4b03d0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/CheckConstraintSchema.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-// Schema/CheckConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class CheckConstraintSchema : ConstraintSchema
- {
- protected string source;
-
- public CheckConstraintSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider, ConstraintType.Check)
- {
- }
-
- public CheckConstraintSchema (CheckConstraintSchema constraint)
- : base (constraint)
- {
- source = constraint.source;
- }
-
- public string Source {
- get { return source; }
- set { source = value; }
- }
-
- public override object Clone ()
- {
- return new CheckConstraintSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ColumnSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ColumnSchema.cs
deleted file mode 100644
index e6d5dc8d42..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ColumnSchema.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ColumnSchema : AbstractSchema
- {
- protected ISchema parent;
- protected string dataType = String.Empty;
- protected bool hasDefaultValue;
- protected string defaultValue;
- protected bool nullable;
- protected int position = 0;
- protected ConstraintSchemaCollection constraints;
-
- public ColumnSchema (ISchemaProvider schemaProvider, ISchema parent)
- : base (schemaProvider)
- {
- this.parent = parent;
- }
-
- public ColumnSchema (ISchemaProvider schemaProvider, ISchema parent, string name)
- : base (schemaProvider)
- {
- this.constraints = new ConstraintSchemaCollection ();
- this.parent = parent;
- this.name = name;
- }
-
- public ColumnSchema (ColumnSchema column)
- : base (column)
- {
- parent = column.parent; //do not clone, this would create an infinite loop
- dataType = column.dataType;
- hasDefaultValue = column.hasDefaultValue;
- defaultValue = column.defaultValue;
- nullable = column.nullable;
- position = column.position;
- constraints = new ConstraintSchemaCollection (column.constraints);
- }
-
- public ISchema Parent {
- get { return parent; }
- set {
- if (parent != value) {
- parent = value;
- OnChanged ();
- }
- }
- }
-
- public DataTypeSchema DataType {
- get { return SchemaProvider.GetDataType (dataType); }
- }
-
- public string DataTypeName {
- get { return dataType; }
- set {
- if (dataType != value) {
- dataType = value;
- OnChanged ();
- }
- }
- }
-
- public virtual string DefaultValue {
- get { return defaultValue; }
- set {
- if (defaultValue != value) {
- defaultValue = value;
- OnChanged();
- }
- }
- }
-
- public virtual bool HasDefaultValue {
- get { return hasDefaultValue; }
- set {
- if (hasDefaultValue != value) {
- hasDefaultValue = value;
- OnChanged();
- }
- }
- }
-
- public virtual bool IsNullable {
- get { return nullable; }
- set {
- if (nullable != value) {
- nullable = value;
- OnChanged();
- }
- }
- }
-
- public virtual int Position {
- get { return position; }
- set {
- if (position != value) {
- position = value;
- OnChanged();
- }
- }
- }
-
- public ConstraintSchemaCollection Constraints {
- get {
- if (constraints == null)
- constraints = provider.GetColumnConstraints (parent as TableSchema, this);
- return constraints;
- }
- }
-
- public override void Refresh()
- {
- constraints = null;
- }
-
- public override object Clone ()
- {
- return new ColumnSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintSchema.cs
deleted file mode 100644
index 3841099572..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintSchema.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Schema/ConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public abstract class ConstraintSchema : AbstractSchema
- {
- protected ColumnSchemaCollection columns;
- protected bool isColumnConstraint;
- protected ConstraintType constraintType;
-
- protected ConstraintSchema (ISchemaProvider schemaProvider, ConstraintType constraintType)
- : base (schemaProvider)
- {
- columns = new ColumnSchemaCollection ();
- this.constraintType = constraintType;
- }
-
- protected ConstraintSchema (ConstraintSchema constraint)
- : base (constraint)
- {
- isColumnConstraint = constraint.isColumnConstraint;
- constraintType = constraint.constraintType;
- }
- public ColumnSchemaCollection Columns {
- get { return columns; }
- }
-
- public bool IsColumnConstraint {
- get { return isColumnConstraint; }
- set { isColumnConstraint = value; }
- }
-
- public ConstraintType ConstraintType {
- get { return constraintType; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintType.cs
deleted file mode 100644
index e30ccc2a54..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ConstraintType.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-// Schema/ConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum ConstraintType
- {
- Unique,
- Check,
- PrimaryKey,
- ForeignKey
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeCategory.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeCategory.cs
deleted file mode 100644
index f8c6059b27..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeCategory.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
- namespace MonoDevelop.Database.Sql
-{
- public enum DataTypeCategory
- {
- /// <summary>
- /// Used to define a column with a start value and a seed
- /// </summary>
- AutoNumber,
- /// <summary>
- /// Data type allowing only 2 possibilities, like: true/false, 1/0, ...
- /// </summary>
- Boolean,
- /// <summary>
- /// Data type allowing to store individual bits, length will be shown in bits instead of bytes
- /// </summary>
- Bit,
- /// <summary>
- /// Used for all numerical values without a comma (int, long, ...)
- /// </summary>
- Integer,
- /// <summary>
- /// Used for all floating point values (float, double, ...)
- /// </summary>
- Float,
- /// <summary>
- /// Single-byte fixed length text, padding is used when the inserted text is smaller then the stored text
- /// </summary>
- Char,
- /// <summary>
- /// Single-byte text, the length is not defined and can be variable
- /// </summary>
- VarChar,
- /// <summary>
- /// Multi-byte (unicode) fixed length text, padding is used when the inserted text is smaller then the stored text
- /// </summary>
- NChar,
- /// <summary>
- /// Multi-byte (unicode text, the length is not defined and can be variable
- /// </summary>
- NVarChar,
- /// <summary>
- /// Binary objects, like blob, clob, image, ... with a fixed length
- /// </summary>
- Binary,
- /// <summary>
- /// Binary objects, like blob, clob, image, ... with variable length
- /// </summary>
- VarBinary,
- /// <summary>
- /// Globally unique identifier, can be similar like the .NET System.Guid type
- /// </summary>
- Uid,
- /// <summary>
- /// Date field
- /// </summary>
- Date,
- /// <summary>
- /// Time field
- /// </summary>
- Time,
- /// <summary>
- /// TimeStamp field
- /// </summary>
- TimeStamp,
- /// <summary>
- /// Field containing both a date and a time
- /// </summary>
- DateTime,
- /// <summary>
- /// Special text containing XML chunks
- /// </summary>
- Xml,
- /// <summary>
- /// Undefined data type
- /// </summary>
- Other,
- /// <summary>
- /// A data type defined by the user
- /// </summary>
- UserDefined,
- /// <summary>
- ///A data type containing date intervals
- /// </summary>
- Interval
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeSchema.cs
deleted file mode 100644
index 226198b046..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DataTypeSchema.cs
+++ /dev/null
@@ -1,241 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class DataTypeSchema : AbstractSchema
- {
- protected bool isComplex;
- protected bool isNullable;
- protected bool isAutoincrementable;
- protected bool isFixedLength;
-
- protected DataTypeCategory category;
- protected Type dotNetType;
-
- protected string createFormat;
- protected string createParameters;
-
- protected Range lengthRange;
- protected Range precisionRange;
- protected Range scaleRange;
-
- public DataTypeSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- lengthRange = new Range (0);
- precisionRange = new Range (0);
- scaleRange = new Range (0);
- }
-
- public DataTypeSchema (DataTypeSchema dt)
- : base (dt)
- {
- this.isComplex = dt.isComplex;
- this.isNullable = dt.isNullable;
- this.isAutoincrementable = dt.isAutoincrementable;
- this.isFixedLength = dt.isFixedLength;
- this.category = dt.category;
- this.dotNetType = dt.dotNetType;
- this.createFormat = dt.createFormat;
- this.createParameters = dt.createParameters;
- this.lengthRange = new Range (dt.lengthRange);
- this.precisionRange = new Range (dt.precisionRange);
- this.scaleRange = new Range (dt.scaleRange);
- }
-
- public DataTypeCategory DataTypeCategory {
- get { return category; }
- set {
- if (category != value) {
- category = value;
- OnChanged ();
- }
- }
- }
-
- public bool HasRange {
- get { return precisionRange != null; }
- }
-
- public bool HasScale {
- get { return scaleRange != null; }
- }
-
- public Range LengthRange {
- get { return lengthRange; }
- set {
- if (lengthRange != value) {
- lengthRange = value;
- OnChanged ();
- }
- }
- }
-
- public Range PrecisionRange {
- get { return precisionRange; }
- set {
- if (precisionRange != value) {
- precisionRange = value;
- OnChanged ();
- }
- }
- }
-
- public Range ScaleRange {
- get { return scaleRange; }
- set {
- if (scaleRange != value) {
- scaleRange = value;
- OnChanged ();
- }
- }
- }
-
- public bool IsComplex {
- get { return isComplex; }
- set {
- if (isComplex != value) {
- isComplex = value;
- OnChanged();
- }
- }
- }
-
- public bool IsNullable {
- get { return isNullable; }
- set {
- if (isNullable != value) {
- isNullable = value;
- OnChanged();
- }
- }
- }
-
- public bool IsAutoincrementable {
- get { return isAutoincrementable; }
- set {
- if (isAutoincrementable != value) {
- isAutoincrementable = value;
- OnChanged();
- }
- }
- }
-
- public bool IsFixedLength {
- get { return isFixedLength; }
- set {
- if (isFixedLength != value) {
- isFixedLength = value;
- OnChanged();
- }
- }
- }
-
- public Type DotNetType {
- get { return dotNetType; }
- set {
- if (dotNetType != value) {
- dotNetType = value;
- OnChanged();
- }
- }
- }
-
- public string CreateFormat {
- get { return createFormat; }
- set {
- if (createFormat != value) {
- createFormat = value;
- OnChanged();
- }
- }
- }
-
- public string CreateParameters {
- get { return createParameters; }
- set {
- if (createParameters != value) {
- createParameters = value;
- OnChanged();
- }
- }
- }
-
- public ColumnSchemaCollection Columns {
- get {
- if (isComplex == false) {
- return new ColumnSchemaCollection ();
- } else {
- // TODO: Get complex columns from the provider
- throw new NotImplementedException();
- }
- }
- }
-
- public virtual string GetCreateString (ColumnSchema column)
- {
- if (createFormat == null) {
- return name;
- } else {
- if (createParameters != null) {
- string[] parameters = createParameters.Split (',');
- string[] chunks = new string[parameters.Length];
-
- int index=0;
- foreach (string param in parameters) {
- string chunk = param.ToLower ().Trim ();
-
- if (chunk.Contains ("length") || chunk.Contains ("size")) {
- chunks[index] = column.DataType.LengthRange.Default.ToString ();
- } else if (chunk.Contains ("scale")) {
- chunks[index] = column.DataType.ScaleRange.Default.ToString ();
- } else if (chunk.Contains ("precision")) {
- chunks[index] = column.DataType.PrecisionRange.Default.ToString ();
- } else {
- chunks[index] = String.Empty;
- }
- index++;
- }
-
- return String.Format (System.Globalization.CultureInfo.InvariantCulture, createFormat, chunks);
- }
-
- return createFormat;
- }
- }
-
- public override object Clone ()
- {
- return new DataTypeSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DatabaseSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DatabaseSchema.cs
deleted file mode 100644
index 044c13f04d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/DatabaseSchema.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-
-namespace MonoDevelop.Database.Sql
-{
- /// <summary>
- /// SQL schema object representing a database
- /// </summary>
- public class DatabaseSchema : AbstractSchema
- {
- public System.Collections.Generic.List<LineStatement> AfterCreationStatements = new
- System.Collections.Generic.List<LineStatement>();
-
-
- public DatabaseSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
-
- }
-
- public DatabaseSchema (DatabaseSchema schema)
- : base (schema)
- {
- }
-
- public override object Clone ()
- {
- return new DatabaseSchema (this);
- }
-
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyAction.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyAction.cs
deleted file mode 100644
index 4607c35592..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyAction.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum ForeignKeyAction
- {
- None,
- Cascade,
- Restrict,
- NoAction,
- SetDefault,
- SetNull
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyConstraintSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyConstraintSchema.cs
deleted file mode 100644
index 5aa219da99..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ForeignKeyConstraintSchema.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-//
-// Schema/ForeignKeyConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ForeignKeyConstraintSchema : ConstraintSchema
- {
- protected string referenceTable;
- protected ColumnSchemaCollection referenceColumns;
- protected ForeignKeyAction deleteAction;
- protected ForeignKeyAction updateAction;
-
- public ForeignKeyConstraintSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider, ConstraintType.ForeignKey)
- {
- referenceColumns = new ColumnSchemaCollection ();
- }
-
- public ForeignKeyConstraintSchema (ForeignKeyConstraintSchema constraint)
- : base (constraint)
- {
- referenceTable = constraint.referenceTable;
- referenceColumns = new ColumnSchemaCollection (constraint.referenceColumns);
- deleteAction = constraint.deleteAction;
- updateAction = constraint.updateAction;
- }
-
- public string ReferenceTableName {
- get { return referenceTable; }
- set {
- if (referenceTable != value) {
- referenceTable = value;
- OnChanged();
- }
- }
- }
-
- public TableSchema ReferenceTable {
- get { throw new NotImplementedException(); }
- set {
- referenceTable = value.FullName;
- OnChanged();
- }
- }
-
- public ForeignKeyAction DeleteAction {
- get { return deleteAction; }
- set {
- if (deleteAction != value) {
- deleteAction = value;
- OnChanged();
- }
- }
- }
-
- public ForeignKeyAction UpdateAction {
- get { return updateAction; }
- set {
- if (updateAction != value) {
- updateAction = value;
- OnChanged();
- }
- }
- }
-
- public ColumnSchemaCollection ReferenceColumns {
- get { return referenceColumns; }
- }
-
- public override object Clone ()
- {
- return new ForeignKeyConstraintSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/GroupSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/GroupSchema.cs
deleted file mode 100644
index 41b750999e..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/GroupSchema.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class GroupSchema : AbstractSchema
- {
- public GroupSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public GroupSchema (GroupSchema schema)
- : base (schema)
- {
- }
-
- public UserSchema Users {
- get {
- throw new NotImplementedException ();
- }
- }
-
- public ICollection<RoleSchema> Roles {
- get {
- throw new NotImplementedException ();
- }
- }
-
- public override object Clone ()
- {
- return new GroupSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ISchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ISchema.cs
deleted file mode 100644
index 1e5e76e9f3..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ISchema.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public interface ISchema : ICloneable
- {
- /// <summary>
- /// Event fired when the object is changed.
- /// </summary>
- event EventHandler Changed;
-
- /// <summary>
- /// SQL object name.
- /// </summary>
- string Name { get; set; }
-
- /// <summary>
- /// Full name of the object. This is typically `schema.objectname'.
- /// </summary>
- string FullName { get; }
-
- /// <summary>
- /// SQL Comment associated with this object.
- /// </summary>
- string Comment { get; set; }
-
- /// <summary>
- /// SQL Syntax Definition of this object.
- /// </summary>
- string Definition { get; set; }
-
- /// <summary>
- /// Name of schema
- /// </summary>
- string SchemaName { get; set; }
-
- /// <summary>
- /// Schema object representing the schema this object is part of.
- /// </summary>
- SchemaSchema Schema { get; set; }
-
- /// <summary>
- /// Set the owners name in the database by the literal string name
- /// of the user.
- /// </summary>
- string OwnerName { get; set; }
-
- /// <summary>
- /// Owner of this sql object.
- /// </summary>
- UserSchema Owner { get; }
-
- /// <summary>
- /// Privileges (sometimes known as ACL's) associated with this object.
- /// </summary>
- ICollection<PrivilegeSchema> Privileges { get; }
-
- /// <summary>
- /// The connection provider associated with this SQL object.
- /// </summary>
- ISchemaProvider SchemaProvider { get; }
-
- /// <summary>
- /// Refresh the object from the database.
- /// </summary>
- void Refresh();
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSchema.cs
deleted file mode 100644
index 0bc09f8c6a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSchema.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Schema/IndexConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class IndexSchema : AbstractSchema
- {
- protected string tableName;
- protected IndexType type;
- protected ColumnSchemaCollection columns; //TODO: create col subclass, to include sort order and length
-
- public IndexSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- columns = new ColumnSchemaCollection ();
- }
-
- public IndexSchema (IndexSchema index)
- : base (index)
- {
- this.tableName = index.tableName;
- this.type = index.type;
- this.columns = index.columns;
- }
-
- public string TableName {
- get { return tableName; }
- set {
- if (tableName != value) {
- tableName = value;
- OnChanged ();
- }
- }
- }
-
- public IndexType IndexType {
- get { return type; }
- set {
- if (type != value) {
- type = value;
- OnChanged ();
- }
- }
- }
-
- public ColumnSchemaCollection Columns {
- get { return columns; }
- }
-
- public override object Clone ()
- {
- return new IndexSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSortType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSortType.cs
deleted file mode 100644
index 05c37ebb1b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexSortType.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum IndexSortType
- {
- Ascending,
- Descending
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexType.cs
deleted file mode 100644
index a9a744cd43..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/IndexType.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum IndexType
- {
- Btree,
- Hash
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/LanguageSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/LanguageSchema.cs
deleted file mode 100644
index 25e6540355..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/LanguageSchema.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Schema/PrimaryKeyConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class LanguageSchema : AbstractSchema
- {
- protected string handler = null;
-
- public LanguageSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public LanguageSchema (LanguageSchema lang)
- : base (lang)
- {
- this.handler = lang.handler;
- }
-
- public ProcedureSchema Handler {
- get {
- // TODO: Get procedure
- throw new NotImplementedException();
- }
- set {
- handler = value.FullName;
- }
- }
-
- public override object Clone ()
- {
- return new LanguageSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/OperatorSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/OperatorSchema.cs
deleted file mode 100644
index 7e06ebd3ad..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/OperatorSchema.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Schema/OperatorSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class OperatorSchema : AbstractSchema
- {
- protected string leftDataType = null;
- protected string rightDataType = null;
-
- public OperatorSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public OperatorSchema (OperatorSchema op)
- : base (op)
- {
- this.leftDataType = op.leftDataType;
- this.rightDataType = op.rightDataType;
- }
-
- //TODO:
- public DataTypeSchema LeftDataType {
- get {
- throw new NotImplementedException();
- }
- set {
- if (value != null)
- leftDataType = value.Name;
- else
- leftDataType = String.Empty;
- }
- }
-
- public override object Clone ()
- {
- return new OperatorSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterSchema.cs
deleted file mode 100644
index 8d16bf513c..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterSchema.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ParameterSchema : AbstractSchema
- {
- protected string dataType;
- protected ParameterType paramType;
- protected int position;
-
- public ParameterSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public ParameterSchema (ParameterSchema param)
- : base (param)
- {
- this.dataType = param.dataType;
- this.paramType = param.paramType;
- this.position = param.position;
- }
-
- public DataTypeSchema DataType {
- get { return provider.GetDataType (dataType); }
- }
-
- public string DataTypeName {
- get { return dataType; }
- set {
- if (dataType != value) {
- dataType = value;
- OnChanged ();
- }
- }
- }
-
- public ParameterType ParameterType {
- get { return paramType; }
- set {
- if (paramType != value) {
- paramType = value;
- OnChanged();
- }
- }
- }
-
- public virtual int Position {
- get { return position; }
- set {
- if (position != value) {
- position = value;
- OnChanged();
- }
- }
- }
-
- public override object Clone ()
- {
- return new ParameterSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterType.cs
deleted file mode 100644
index 48746127a8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ParameterType.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum ParameterType
- {
- In,
- Out,
- InOut
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrimaryKeyConstraintSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrimaryKeyConstraintSchema.cs
deleted file mode 100644
index 7cf09c837a..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrimaryKeyConstraintSchema.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Schema/PrimaryKeyConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class PrimaryKeyConstraintSchema : ConstraintSchema
- {
- public PrimaryKeyConstraintSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider, ConstraintType.PrimaryKey)
- {
- }
-
- public PrimaryKeyConstraintSchema (PrimaryKeyConstraintSchema constraint)
- : base (constraint)
- {
- }
-
- public override object Clone ()
- {
- return new PrimaryKeyConstraintSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrivilegeSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrivilegeSchema.cs
deleted file mode 100644
index a9f7fc7af8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/PrivilegeSchema.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Schema/PrivilegeSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class PrivilegeSchema : AbstractSchema
- {
- //TODO: grantee? + which role??
- protected bool canGrant = false;
-
- public PrivilegeSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public PrivilegeSchema (PrivilegeSchema priv)
- : base (priv)
- {
- this.canGrant = priv.canGrant;
- }
-
- public bool CanGrant {
- get { return canGrant; }
- set {
- if (canGrant != value) {
- canGrant = value;
- OnChanged();
- }
- }
- }
-
- public override object Clone ()
- {
- return new PrivilegeSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ProcedureSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ProcedureSchema.cs
deleted file mode 100644
index 91903956bd..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ProcedureSchema.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ProcedureSchema : AbstractSchema
- {
- protected ParameterSchemaCollection parameters;
- protected string language;
- protected bool isSystemProcedure = false;
- protected bool isFunction = false;
-
- public ProcedureSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public ProcedureSchema (ProcedureSchema proc)
- : base (proc)
- {
- this.parameters = new ParameterSchemaCollection (parameters);
- this.language = proc.language;
- this.isSystemProcedure = proc.isSystemProcedure;
- }
-
- public ParameterSchemaCollection Parameters {
- get {
- if (parameters == null)
- parameters = provider.GetProcedureParameters (this);
- return parameters;
- }
- }
-
- public LanguageSchema Language {
- get {
- throw new NotImplementedException();
- }
- set {
- language = value.FullName;
- }
- }
-
- public string LanguageName {
- get {
- return language;
- }
- set {
- if (language != value) {
- language = value;
- OnChanged ();
- }
- }
- }
-
- public bool IsSystemProcedure {
- get {
- return isSystemProcedure;
- }
- set {
- if (isSystemProcedure != value) {
- isSystemProcedure = value;
- OnChanged ();
- }
- }
- }
-
- public bool IsFunction {
- get {
- return isFunction;
- }
- set {
- if (isFunction != value) {
- isFunction = value;
- OnChanged ();
- }
- }
- }
-
- public override object Clone ()
- {
- return new ProcedureSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/Range.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/Range.cs
deleted file mode 100644
index 1217687bbd..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/Range.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
- namespace MonoDevelop.Database.Sql
-{
- public class Range
- {
- private int min;
- private int max;
- private int defaultValue;
-
- public Range (int min, int max)
- {
- Max = max;
- Min = min;
- }
-
- public Range (int constRange)
- : this (constRange, constRange, constRange)
- {
- }
-
- public Range (int min, int max, int defaultValue)
- : this (min, max)
- {
- this.defaultValue = defaultValue;
- }
-
- public Range (Range range)
- : this (range.Min, range.Max, range.Default)
- {
- }
-
- public int Min {
- get { return min; }
- set {
- min = value;
- if (min > max)
- max = min;
- }
- }
-
-
- public int Max {
- get { return max; }
- set {
- max = value;
- if (max < min)
- min = max;
- }
- }
-
- public int Default {
- get { return defaultValue; }
- set { defaultValue = value; }
- }
-
- public bool IsInRange (int value)
- {
- return value >= min && value <= max;
- }
-
- public bool IsFixed {
- get { return min == max; }
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RoleSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RoleSchema.cs
deleted file mode 100644
index 4d0f7ae8d0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RoleSchema.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Schema/RoleSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class RoleSchema : AbstractSchema
- {
-// TODO: Should include a list of Privileges to object mappings. Also
-// needs to include what Identity this Role is connected to. IE: Group
-// or user.
- public RoleSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public RoleSchema (RoleSchema role)
- : base (role)
- {
- }
-
- public override object Clone ()
- {
- return new RoleSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RuleSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RuleSchema.cs
deleted file mode 100644
index 51e0c10043..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/RuleSchema.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Schema/RuleSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class RuleSchema : AbstractSchema
- {
- public RuleSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public RuleSchema (RuleSchema rule)
- : base (rule)
- {
- }
-
- public override object Clone ()
- {
- return new RuleSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaActions.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaActions.cs
deleted file mode 100644
index 296df38d17..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaActions.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- [Flags]
- public enum SchemaActions
- {
- None = 0x00,
-
- Schema = 0x01,
-
- Create = 0x02,
- Alter = 0x04,
- Drop = 0x08,
- Rename = 0x10,
-
- All = Schema | Create | Alter | Drop | Rename
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaSchema.cs
deleted file mode 100644
index 6d34cb639d..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaSchema.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Schema/SchemaSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class SchemaSchema : AbstractSchema
- {
- //TODO:
- public SchemaSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public SchemaSchema (SchemaSchema schema)
- : base (schema)
- {
- }
-
- public override SchemaSchema Schema {
- get {
- return null;
- }
- set {
- }
- }
-
- public override object Clone ()
- {
- return new SchemaSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaType.cs
deleted file mode 100644
index e2a1b1a045..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SchemaType.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- //TODO: TableColumnConstraint value
- //TODO: cannot use IsSchemaActionSupported on .Constraint --> need OR instead of AND
- public enum SchemaType
- {
- Schema,
- Table,
- TableColumn,
- View,
- ViewColumn,
- Procedure,
- ProcedureParameter,
- Trigger,
- PrimaryKeyConstraint,
- ForeignKeyConstraint,
- CheckConstraint,
- UniqueConstraint,
- Constraint = PrimaryKeyConstraint | ForeignKeyConstraint | CheckConstraint | UniqueConstraint,
- Aggregate,
- Database,
- Group,
- Index,
- Language,
- Operator,
- Privilege,
- Role,
- Rule,
- Sequence,
- User,
-
- Other
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SequenceSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SequenceSchema.cs
deleted file mode 100644
index 278e6e9cc0..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/SequenceSchema.cs
+++ /dev/null
@@ -1,99 +0,0 @@
-//
-// Schema/SequenceSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class SequenceSchema : AbstractSchema
- {
- protected string minValue;
- protected string maxValue;
- protected string currentValue;
- protected string increment;
-
- public SequenceSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public SequenceSchema (SequenceSchema seq)
- : base (seq)
- {
- this.minValue = seq.minValue;
- this.maxValue = seq.maxValue;
- this.currentValue = seq.currentValue;
- this.increment = seq.increment;
- }
-
- public string MinValue {
- get { return minValue; }
- set {
- if (minValue != value) {
- minValue = value;
- OnChanged();
- }
- }
- }
-
- public string MaxValue {
- get { return maxValue; }
- set {
- if (maxValue != value) {
- maxValue = value;
- OnChanged();
- }
- }
- }
-
- public string CurrentValue {
- get { return currentValue; }
- set {
- if (currentValue != value) {
- currentValue = value;
- OnChanged();
- }
- }
- }
-
- public string Increment {
- get { return increment; }
- set {
- if (increment != value) {
- increment = value;
- OnChanged();
- }
- }
- }
-
- public override object Clone ()
- {
- return new SequenceSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TableSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TableSchema.cs
deleted file mode 100644
index 1fc9d084fa..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TableSchema.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- /// <summary>
- /// SQL schema object representing a table
- /// </summary>
- public class TableSchema : AbstractSchema
- {
- //TODO: support for inherited table schemas
-
- protected bool isSystemTable = false;
- protected string tableSpaceName;
-
- protected ColumnSchemaCollection columns;
- protected ConstraintSchemaCollection constraints;
- protected TriggerSchemaCollection triggers;
-
- public TableSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public TableSchema (ISchemaProvider schemaProvider, string name)
- : base (schemaProvider)
- {
- Name = name;
-
- columns = new ColumnSchemaCollection ();
- constraints = new ConstraintSchemaCollection ();
- triggers = new TriggerSchemaCollection ();
- }
-
- public TableSchema (TableSchema table)
- : base (table)
- {
- isSystemTable = table.isSystemTable;
- tableSpaceName = table.tableSpaceName;
- columns = new ColumnSchemaCollection (table.columns);
- constraints = new ConstraintSchemaCollection (table.constraints);
- triggers = new TriggerSchemaCollection (table.triggers);
- }
-
- /// <summary>
- /// Is this table part of the database core
- /// </summary>
- public bool IsSystemTable {
- get {
- return isSystemTable;
- }
- set {
- isSystemTable = value;
- OnChanged ();
- }
- }
-
- public string TableSpaceName {
- get {
- return tableSpaceName;
- }
- set {
- tableSpaceName = value;
- OnChanged ();
- }
- }
-
- /// <summary>
- /// Override ToString() to show the tables FullName
- /// <remarks>
- /// Returns 'schema.tablename'
- /// </remarks>
- /// </summary>
- public override string ToString ()
- {
- return FullName;
- }
-
- /// <summary>
- /// Collection of columns associated with this table.
- /// </summary>
- public ColumnSchemaCollection Columns {
- get {
- if (columns == null)
- columns = provider.GetTableColumns(this);
- return columns;
- }
- }
-
- /// <summary>
- /// Collection of constraints associated with this table.
- /// </summary>
- public ConstraintSchemaCollection Constraints {
- get {
- if (constraints == null)
- constraints = provider.GetTableConstraints(this);
- return constraints;
- }
- }
-
- public TriggerSchemaCollection Triggers {
- get {
- if (triggers == null)
- triggers = provider.GetTableTriggers(this);
- return triggers;
- }
- }
-
- /// <summary>
- /// Refresh the information associated with this table.
- /// </summary>
- public override void Refresh()
- {
- // TODO: Update Name, etc.
- columns = null;
- constraints = null;
- triggers = null;
- definition = null;
- }
-
- public override object Clone ()
- {
- TableSchema clone = new TableSchema (this);
- if (clone.columns != null) {
- foreach (ColumnSchema column in clone.columns)
- column.Parent = clone;
- }
- return clone;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerEvent.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerEvent.cs
deleted file mode 100644
index 5dae4408d4..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerEvent.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- [Flags]
- public enum TriggerEvent
- {
- Insert,
- Update,
- Delete
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerFireType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerFireType.cs
deleted file mode 100644
index 8124ab1a11..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerFireType.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum TriggerFireType
- {
- ForEachRow,
- ForEachStatement
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerSchema.cs
deleted file mode 100644
index d6c77e4acb..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerSchema.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-//
-// Schema/TriggerSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class TriggerSchema : AbstractSchema
- {
- protected string tableName;
- protected TriggerType triggerType;
- protected TriggerFireType triggerFireType;
- protected TriggerEvent triggerEvent;
- protected int position;
- protected bool isActive;
- protected string source;
-
- public TriggerSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public TriggerSchema (TriggerSchema trigger)
- : base (trigger)
- {
- tableName = trigger.tableName;
- triggerType = trigger.triggerType;
- triggerFireType = trigger.triggerFireType;
- triggerEvent = trigger.triggerEvent;
- position = trigger.position;
- isActive = trigger.isActive;
- source = trigger.source;
- }
-
- public string TableName {
- get { return tableName; }
- set {
- if (tableName != value) {
- tableName = value;
- OnChanged ();
- }
- }
- }
-
- public TriggerType TriggerType {
- get { return triggerType; }
- set {
- if (triggerType != value) {
- triggerType = value;
- OnChanged ();
- }
- }
- }
-
- public TriggerFireType TriggerFireType {
- get { return triggerFireType; }
- set {
- if (triggerFireType != value) {
- triggerFireType = value;
- OnChanged ();
- }
- }
- }
-
- public TriggerEvent TriggerEvent {
- get { return triggerEvent; }
- set {
- if (triggerEvent != value) {
- triggerEvent = value;
- OnChanged ();
- }
- }
- }
-
- public int Position {
- get { return position; }
- set {
- if (position != value) {
- position = value;
- OnChanged ();
- }
- }
- }
-
- public bool IsActive {
- get { return isActive; }
- set {
- if (isActive != value) {
- isActive = value;
- OnChanged ();
- }
- }
- }
-
- public string Source {
- get { return source; }
- set {
- if (source != value) {
- source = value;
- OnChanged ();
- }
- }
- }
-
- public override object Clone ()
- {
- return new TriggerSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerType.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerType.cs
deleted file mode 100644
index bbc21dfdf8..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/TriggerType.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Authors:
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum TriggerType
- {
- Before,
- After
- }
-} \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UniqueConstraintSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UniqueConstraintSchema.cs
deleted file mode 100644
index 7ccb6932d1..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UniqueConstraintSchema.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Schema/UniqueConstraintSchema.cs
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-
-namespace MonoDevelop.Database.Sql
-{
- public class UniqueConstraintSchema : ConstraintSchema
- {
- public UniqueConstraintSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider, ConstraintType.Unique)
- {
- }
-
- public UniqueConstraintSchema (UniqueConstraintSchema constraint)
- : base (constraint)
- {
- }
-
- public override object Clone ()
- {
- return new UniqueConstraintSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UserSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UserSchema.cs
deleted file mode 100644
index 54b78720cc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/UserSchema.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class UserSchema : AbstractSchema
- {
- protected string userId;
- protected string password;
- protected DateTime expires = DateTime.MinValue;
-
- //TODO: list of allowed hosts?
-
- public UserSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public UserSchema (UserSchema user)
- : base (user)
- {
- this.userId = user.userId;
- this.password = user.password;
- this.expires = user.expires;
- }
-
- public virtual ICollection<RoleSchema> Roles {
- get {
- throw new NotImplementedException();
- }
- }
-
- public virtual string UserId {
- get { return userId; }
- set {
- if (userId != value) {
- userId = value;
- OnChanged ();
- }
- }
- }
-
- public virtual string Password {
- get { return password; }
- set {
- if (password != value) {
- password = value;
- OnChanged ();
- }
- }
- }
-
- public virtual DateTime Expires {
- get { return expires; }
- set {
- if (expires != value) {
- expires = value;
- OnChanged ();
- }
- }
- }
-
- public override object Clone ()
- {
- return new UserSchema (this);
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ViewSchema.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ViewSchema.cs
deleted file mode 100644
index 41612193bc..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/Schema/ViewSchema.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-//
-// Authors:
-// Christian Hergert <chris@mosaix.net>
-// Ben Motmans <ben.motmans@gmail.com>
-//
-// Copyright (C) 2005 Mosaix Communications, Inc.
-// Copyright (c) 2007 Ben Motmans
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Database.Sql
-{
- public class ViewSchema : AbstractSchema
- {
- protected bool isSystemView = false;
- protected string statement;
- protected ColumnSchemaCollection columns;
-
- public ViewSchema (ISchemaProvider schemaProvider)
- : base (schemaProvider)
- {
- }
-
- public ViewSchema (ViewSchema view)
- : base (view)
- {
- this.isSystemView = view.isSystemView;
- this.statement = view.statement;
- this.columns = new ColumnSchemaCollection (view.columns);
- }
-
- public bool IsSystemView {
- get { return isSystemView; }
- set {
- if (isSystemView != value) {
- isSystemView = value;
- OnChanged();
- }
- }
- }
-
- public string Statement {
- get { return statement; }
- set {
- if (statement != value) {
- statement = value;
- OnChanged();
- }
- }
- }
-
- /// <summary>
- /// Collection of columns associated with this view.
- /// </summary>
- public ColumnSchemaCollection Columns {
- get {
- if (columns == null)
- columns = provider.GetViewColumns(this);
- return columns;
- }
- }
-
- /// <summary>
- /// Refresh the information associated with this view.
- /// </summary>
- public override void Refresh()
- {
- definition = null;
- }
-
- public override object Clone ()
- {
- ViewSchema clone = new ViewSchema (this);
- if (clone.columns != null) {
- foreach (ColumnSchema column in clone.columns)
- column.Parent = clone;
- }
- return clone;
- }
- }
-}
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalExecException.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalExecException.cs
deleted file mode 100644
index 65c754b96b..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalExecException.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// SqlMetalExecException.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2010 Lucian0
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-using System;
-namespace MonoDevelop.Database.Sql
-{
- public class SqlMetalExecException:Exception
- {
- public SqlMetalExecException ()
- {
- }
-
- public SqlMetalExecException (string message):base (message)
- {
-
- }
- }
-}
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalServices.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalServices.cs
deleted file mode 100644
index 482d1c3300..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Sql/SqlMetalServices.cs
+++ /dev/null
@@ -1,152 +0,0 @@
-//
-// SqlMetalServices.cs
-//
-// Author:
-// Luciano N. Callero <lnc19@hotmail.com>
-//
-// Copyright (c) 2010 Lucian0
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-using System;
-using System.Text;
-using System.IO;
-using System.Diagnostics;
-using MonoDevelop.Core;
-using MonoDevelop.Ide.Gui;
-
-namespace MonoDevelop.Database.Sql
-{
- public enum FileOutputType {
- DBML,
- Code,
- Both
- }
-
- public static class SqlMetalServices
- {
- static string metal;
-
- static SqlMetalServices ()
- {
- metal = "sqlmetal";
- }
-
- public static bool Generate (string provider, DatabaseConnectionSettings connection, string outputType,
- string outputFile, string language, string outputStyle, string defaultNamespace,
- string entityBase, string entityAttr, string membersAttr, string generateTypes,
- string culture, bool generateSchema, bool generateTimestamp,
- bool overrideEqualAndHash, bool extractProcedures, bool pluralize)
- {
-
- StringBuilder parameters = new StringBuilder ();
-
- if (provider.Equals ("sqlite", StringComparison.InvariantCultureIgnoreCase)) {
- parameters.AppendFormat ("/provider:{0} ", provider);
- parameters.AppendFormat ("/conn:Uri=file:{0} ", connection.Database);
- } else {
- parameters.AppendFormat ("/server:{0} ", connection.Server);
- parameters.AppendFormat ("/provider:{0} ", provider);
- parameters.AppendFormat ("/user:{0} ", connection.Username);
- parameters.AppendFormat ("/password:{0} ", connection.Password);
- parameters.AppendFormat ("/database:{0} ", connection.Database);
- }
-
- if (outputType.Equals (AddinCatalog.GetString ("code"), StringComparison.InvariantCultureIgnoreCase)
- || outputType.Equals (AddinCatalog.GetString ("Code & DBML"),
- StringComparison.InvariantCultureIgnoreCase)) {
- parameters.AppendFormat ("/code:{0} ", outputFile);
- parameters.AppendFormat ("/case:{0} ", outputStyle);
- parameters.AppendFormat ("/language:{0} ", language.Replace ("#", @"\#"));
-
- }
-
- if (outputType.Equals (AddinCatalog.GetString ("DBML"), StringComparison.InvariantCultureIgnoreCase)
- || outputType.Equals (AddinCatalog.GetString ("Code & DBML"),
- StringComparison.InvariantCultureIgnoreCase)) {
- string dbmlFile = string.Concat (Path.GetFileNameWithoutExtension (outputFile), ".dbml");
- parameters.AppendFormat ("/dbml:{0} ", dbmlFile);
- }
-
- if (!string.IsNullOrEmpty (defaultNamespace))
- parameters.AppendFormat ("/namespace:{0} ", defaultNamespace);
-
- if (!string.IsNullOrEmpty (entityBase))
- parameters.AppendFormat ("/entityBase:{0} ", entityBase);
-
- if (!string.IsNullOrEmpty (entityAttr))
- parameters.AppendFormat ("/entityAttributes:{0} ", entityAttr);
-
- if (!string.IsNullOrEmpty (membersAttr))
- parameters.AppendFormat ("/memberAttributes:{0} ", membersAttr);
-
- if (!string.IsNullOrEmpty (generateTypes))
- parameters.AppendFormat ("/generate-type:{0} ", generateTimestamp);
-
- if (!string.IsNullOrEmpty (culture))
- parameters.AppendFormat ("/culture:{0} ", culture);
-
- if (!generateSchema)
- parameters.Append ("/schema:false");
-
- if (!generateTimestamp)
- parameters.Append ("/generate-timestamps:false");
-
- if (overrideEqualAndHash)
- parameters.Append ("/generateEqualsAndHash");
-
- if (extractProcedures)
- parameters.Append ("/sprocs");
-
- if (pluralize)
- parameters.Append ("/pluralize");
-
- Console.WriteLine (parameters);
- ProcessStartInfo info = new ProcessStartInfo (metal, parameters.ToString ());
- info.UseShellExecute = false;
- info.RedirectStandardError = true;
- info.RedirectStandardOutput = true;
- StringWriter outWriter = new StringWriter ();
- StringWriter errorWriter = new StringWriter ();
- MonoDevelop.Core.Execution.ProcessWrapper p = Runtime.ProcessService.StartProcess (info, outWriter, errorWriter, null);
- p.WaitForExit ();
- if (errorWriter.ToString () != "") {
- QueryService.RaiseException ("Cannot create Linq Class",
- new SqlMetalExecException (errorWriter.ToString ()));
- return false;
- }
-
- // Process.Start (metal, parameters.ToString ());
- return true;
- }
-
-
- public static bool Generate (string provider, DatabaseConnectionSettings connection, string outputType,
- string outputFile, string defaultNamespace, string entityBase, string entityAttr,
- string membersAttr, string generateTypes, string culture, bool generateSchema,
- bool generateTimestamp, bool overrideEqualAndHash, bool extractProcedures,
- bool pluralize)
- {
- return Generate (provider, connection, outputType, outputFile, "", "", defaultNamespace, entityBase, entityAttr,
- membersAttr, generateTypes, culture, generateSchema, generateTimestamp, overrideEqualAndHash,
- extractProcedures, pluralize);
- }
-
- }
-}
-
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.sln b/extras/MonoDevelop.Database/MonoDevelop.Database.sln
deleted file mode 100644
index 63558cf91f..0000000000
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.sln
+++ /dev/null
@@ -1,124 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql", "MonoDevelop.Database.Sql\MonoDevelop.Database.Sql.csproj", "{04CA279D-CDAB-4A90-A78C-75EF8367AFD0}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Tests", "MonoDevelop.Database.Sql.Tests\MonoDevelop.Database.Sql.Tests.csproj", "{A0ADC42C-3DF3-4246-864F-AC56CA5A0B6A}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Query", "MonoDevelop.Database.Query\MonoDevelop.Database.Query.csproj", "{5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Sybase", "MonoDevelop.Database.Sql.Sybase\MonoDevelop.Database.Sql.Sybase.csproj", "{3058BC46-070F-4492-BDC9-40E0ED0D53D8}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.MySql", "MonoDevelop.Database.Sql.MySql\MonoDevelop.Database.Sql.MySql.csproj", "{1EAB54C2-4F9D-421F-A362-CCE28496820C}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Firebird", "MonoDevelop.Database.Sql.Firebird\MonoDevelop.Database.Sql.Firebird.csproj", "{DF9EC79D-A4EF-4C63-9A2F-15B4F36C98A3}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.SqlServer", "MonoDevelop.Database.Sql.SqlServer\MonoDevelop.Database.Sql.SqlServer.csproj", "{5E1BF9DD-D1DF-40B4-8696-734AD849A569}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Sqlite", "MonoDevelop.Database.Sql.Sqlite\MonoDevelop.Database.Sql.Sqlite.csproj", "{27294C4B-C55B-4A18-94A7-96A701F08613}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Oracle", "MonoDevelop.Database.Sql.Oracle\MonoDevelop.Database.Sql.Oracle.csproj", "{E63B005C-852C-4D06-A49D-37838EA5A2B2}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Npgsql", "MonoDevelop.Database.Sql.Npgsql\MonoDevelop.Database.Sql.Npgsql.csproj", "{854F4CC1-BFDF-457E-89E0-0B7E20F1FDA3}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Sql.Odbc", "MonoDevelop.Database.Sql.Odbc\MonoDevelop.Database.Sql.Odbc.csproj", "{38607664-F006-4187-A139-F0786BA33D2E}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.ConnectionManager", "MonoDevelop.Database.ConnectionManager\MonoDevelop.Database.ConnectionManager.csproj", "{4717940A-3AD8-4D4C-88C8-5A6111939FAA}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Components", "MonoDevelop.Database.Components\MonoDevelop.Database.Components.csproj", "{70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.Designer", "MonoDevelop.Database.Designer\MonoDevelop.Database.Designer.csproj", "{8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}"
-EndProject
-Project("{9344bdbb-3e7f-41fc-a0dd-8665d75ee146}") = "po", "po\po.mdproj", "{0CC523C2-CCB4-4BE6-8050-A20050521093}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Database.CodeGenerator", "MonoDevelop.Database.CodeGenerator\MonoDevelop.Database.CodeGenerator.csproj", "{D945526C-0897-4FE8-AAFD-29B4BAB4174F}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {04CA279D-CDAB-4A90-A78C-75EF8367AFD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {04CA279D-CDAB-4A90-A78C-75EF8367AFD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {04CA279D-CDAB-4A90-A78C-75EF8367AFD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {04CA279D-CDAB-4A90-A78C-75EF8367AFD0}.Release|Any CPU.Build.0 = Release|Any CPU
- {0CC523C2-CCB4-4BE6-8050-A20050521093}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0CC523C2-CCB4-4BE6-8050-A20050521093}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0CC523C2-CCB4-4BE6-8050-A20050521093}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0CC523C2-CCB4-4BE6-8050-A20050521093}.Release|Any CPU.Build.0 = Release|Any CPU
- {1EAB54C2-4F9D-421F-A362-CCE28496820C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1EAB54C2-4F9D-421F-A362-CCE28496820C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1EAB54C2-4F9D-421F-A362-CCE28496820C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {27294C4B-C55B-4A18-94A7-96A701F08613}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {27294C4B-C55B-4A18-94A7-96A701F08613}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {27294C4B-C55B-4A18-94A7-96A701F08613}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {27294C4B-C55B-4A18-94A7-96A701F08613}.Release|Any CPU.Build.0 = Release|Any CPU
- {3058BC46-070F-4492-BDC9-40E0ED0D53D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3058BC46-070F-4492-BDC9-40E0ED0D53D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3058BC46-070F-4492-BDC9-40E0ED0D53D8}.Release|Any CPU.Build.0 = Release|Any CPU
- {38607664-F006-4187-A139-F0786BA33D2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {38607664-F006-4187-A139-F0786BA33D2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {38607664-F006-4187-A139-F0786BA33D2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {38607664-F006-4187-A139-F0786BA33D2E}.Release|Any CPU.Build.0 = Release|Any CPU
- {4717940A-3AD8-4D4C-88C8-5A6111939FAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4717940A-3AD8-4D4C-88C8-5A6111939FAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4717940A-3AD8-4D4C-88C8-5A6111939FAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4717940A-3AD8-4D4C-88C8-5A6111939FAA}.Release|Any CPU.Build.0 = Release|Any CPU
- {5E1BF9DD-D1DF-40B4-8696-734AD849A569}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5E1BF9DD-D1DF-40B4-8696-734AD849A569}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5E1BF9DD-D1DF-40B4-8696-734AD849A569}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5E1BF9DD-D1DF-40B4-8696-734AD849A569}.Release|Any CPU.Build.0 = Release|Any CPU
- {5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5E9C76F1-10A1-4D44-9A45-6FBADE5B5837}.Release|Any CPU.Build.0 = Release|Any CPU
- {70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {70E5F8DB-FB9B-41BE-A4D5-4075056C6D04}.Release|Any CPU.Build.0 = Release|Any CPU
- {854F4CC1-BFDF-457E-89E0-0B7E20F1FDA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {854F4CC1-BFDF-457E-89E0-0B7E20F1FDA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {854F4CC1-BFDF-457E-89E0-0B7E20F1FDA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8BA96BBA-D7D5-4C72-9AF1-DD816D8D958F}.Release|Any CPU.Build.0 = Release|Any CPU
- {A0ADC42C-3DF3-4246-864F-AC56CA5A0B6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A0ADC42C-3DF3-4246-864F-AC56CA5A0B6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A0ADC42C-3DF3-4246-864F-AC56CA5A0B6A}.Release|Any CPU.Build.0 = Release|Any CPU
- {D945526C-0897-4FE8-AAFD-29B4BAB4174F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D945526C-0897-4FE8-AAFD-29B4BAB4174F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D945526C-0897-4FE8-AAFD-29B4BAB4174F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D945526C-0897-4FE8-AAFD-29B4BAB4174F}.Release|Any CPU.Build.0 = Release|Any CPU
- {DF9EC79D-A4EF-4C63-9A2F-15B4F36C98A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DF9EC79D-A4EF-4C63-9A2F-15B4F36C98A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DF9EC79D-A4EF-4C63-9A2F-15B4F36C98A3}.Release|Any CPU.Build.0 = Release|Any CPU
- {E63B005C-852C-4D06-A49D-37838EA5A2B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E63B005C-852C-4D06-A49D-37838EA5A2B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E63B005C-852C-4D06-A49D-37838EA5A2B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E63B005C-852C-4D06-A49D-37838EA5A2B2}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = MonoDevelop.Database.Sql.Tests\MonoDevelop.Database.Sql.Tests.csproj
- Policies = $0
- $0.DotNetNamingPolicy = $1
- $1.DirectoryNamespaceAssociation = Flat
- $1.ResourceNamePolicy = FileName
- $0.StandardHeader = $2
- $2.Text = @\n${FileName}\n \nAuthor:\n ${AuthorName} <${AuthorEmail}>\n\nCopyright (c) ${Year} ${CopyrightHolder}\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.
- $2.IncludeInNewFiles = True
- $0.TextStylePolicy = $3
- $3.FileWidth = 120
- $3.TabWidth = 4
- $3.inheritsSet = Mono
- $3.inheritsScope = text/plain
- $0.VersionControlPolicy = $4
- $4.inheritsSet = Mono
- $0.ChangeLogPolicy = $5
- $5.UpdateMode = None
- $5.VcsIntegration = None
- $5.inheritsSet = Mono
- outputpath = build\bin\
- EndGlobalSection
-EndGlobal
diff --git a/extras/MonoDevelop.Database/NEWS b/extras/MonoDevelop.Database/NEWS
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/NEWS
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/README b/extras/MonoDevelop.Database/README
deleted file mode 100644
index e69de29bb2..0000000000
--- a/extras/MonoDevelop.Database/README
+++ /dev/null
diff --git a/extras/MonoDevelop.Database/autogen.sh b/extras/MonoDevelop.Database/autogen.sh
deleted file mode 100755
index 59d1fc3a62..0000000000
--- a/extras/MonoDevelop.Database/autogen.sh
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-# Ripped off from GNOME macros version
-
-DIE=0
-
-PKG_NAME=MonoDevelop
-WANT_AUTOCONF="2.5"
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-(autoconf --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "**Error**: You must have \`autoconf' installed to compile MonoDevelop."
- echo "Download the appropriate package for your distribution,"
- echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
- DIE=1
-}
-
-(automake --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "**Error**: You must have \`automake' installed to compile MonoDevelop."
- echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
- echo "(or a newer version if it is available)"
- DIE=1
- NO_AUTOMAKE=yes
-}
-
-# if no automake, don't bother testing for aclocal
-test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "**Error**: Missing \`aclocal'."
- DIE=1
-}
-
-if test "$DIE" -eq 1; then
- exit 1
-fi
-
-if test -z "$*"; then
- echo "**Warning**: I am going to run \`configure' with no arguments."
- echo "If you wish to pass any to it, please specify them on the"
- echo \`$0\'" command line."
- echo
-fi
-
-case $CC in
-xlc )
- am_opt=--include-deps;;
-esac
-
-echo "Running aclocal $ACLOCAL_FLAGS ..."
-aclocal $ACLOCAL_FLAGS || {
- echo
- echo "**Error**: aclocal failed. This may mean that you have not"
- echo "installed all of the packages you need, or you may need to"
- echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
- echo "for the prefix where you installed the packages whose"
- echo "macros were not found"
- exit 1
-}
-
-echo "Running automake --gnu $am_opt ..."
-automake --add-missing --gnu $am_opt ||
- { echo "**Error**: automake failed."; exit 1; }
-
-echo "Running autoconf ..."
-WANT_AUTOCONF="2.5" autoconf || { echo "**Error**: autoconf failed."; exit 1; }
-
-
-conf_flags="--enable-maintainer-mode --enable-compile-warnings"
-
-if test x$NOCONFIGURE = x; then
- echo Running $srcdir/configure $conf_flags "$@" ...
- $srcdir/configure $conf_flags "$@" \
- && echo Now type \`make\' to compile $PKG_NAME || exit 1
-else
- echo Skipping configure process.
-fi
diff --git a/extras/MonoDevelop.Database/configure.in b/extras/MonoDevelop.Database/configure.in
deleted file mode 100644
index 094f1247cc..0000000000
--- a/extras/MonoDevelop.Database/configure.in
+++ /dev/null
@@ -1,168 +0,0 @@
-AC_INIT([monodevelop-database], m4_esyscmd_s([grep ^Version ../../version.config|cut -d '=' -f 2|tr -d '\n']), [monodevelop-list@lists.ximian.com])
-AC_PREREQ(2.53)
-AM_INIT_AUTOMAKE([1.9 tar-ustar])
-AM_MAINTAINER_MODE
-
-ASSEMBLY_VERSION=4.0.0.0
-
-AC_PATH_PROG(MONO, mono)
-AC_PATH_PROG(MCS, dmcs)
-
-if test "x$MONO" = "x" ; then
- AC_MSG_ERROR([Can't find "mono" in your PATH])
-fi
-
-if test "x$MCS" = "x" ; then
- AC_MSG_ERROR([Can't find "dmcs" in your PATH])
-fi
-AC_SUBST(PATH)
-AC_SUBST(LD_LIBRARY_PATH)
-
-MONO_REQUIRED_VERSION=2.6.1
-PKG_CHECK_MODULES(UNMANAGED_DEPENDENCIES_MONO,mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
-
-if test "x$has_mono" = "xfalse"; then
- AC_MSG_ERROR([Please install mono version $MONO_REQUIRED_VERSION or later to install MonoDevelop.
-Please see http://www.mono-project.org/ to download latest mono sources or packages])
-fi
-
-if test "x$has_mono" = "xtrue"; then
- if test `uname -s` = "Darwin"; then
- AC_PATH_PROG(RUNTIME, mono, no)
- AC_PATH_PROG(CSC, dmcs, no)
- LIB_PREFIX=
- LIB_SUFFIX=.dylib
- else
- AC_PATH_PROG(RUNTIME, mono, no)
- AC_PATH_PROG(CSC, dmcs, no)
- LIB_PREFIX=.so
- LIB_SUFFIX=
- fi
-fi
-
-# Find msgfmt and msgmerge for translations
-AC_PATH_PROG(MSGFMT, msgfmt, no)
-if test "x$MSGFMT" = "xno"; then
- AC_MSG_ERROR([You need to install msgfmt from intltool])
-fi
-AC_PATH_PROG(MSGMERGE, msgmerge, no)
-if test "x$MSGMERGE" = "xno"; then
- AC_MSG_ERROR([You need to install msgmerge from intltool])
-fi
-
-dnl hard dependencies
-MONOADDINS_REQUIRED_VERSION=0.4
-MONODEVELOP_REQUIRED_VERSION=4.2.3
-GTKSHARP_REQUIRED_VERSION=2.12.8
-
-PKG_CHECK_MODULES(MONO_ADDINS, mono-addins >= $MONOADDINS_REQUIRED_VERSION)
-AC_SUBST(MONO_ADDINS_LIBS)
-PKG_CHECK_MODULES(MONO_ADDINS_SETUP, mono-addins-setup >= $MONOADDINS_REQUIRED_VERSION)
-AC_SUBST(MONO_ADDINS_SETUP_LIBS)
-PKG_CHECK_MODULES(MONO_ADDINS_GUI, mono-addins-gui >= $MONOADDINS_REQUIRED_VERSION)
-AC_SUBST(MONO_ADDINS_GUI_LIBS)
-PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
-AC_SUBST(GLIB_SHARP_LIBS)
-PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
-AC_SUBST(GTK_SHARP_LIBS)
-PKG_CHECK_MODULES(MONODEVELOP, monodevelop >= $MONODEVELOP_REQUIRED_VERSION)
-AC_SUBST(MONODEVELOP_LIBS)
-PKG_CHECK_MODULES(MONODEVELOP_CORE_ADDINS, monodevelop-core-addins >= $MONODEVELOP_REQUIRED_VERSION)
-AC_SUBST(MONODEVELOP_CORE_ADDINS_LIBS)
-
-
-gtksharp_prefix="`$PKG_CONFIG --variable=prefix gtk-sharp-2.0`"
-AC_SUBST(gtksharp_prefix)
-
-
-dnl *************************************************************
-dnl *** The following hunk of script-fu is to detect the ***
-dnl *** available MonoDevelop.Database database providers... ***
-dnl *************************************************************
-
-test_sqlite=$(gacutil -l | grep "Mono.Data.Sqlite, Version=2")
-test_sqlserver=$(gacutil -l | grep "System.Data, Version=2")
-test_postgres=$(gacutil -l | grep "Npgsql, Version=2")
-test_mysql=$(gacutil -l | grep "MySql.Data")
-
-if test "x$test_sqlite" != "x"; then
- ## mono 1.2.4 contains some bugs that prevents the sqlite addin from working properly
- MONO_REQUIRED_VERSION=1.2.5
- PKG_CHECK_MODULES(UNMANAGED_DEPENDENCIES_MONO,mono >= $MONO_REQUIRED_VERSION, has_correct_mono=true, has_correct_mono=false)
-
- if test "x$has_correct_mono" = "xfalse"; then
- enable_sqlite="no (requires mono >= 1.2.5)"
- else
- enable_sqlite="yes"
- fi
-else
- enable_sqlite="no (missing Mono.Data.Sqlite, Version 2)"
-fi
-
-if test "x$test_sqlserver" != "x"; then
- enable_sqlserver="yes"
-else
- enable_sqlserver="no (missing System.Data, Version 2)"
-fi
-
-if test "x$test_postgres" != "x"; then
- enable_postgres="yes"
-else
- enable_postgres="no (missing Npgsql, Version 2)"
-fi
-
-if test "x$test_mysql" != "x"; then
- enable_mysql="yes"
-else
- enable_mysql="no (missing MySql.Data)"
-fi
-
-AM_CONDITIONAL(ENABLE_POSTGRES, [test "x$enable_postgres" = "xyes"])
-AM_CONDITIONAL(ENABLE_MYSQL, [test "x$enable_mysql" = "xyes"])
-AM_CONDITIONAL(ENABLE_SQLITE, [test "x$enable_sqlite" = "xyes"])
-AM_CONDITIONAL(ENABLE_SQLSERVER, [test "x$enable_sqlserver" = "xyes"])
-
-CSC_FLAGS="-debug -codepage:utf8"
-
-AC_SUBST(LIB_SUFFIX)
-AC_SUBST(LIB_PREFIX)
-AC_SUBST(ASSEMBLY_VERSION)
-AC_SUBST(CSC_FLAGS)
-
-
-MD_DIR='$(prefix)/lib/monodevelop'
-MD_ASSEMBLY_DIR="$MD_DIR/bin"
-MD_ADDIN_DIR="$MD_DIR/AddIns"
-
-AC_SUBST(MD_ASSEMBLY_DIR)
-AC_SUBST(MD_ADDIN_DIR)
-AC_SUBST(MD_DIR)
-
-AC_OUTPUT([
-Makefile
-monodevelop-database.pc
-monodevelop-database.spec
-MonoDevelop.Database.Sql/Makefile
-MonoDevelop.Database.Sql.MySql/Makefile
-MonoDevelop.Database.Sql.Npgsql/Makefile
-MonoDevelop.Database.Sql.Sqlite/Makefile
-MonoDevelop.Database.Sql.SqlServer/Makefile
-MonoDevelop.Database.Components/Makefile
-MonoDevelop.Database.Query/Makefile
-MonoDevelop.Database.CodeGenerator/Makefile
-MonoDevelop.Database.Designer/Makefile
-MonoDevelop.Database.ConnectionManager/Makefile
-po/Makefile
-])
-
-echo ""
-echo "Configuration summary"
-echo ""
-echo " * Installation prefix = $prefix"
-echo " * C# compiler = $CSC"
-echo " * Providers:"
-echo " * PostgreSQL: $enable_postgres"
-echo " * MySQL: $enable_mysql"
-echo " * SQLite: $enable_sqlite"
-echo " * SQL Server: $enable_sqlserver"
-echo ""
diff --git a/extras/MonoDevelop.Database/contrib/MySql/MySql.Data.dll b/extras/MonoDevelop.Database/contrib/MySql/MySql.Data.dll
deleted file mode 100644
index 636a99fb58..0000000000
--- a/extras/MonoDevelop.Database/contrib/MySql/MySql.Data.dll
+++ /dev/null
Binary files differ
diff --git a/extras/MonoDevelop.Database/contrib/MySql/MySql.license.txt b/extras/MonoDevelop.Database/contrib/MySql/MySql.license.txt
deleted file mode 100644
index f4366698cc..0000000000
--- a/extras/MonoDevelop.Database/contrib/MySql/MySql.license.txt
+++ /dev/null
@@ -1 +0,0 @@
-http://www.mysql.com/company/legal/licensing/foss-exception.html
diff --git a/extras/MonoDevelop.Database/monodevelop-database.pc.in b/extras/MonoDevelop.Database/monodevelop-database.pc.in
deleted file mode 100644
index 0d80fce19c..0000000000
--- a/extras/MonoDevelop.Database/monodevelop-database.pc.in
+++ /dev/null
@@ -1,8 +0,0 @@
-Name: monodevelop-database
-Description: MonoDevelop.Database Add-in
-Version: 0.1
-
-libdir=@prefix@/lib/monodevelop
-
-Requires:
-Libs: -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager.dll -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.Components.dll -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.ConnectionManager.dll -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.Designer.dll -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.Query.dll -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.CodeGenerator.dll -r:${libdir}/AddIns/MonoDevelop.Database/MonoDevelop.Database.Sql.dll
diff --git a/extras/MonoDevelop.Database/monodevelop-database.spec.in b/extras/MonoDevelop.Database/monodevelop-database.spec.in
deleted file mode 100644
index e48e4342ed..0000000000
--- a/extras/MonoDevelop.Database/monodevelop-database.spec.in
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# spec file for package monodevelop-database
-#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
-%define db_packages mono-data-postgresql mono-data-sqlite
-
-Name: monodevelop-database
-Version: @VERSION@
-Release: 1
-License: GPLv2+
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-AutoReqProv: on
-BuildArch: noarch
-Url: http://www.monodevelop.com
-Source0: %{name}-%{version}.tar.bz2
-BuildRequires: %db_packages mono-devel monodevelop >= %{version}
-Requires: %db_packages
-BuildRequires: gtksourceview-sharp2 monodoc-core
-Summary: Monodevelop Database Addin
-Group: Development/Languages/Mono
-%if 0%{?fedora_version}
-%define env_options export MONO_SHARED_DIR=/tmp
-%endif
-
-%description
-Addin for MonoDevelop for an integrated database explorer and editor.
-
-
-
-%files -f %{name}.lang
-%defattr(-, root, root)
-%_prefix/share/pkgconfig/monodevelop-database.pc
-%_prefix/lib/monodevelop/AddIns/MonoDevelop.Database
-
-%prep
-%setup -q
-
-%build
-%{?env_options}
-./configure --prefix=%_prefix
-make
-
-%install
-%{?env_options}
-make install DESTDIR=${RPM_BUILD_ROOT}
-mkdir -p $RPM_BUILD_ROOT%_prefix/share/pkgconfig
-mv $RPM_BUILD_ROOT%_prefix/lib/pkgconfig/*.pc $RPM_BUILD_ROOT%_prefix/share/pkgconfig
-%find_lang %{name}
-
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-%if 0%{?fedora_version} || 0%{?rhel_version}
-# Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
-%define _use_internal_dependency_generator 0
-%endif
-%define __find_provides env sh -c 'filelist=($(grep -v "Mono.Data.Sqlite\\|MySql.Data")) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort | uniq'
-%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq'
-
-%changelog
diff --git a/extras/MonoDevelop.Database/po/Makefile.am b/extras/MonoDevelop.Database/po/Makefile.am
deleted file mode 100644
index d4ab77cf1d..0000000000
--- a/extras/MonoDevelop.Database/po/Makefile.am
+++ /dev/null
@@ -1,60 +0,0 @@
-
-PACKAGE = monodevelop-database
-MDTOOL = $(LOCAL_PKGCONFIG) mono `$(LOCAL_PKGCONFIG) pkg-config --variable=libdir monodevelop`/bin/mdtool.exe
-BUILD_DIR = $(top_builddir)/build/locale
-INSTALL_DIR = $(DESTDIR)$(MD_ADDIN_DIR)/MonoDevelop.Database/locale
-
-FILES = \
- ca.po\
- cs.po\
- da.po\
- de.po\
- es.po\
- fr.po\
- gl.po\
- hu.po\
- id.po\
- it.po\
- ja.po\
- nl.po\
- pl.po\
- pt.po\
- pt_BR.po\
- ru.po\
- sl_SI.po\
- sv.po\
- tr.po\
- zh_CN.po\
- zh_TW.po
-
-GMO_FILES = $(patsubst %.po,$(BUILD_DIR)/%/LC_MESSAGES/$(PACKAGE).mo,$(FILES))
-MO_FILES = $(foreach po,$(FILES), $(INSTALL_DIR)/$(basename $(po))/LC_MESSAGES/$(PACKAGE).mo)
-
-all: $(GMO_FILES)
-
-update-po:
- cd $(top_srcdir) && $(MDTOOL) gettext-update
-
-statistics:
- @for LANGFILE in $(FILES); do \
- echo "$$LANGFILE:"; \
- msgfmt -o /dev/null --verbose "$$LANGFILE"; \
- done
-
-$(GMO_FILES): $(BUILD_DIR)/%/LC_MESSAGES/$(PACKAGE).mo: %.po
- mkdir -p '$(dir $@)'
- msgfmt '$<' -o '$@'
-
-$(MO_FILES): $(INSTALL_DIR)/%/LC_MESSAGES/$(PACKAGE).mo : $(BUILD_DIR)/%/LC_MESSAGES/$(PACKAGE).mo
- mkdir -p '$(dir $@)'
- $(INSTALL) '$<' '$@'
-
-install-data-local: $(MO_FILES)
-
-uninstall-local:
- rm -f $(MO_FILES)
-
-CLEANFILES = $(GMO_FILES)
-EXTRA_DIST = $(FILES)
-
-include $(top_srcdir)/Makefile.include
diff --git a/extras/MonoDevelop.Database/po/ar.po b/extras/MonoDevelop.Database/po/ar.po
deleted file mode 100644
index 2242eb607c..0000000000
--- a/extras/MonoDevelop.Database/po/ar.po
+++ /dev/null
@@ -1,863 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: \n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2017-10-30 20:46+0000\n"
-"Last-Translator: Omar Anwar Aglan <Omar.aglan91@yahoo.com>\n"
-"Language-Team: Arabic\n"
-"Language: ar\n"
-"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100 >= 3 "
-"&& n%100<=10 ? 3 : n%100 >= 11 && n%100<=99 ? 4 : 5\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Loco-Source-Locale: ar_EG\n"
-"X-Generator: Loco - https://localise.biz/\n"
-"X-Loco-Parser: loco_parse_po"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "المخزنة SQL غير قادر علي قراءة معلومات إتصال "
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "من فضلك أدخل الباسورد من اجل الإتصال '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "أدخل الباسورد"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "إستفسارات قاعدة البيانات"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_قاعدة البيانات"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "إطلاق"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "إخلاء النتائج"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "الحالة"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "غير قادر علي الإتصال بقاعدة البيانات '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr "مدة الإستفسارات: {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "جدول"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "العواميد المتأثرة"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "لا نتأئج"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "إطلاق الإستعلام"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "إطلاق الإستعلام تم إلغاءه"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
-msgstr[3] ""
-msgstr[4] ""
-msgstr[5] ""
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-msgid "MySql database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-msgid "Character Set:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#:
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-msgid "SQL Server database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#:
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#:
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-msgid "Database:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-msgid "SQLite database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-msgid "Oracle database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-msgid "PostgreSQL database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-msgid "Drop"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#:
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "المستخدمين"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#:
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "اللغات"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "الأنواع"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#:
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#:
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#:
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-msgid "Database Provider List"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "تعديل الإتصال"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "مسح"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "تحديث"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "إتصال"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "قطع الإتصال"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-msgid "Toggle System Objects"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#:
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#:
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#:
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#:
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "إستيراد من ملف"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "تصدير إلي ملف"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "تحديد الصف"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "تحديد الكل"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "إلغاء تحديد الكل"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#:
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#:
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#:
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#:
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "الأسم"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-msgid "Db Type"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "النوع"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-msgid "Setter"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#:
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#:
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#:
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "صورة"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#:
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "كتابة"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "إنتظر من فضلك"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-msgid "Test"
-msgstr "إختبار"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "مُتقدم"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "حفظ كلمة السر"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-msgid "Name:"
-msgstr "الأسم:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-msgid "Password:"
-msgstr "كلمة السر:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr "المنفذ:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-msgid "Server:"
-msgstr "السرفر:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-msgid "Username:"
-msgstr "إسم المُستخدم:"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "الموقع"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "مُفعل"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "تعليق"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "الطول"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "فحص"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-msgid "Connection"
-msgstr "الإتصال"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "التعريف"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "إستعراض"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "مسح الأمر"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "تحديث الأمر"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#:
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#:
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#:
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#:
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-msgid "Generate Data Classes"
-msgstr "طبقات البيانات الأساسية"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr "الموقع:"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "العامة"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr "المنطق و الخصائص"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr "الطبقات"
diff --git a/extras/MonoDevelop.Database/po/ca.po b/extras/MonoDevelop.Database/po/ca.po
deleted file mode 100644
index 9812ac2a5b..0000000000
--- a/extras/MonoDevelop.Database/po/ca.po
+++ /dev/null
@@ -1,954 +0,0 @@
-# Translation of monodevelop.po into Catalan
-# Copyright (C) 2006 The Mono Project
-# This file is distributed under the same license as the MonoDevelop package.
-# Jonathan Hernández Velasco <jbilbo@gmail.com>, 2006.
-# Jordi Mas i Hernàndez, <jmas@softcatala.org>, 2006, 2007
-#
-# Traduïm namespace per "espai de nom" (veure TERMCAT) i assembly per "assemblat"
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop rev62170\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2006-11-29 02:13+0200\n"
-"Last-Translator: Jordi Mas i Hernàndez <jmas@softcatala.org>\n"
-"Language-Team: Catalan\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Contrasenya"
-
-#
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Consulta base de dades"
-
-#
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Base de dades"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Executa"
-
-#
-#
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Esborra els resultats"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Estat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Taula"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Cap resultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "S'està executant la consulta SQL a"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Execució de prova cancel·lada."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Execució de prova cancel·lada."
-msgstr[1] "Execució de prova cancel·lada."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Crea una carpeta nova"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Tots els fitxers"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Connexions de base de dades"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Esteu segur de que voleu suprimir '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Eliminar taula"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Esteu segur de que voleu suprimir '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Taules"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Visualitzacions"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procediments"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Usuaris"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Restriccions"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Taula buida"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Esteu segur de que voleu buidar la taula '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Taula buida"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Esteu segur de que voleu deixar anar la taula '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Esteu segur de que voleu suprimir '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Esteu segur de que voleu deixar anar el procediment '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Esteu segur de que voleu suprimir '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Columna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Columnes"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Restricció"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Conjunts"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grups"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Llenguatges"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operadors"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Rols"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Seqüències"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Activadors"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipus"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Paràmetres"
-
-#
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Paràmetre"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Explorador de bases de dades"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Mostra objectes del sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Explorador de bases de dades"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Afegeix connexió"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Suprimeix"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Refresca"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "Desconnecta"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Desconnecta"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Seleccion_a-ho tot"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "Cada"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Paquet"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Conjunts"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Procediment"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Restricció"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Paquet"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Conjunts"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "Base de dades"
-
-#
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Després de netejar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Procediment"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Restricció"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Activadors"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Eliminar taula"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Eliminar taula"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Eliminar taula"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procediment"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Activadors"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Restricció"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Eliminar taula"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Mostra objectes del sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Connexions de base de dades"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Fitxer buit"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Fitxer HTML buit"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Seleccioneu la carpeta"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-#, fuzzy
-msgid "Select All"
-msgstr "Seleccion_a-ho tot"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "Seleccion_a-ho tot"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nom"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipus"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipus"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "Nom de la propietat:"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Pàgina"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Connexions de base de dades"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Diàleg"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Afegeix fitxers"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Esteu segur de que voleu suprimir el giny '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "No s'han trobat proves fallides."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "Cadena de connexió"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "_Avançat"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Contrasenya"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nom"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Contrasenya"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Camí"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Reanomena"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "Event {0}"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Posició"
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Actiu"
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Comentaris"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Esteu segur de que voleu suprimir l'activador '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Taula"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Esteu segur de que voleu suprimir '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Comprova"
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Únic"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "Nom d'assemblat no vàlid"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Taula"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Afegeix connexió"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "Descripció"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "_Visualització prèvia de la impressió"
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Taula de referència"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Restricció"
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Acció suprimir"
-
-#
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Acció actualitzar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Esteu segur de que voleu suprimir '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Referències"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Comprova la condició"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Base de dades"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "General"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Ca_nvia el nom"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "Reanomena la configuració"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Propietats"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Paràmetres"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Llista d'opcions de visualizació"
-
-#
-#~ msgid "Remove Trigger"
-#~ msgstr "Suprimeix activador"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Suprimei grup"
-
-#
-#~ msgid "Base Settings"
-#~ msgstr "Configuració base"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Reanomena la configuració"
diff --git a/extras/MonoDevelop.Database/po/cs.po b/extras/MonoDevelop.Database/po/cs.po
deleted file mode 100644
index 5cfe1da22e..0000000000
--- a/extras/MonoDevelop.Database/po/cs.po
+++ /dev/null
@@ -1,883 +0,0 @@
-# Czech translation of MonoDevelop.
-# Copyright (C) 2005 THE MonoDevelop'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the MonoDevelop package.
-# David Makovský (Yakeen) <yakeen@sannyas-on.net>, 2005.
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop Database Addin\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2008-01-24 00:08+0100\n"
-"Last-Translator: David Makovský (Yakeen) <yakeen@sannyas-on.net>\n"
-"Language-Team: Czech <cs@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-"X-Poedit-Language: Czech\n"
-"X-Poedit-Country: CZECH REPUBLIC\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Nepodařilo se načíst uložené informace o SQL spojení."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Vložte heslo pro spojení '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Vložte heslo"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Dotázat databázi"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "Databáze"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Spustit"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Smazat výsledky"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Nepodařilo se spojit s databází '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabulky"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Ovlivněných řádků"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Žádné výsledky"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Provádím dotaz"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Provádění dotazu zrušeno"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Dotaz proveden ({0} výsledek tabulky)"
-msgstr[1] "Dotaz proveden ({0} výsledky tabulky)"
-msgstr[2] "Dotaz proveden ({0} výsledků tabulek)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Uložit databázi"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Vytvořit setter"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "SQLite databáze"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Databáze"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "SQLite databáze"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Otevřít databázi"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLite databáze"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Všechny soubory"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Vytvořit databázi"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "SQLite databáze"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Databázová spojení"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Nepodařilo se připojit:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Opravdu chcete smazat spojení '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Smazat pohled"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Opravdu chcete smazat databázi '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabulky"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Pohledy"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedury"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Uživatelé"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Omezení"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Prázdná tabulka"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Opravdu chcete vyprázdnit tabulku '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabulka byla vyprázdněna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Opravdu chcete smazat tabulku '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Opravdu chcete smazat uživatele '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Opravdu chcete smazat proceduru '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Opravdu chcete smazat pohled '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Sloupec"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Sloupce"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Omezení"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Agregace"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Skupiny"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Jazyky"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operátory"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Role"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Pravidla"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sekvence"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Trigry"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Typy"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametry"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parametr"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Prohlížeč databáze"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Zobrazovat systémové objekty"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Databáze"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Prohlížeč databáze"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Upravit spojení"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Odstranit"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Obnovit"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Připojit"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Odpojit"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Vybrat *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Vybrat x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Dotaz"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Vytvořit tabulku"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Vytvořit pohled"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Vytvořit proceduru"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Vytvořit omezení"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Vytvořit událost"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Vytvořit uživatele"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Modifikovat databázi"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Modifikovat tabulku"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Modifikovat pohled"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Modifikovat proceduru"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Modifikovat omezení"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Modifikovat událost"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Modifikovat uživatele"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Smazat databázi"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Smazat tabulku"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Smazat pohled"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Smazat proceduru"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Smazat událost"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Smazat omezení"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Smazat uživatele"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Zobrazovat systémové objekty"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Přidat databázové spojení"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Vytvořit databázi"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importovat ze souboru"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exportovat do souboru"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Vybrat sloupec"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Označit vše"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Odznačit vše"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Jméno"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Název vlastnosti"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "z"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "A"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Obrázek"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Nezdařilo se načíst objekt jako obrázek"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Upravit databázové spojení"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Počkejte chvíli"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Počkejte chvíli"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQL soubory"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Opravdu chcete přepsat soubor '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Žádné databáze nebyly nenalezeny!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Nepodařilo se spojit s databází '{0}'"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Použít vlastní řetězec spojení k databázi"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Pokročilé"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Uložit heslo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Jméno"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Heslo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Uživatel"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Událost"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Všechny řádky"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Pozice"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Aktivní"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Komentář"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Opravdu chcete odebrat událost '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Událost '{0}' neobsahuje výraz události."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Výrok"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Délka"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Opravdu chcete odebrat sloupec '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Neznámý datový typ '{0}' aplikovaný na sloupec '{1}'."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "Tabulka '{0}' musí obsahovat alespoň jeden primární klíč."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "Tabulka '{0}' musí obsahovat alespoň jeden sloupec."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Primární klíč"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Cizí klíč"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Zkontrolovat"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Unikátní"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Jméno nespecifikováno."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Upravit tabulku"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQL náhled"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Přidat spojení"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definice"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Náhled"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Referenční tabulka"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Sloupec omezení"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Smazat akci"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Aktualizovat akci"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Opravdu chcete odebrat omezení '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Omezení unikátního klíče '{0}' musí být aplikováno na jeden či více sloupců. "
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Sloupce reference"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Omezení kontroly '{0}' neobsahuje výrok kontroly."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Omezení kontroly '{0}' je označeno jako omezení sloupce, ale není aplikováno "
-"na žádný sloupec."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Zkontrolovat stav"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Omezení primárního klíče '{0}' musí být aplikováno na jeden či více sloupců. "
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Vytvořit databázi"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Základní"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Přejme_novat"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Odebrat spojení"
-
-#~ msgid "Property Type"
-#~ msgstr "Typ vlastnosti"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parametr konstruktoru"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Přepsat?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Zobrazit obsah jako text"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Zobrazit obsah jako xml text"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Zobrazit obsah jako xml strom"
-
-#~ msgid "Display content as image"
-#~ msgstr "Zobrazit obsah jako obrázek "
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Odebrat událost"
-
-#~ msgid "Remove Column"
-#~ msgstr "Odebrat sloupec"
-
-#~ msgid "Base Settings"
-#~ msgstr "Základní nastavení"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Odebrat omezení"
diff --git a/extras/MonoDevelop.Database/po/da.po b/extras/MonoDevelop.Database/po/da.po
deleted file mode 100644
index 9b97e085de..0000000000
--- a/extras/MonoDevelop.Database/po/da.po
+++ /dev/null
@@ -1,948 +0,0 @@
-# Danish translation of MonoDevelop.
-# Copyright (C) 2004, 2005 Martin Willemoes Hansen
-# This file is distributed under the same license as the MonoDevelop package.
-# Martin Willemoes Hansen <mwh@sysrq.dk>, 2004 - 2005
-#
-# Husk at tilføje dig i credit-listen (besked id "translator-credits")
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2005-05-20 17:07+0200\n"
-"Last-Translator: Martin Willemoes Hansen <mwh@sysrq.dk>\n"
-"Language-Team: Martin Willemoes Hansen <mwh@sysrq.dk>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Adgangskode"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Start"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "Søgeresultater"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabel"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "Resultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Køre"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Testafvikling afbrudt."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Testafvikling afbrudt."
-msgstr[1] "Testafvikling afbrudt."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Opret ny folder"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-#, fuzzy
-msgid "SQLite databases"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Alle filer"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Databasetilslutninger"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-#, fuzzy
-msgid "Unable to connect:"
-msgstr "Kunne ikke indlæse filen."
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Drop tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabeller"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Oversigter"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedurer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Brugere"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Begrænsninger"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Tøm tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabel tømt"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Kolonne"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Kolonner"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Begrænsning"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Aggregater"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupper"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Sprog"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operatorer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roller"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sekvenser"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Typer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametre"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-#, fuzzy
-msgid "Parameter"
-msgstr "Parametre"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-#, fuzzy
-msgid "Database Browser"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Vis systemobjekter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Test tilslutning"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Fjern"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Opdater"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Vælg alle"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "Alle"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Opret ny folder"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Begrænsning"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Slet side"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Begrænsning"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Drop tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Drop tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Drop tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Begrænsning"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Drop tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Vis systemobjekter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Databasetilslutninger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Tom fil"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Tom HTML-fil"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Vælg kommando"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Vælg alle"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "Vælg alle"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Navn"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Type"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Type"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "Projektnavn"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Pause"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-#, fuzzy
-msgid "Unable to load object as Image"
-msgstr "Kunne ikke indlæse filen."
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Databasetilslutninger"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Find-dialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Tilføj filer"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "Ingen fejlede tests fundet."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "Forkert tilslutningsstreng"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "<b>Avanceret</b>"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Adgangskode"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Navn"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Adgangskode"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Omdøb"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "Ryd {0}"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "Beskrivelse"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(Aktive)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Fælles"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Tabel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "Specificeret udrulningsmål er invalid"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Tøm tabel"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Test tilslutning"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "Beskrivelse"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "Udbyder"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Referencenavn"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Begrænsning"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "Vælg mål-stedet"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "Enhedstestindstillinger"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Er du sikker på at du vil slette denne fil?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Referencer"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "Konfigureringer"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Lav database"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Generelt"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "O_mdøb"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "Konfigureringer"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Byg egenskaber"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parametre"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Vis indstillingsliste"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Triggers"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Fjern gruppe"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Indstillinger for tilslutning"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Begrænsning"
diff --git a/extras/MonoDevelop.Database/po/de.po b/extras/MonoDevelop.Database/po/de.po
deleted file mode 100644
index 5ea1006439..0000000000
--- a/extras/MonoDevelop.Database/po/de.po
+++ /dev/null
@@ -1,881 +0,0 @@
-# benste <Benedict.Stein@gmail.com>, 2007.
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Monodevelop\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2008-01-28 23:56+0100\n"
-"Last-Translator: \n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Kann gespeicherte SQL-Verbindungs-Informationen nicht laden."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Bitte geben sie das Passwort für Verbindung '{0}' ein"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Passwort eingeben"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Datenbank abfragen"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Datenbank"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Ausführen"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Ergebnisse löschen"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Kann nicht mit Datenbank '{0}' verbinden"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabelle"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Betroffene Zeilen"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Keine Ergebnisse"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Führe Abfrage aus"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Abfrageausführung abgebrochen"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Abfrage ausgeführt ({0} Ergebnis-Tabelle)"
-msgstr[1] "Abfrage ausgeführt ({0} Ergebnis-Tabelle)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Datenbank speichern"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Setter erzeugen"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "SQLite-Datenbank"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Datenbank"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "SQLite-Datenbank"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Datenbank öffnen"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLite-Datenbank"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Alle Dateien"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Datenbank erzeugen"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "SQLite-Datenbank"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Datenbank-Verbindungen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Konnte nicht verbinden:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Sind sie sich sicher, dass sie Verbindung '{0}' entfernen möchten?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Ansicht fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Sind sie sich sicher, dass sie Datenbank '{0}' fallen lassen möchten?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabellen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Ansichten"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Prozeduren"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Benutzer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Bedingungen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Leere Tabelle"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Sind sie sich sicher, dass sie Tabelle '{0}' leeren wollen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabelle geleert"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Sind sie sich sicher, dass sie Tabelle '{0}' fallen lassen möchten?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Sind sie sich sicher, dass sie Benutzer '{0}' fallen lassen möchten?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Sind sie sich sicher, dass sie Prozedur '{0}' fallen lassen möchten?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Sind sie sich sicher, dass sie Ansicht '{0}' fallen lassen möchten?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Spalte"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Spalten"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Einschränkung"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Aggregate"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Gruppen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Sprachen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operatoren"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Rollen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regeln"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sequenzen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Auslöser"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Typen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parameter"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parameter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Datenbank-Browser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Zeige System-Objekte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Datenbank"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Datenbank-Browser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Verbindung bearbeiten"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Entfernen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Aktualisieren"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Verbinden"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Verbindung trennen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "* auswählen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Wähle x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Abfrage"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Tabelle erzeugen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Ansicht erzeugen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Erzeuge Prozedur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Erzeuge Einschränkung"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Erzeuge Auslöser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Benutzer erzeugen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Datenbank modifizieren"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Tabelle modifizieren"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Verändere Ansicht"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Verändere Prozedur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Verändere Einschränkung"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Verändere Auslöser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Verändere Benutzer"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Datenbank fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Tabelle fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Ansicht fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Prozedur fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Auslöser fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Einschränkung fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Benutzer fallen lassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Zeige System-Objekte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Datenbank-Verbindung hinzufügen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Datenbank erzeugen"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Aus Datei importieren"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "In Datei exportieren"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Spalte auswählen"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Alles auswählen"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Alles abwählen"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Name"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Eigenschaftsname"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "von"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "Y"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Bild"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Konnte Objekt nicht als Bild laden"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Datenbank-Verbindung editieren"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Bitte Warten"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "Warten-Dialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Bitte warten"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQL-Dateien"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Bist du dir sicher, dass du die Datei '{0}' überschreiben möchtest?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Keine Datenbank gefunden!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Kann nicht mit Datenbank '{0}' verbinden"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Benutzerdefinierte Verbindungs-Zeichenkette benutzen"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Min Pool-Größe"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Max Pool-Größe"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Erweitert"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Passwort speichern"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Name"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Passwort"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Benutzername"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Ereignis"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Jede Zeile"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Position"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Aktiv"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Kommentar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Sind sie sicher, dass sie Auslöser '{0}' entfernen möchten?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Auslöser '{0}' enthält keine Auslöser-Aussage."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Aussage"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Länge"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Sind sie sich sicher, dass sie Spalte '{0}' löschen wollen"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Unbekannter Datentyp '{0}' angewandt auf Spalte '{1}'."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "Tabelle '{0}' muss mindestens einen primären Schlüssel enthalten."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "Tabelle '{0}' muss mindestens eine Spalte enthalten."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Primärer Schlüssel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Fremd-Schlüssel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Prüfung"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Eindeutig"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Kein Name angegeben."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Tabelle bearbeiten"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQL-Vorschau"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Verbindung hinzufügen"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definition"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Vorschau"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Verweis-Tabelle"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Spalten-Einschränkung"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Lösch-Aktion"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Aktualisierungs-Aktion"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Sind sie sicher, dass sie die Einschränkung '{0}' entfernen wollen?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Eindeutige Schlüssel-Einschränkung '{0}' muss auf eine oder mehrere Spalten "
-"angewandt werden."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Verweis-Spalten"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Überprüfte Einschränkung '{0}' enthält keinen Überprüfungsausdruck."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Überprüfte Einschränkung '{0}' ist als Spalten-Einschränkung markiert aber "
-"nicht auf eine Spalte angewandt."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Bedingung prüfen"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Primäre Schlüssel-Einschränkung '{0}' muss auf eine oder mehrere Spalten "
-"angewandt werden."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Datenbank erzeugen"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Allgemein"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Umbe_nennen"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Verbindung entfernen"
-
-#~ msgid "Property Type"
-#~ msgstr "Eigenschaftstyp"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Ctor Parameter"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Überschreiben?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Inhalt als Text anzeigen"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Inhalt als XML-Text anzeigen"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Inhalt als XML-Baum anzeigen"
-
-#~ msgid "Display content as image"
-#~ msgstr "Inhalt als Bild anzeigen"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Auslöser entfernen"
-
-#~ msgid "Remove Column"
-#~ msgstr "Spalte entfernen"
-
-#~ msgid "Base Settings"
-#~ msgstr "Grund-Einstellungen"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Einschränkung entfernen"
diff --git a/extras/MonoDevelop.Database/po/es.po b/extras/MonoDevelop.Database/po/es.po
deleted file mode 100644
index 60cf1d1a65..0000000000
--- a/extras/MonoDevelop.Database/po/es.po
+++ /dev/null
@@ -1,885 +0,0 @@
-# Translation of monodevelop.po into Spanish
-# Copyright (C) 2005 The Mono Project
-# This file is distributed under the same license as the MonoDevelop package.
-# Andrés G. Aragoneses <knocte@gmail.com>, 2005-2008
-# Alejandro Serrano <trupill@yahoo.es>, 2006
-# Jonathan Hernández Velasco <jbilbo@ya.com>, 2004-2005
-# Antonio Ognio <gnrfan@gnrfan.org>, 2004
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop rev2237\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2005-03-01 16:34+0100\n"
-"Last-Translator: Andrés G. Aragoneses <knocte@gmail.com>\n"
-"Language-Team: Spanish <es@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Imposible cargar la información guardada sobre conexiones SQL."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Por favor introduzca la contraseña para la conexión '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Introducir contraseña"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Consultar base de datos"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "Base de _datos"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Ejecutar"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Limpiar resultados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Estado"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Imposible conectar a la base de datos '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabla"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Filas afectadas"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "No hay resultados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Ejecutando consulta"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Ejecución de consulta cancelada"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Consulta ejecutada ({0} tabla resultante)"
-msgstr[1] "Consulta ejecutada ({0} tablas resultantes)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Guardar base de datos"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Crear Setter"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Base de datos"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Abrir base de datos"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Todos los archivos"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Crear base de datos"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Conexiones de base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Imposible conectar:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "¿Está seguro de que desea eliminar la conexión '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Eliminar vista"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "¿Está seguro de que desea eliminar la base de datos '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tablas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Vistas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedimientos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Usuarios"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Restricciones"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Tabla vacía"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "¿Está seguro de que desea vaciar la tabla '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabla vaciada"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "¿Está seguro de que desea eliminar la tabla '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "¿Está seguro de que desea eliminar el usuario '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "¿Está seguro de que desea eliminar el procedimiento '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "¿Está seguro de que desea eliminar la vista '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Columna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Columnas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Restricción"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Conjuntos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Lenguajes"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Reglas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Secuencias"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Disparadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parámetros"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parámetro"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Explorador de bases de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Mostrar objetos de sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Explorador de bases de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Editar conexión"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Quitar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Refrescar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Conectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Desconectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Seleccionar *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Seleccionar x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Consulta"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Crear tabla"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Crear vista"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Crear procedimiento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Crear restricción"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Crear disparador"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Crear usuario"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Alterar base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Alterar tabla"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Alterar vista"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Alterar procedimiento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Alterar restricción"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Alterar disparador"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Alterar usuario"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Eliminar base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Eliminar tabla"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Eliminar vista"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Eliminar procedimiento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Eliminar disparador"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Eliminar restricción"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Eliminar usuario"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Mostrar objetos de sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Agregar conexión a base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Crear base de datos"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importar desde archivo"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exportar a archivo"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Seleccionar columna"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Seleccionar todo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Deseleccionar todo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nombre"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Nombre de la propiedad"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "de"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "S"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Imagen"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Imposible cargar el objeto como imagen"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Editar conexión a base de datos"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Por favor espere"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Por favor espere"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "Archivos SQL"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "¿Está seguro de que desea sobreescribir el archivo '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "No se encontró ninguna base de datos"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Imposible conectar a la base de datos '{0}'"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Usar cadena de conexión personalizada"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Tamaño mínimo de Pool"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Tamaño máximo de Pool"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Avanzado"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Guardar contraseña"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nombre"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Contraseña"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Puerto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Nombre de usuario"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Evento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Cada fila"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Posición"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Activo"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Comentario"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "¿Está seguro de que desea eliminar el disparador '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "El disparador '{0}' no contiene una instrucción trigger."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Instrucción"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Longitud"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nulable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "¿Está seguro de que desea eliminar la columna '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Tipo de datos desconocido '{0}' aplicado a columna '{1}'."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "La tabla '{0}' debe contener al menos una clave primaria."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "La tabla '{0}' debe contener al menos 1 columna."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Clave primaria"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Clave ajena"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Chequear"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Único"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Sin nombre especificado."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Editar tabla"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "Previsualizar SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Agregar conexión"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definición"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Vista preliminar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Tabla de referencia"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Restricción de la columna"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Eliminar acción"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Actualizar acción"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "¿Está seguro de que desea eliminar la restricción '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"La restricción de clave única '{0}' debe ser aplicada a una o más columnas"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Columnas de referencia"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "La restricción de chequeo '{0}' no contiene una instrucción check."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"La restricción de chequeo '{0}' está marcada como una restricción de columna "
-"pero no se está aplicando a ninguna columna."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Comprobar condición"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"La restricción de clave primaria '{0}' debe ser aplicada a una o más "
-"columnas."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Crear base de datos"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "General"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Re_nombrar"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Eliminar conexión"
-
-#~ msgid "Property Type"
-#~ msgstr "Tipo de la propiedad"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parámetro del constructor"
-
-#~ msgid "Overwrite?"
-#~ msgstr "¿Sobreescribir?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Representar el contenido como texto"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Representar el contenido como texto XML"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Representar el contenido como un árbol XML"
-
-#~ msgid "Display content as image"
-#~ msgstr "Representar el contenido como una imagen"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Eliminar disparador"
-
-#~ msgid "Remove Column"
-#~ msgstr "Eliminar columna"
-
-#~ msgid "Base Settings"
-#~ msgstr "Preferencias básicas"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Eliminar restricción"
diff --git a/extras/MonoDevelop.Database/po/fr.po b/extras/MonoDevelop.Database/po/fr.po
deleted file mode 100644
index b0152d3e06..0000000000
--- a/extras/MonoDevelop.Database/po/fr.po
+++ /dev/null
@@ -1,860 +0,0 @@
-# MonoDevelop fr_FR translation
-# Copyright (C) Vincent Daron <vdaron@ask.be>,
-# Nicolas Favre-Felix <n.favrefelix@gmail.com> 2006.
-# This file is distributed under the same license as Monodevelop
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: fr_FR\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2009-03-06 22:20:03+0100\n"
-"Last-Translator: Vincent DARON <vdaron@ask.be>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: MonoDevelop Gettext addin\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Impossible de charger les informations de connection SQL."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Veuillez entrer le mot de passe pour la connection '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Mot de passe"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Exécuter une requète sur la Base de données"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Base de données"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Exécuter"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Effacer les résultats"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Impossible de se connecter à la base de données '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr "Durée de la requète: {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Table"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Rangées affectées"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Pas de Résultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Exécution de la la requête"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Exécution de la requète annulée."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Requète exécutée ({0} table de résultat)"
-msgstr[1] "Requète exécutée ({0} tables de résultat)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-msgid "MySql database"
-msgstr "Base de données MySql"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-msgid "Character Set:"
-msgstr "Jeu de Caractères"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr "Collation:"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-msgid "SQL Server database"
-msgstr "Base de données SQL Server"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-msgid "Database:"
-msgstr "Base de données:"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr "La base de donnée '{0}' existe déjà.."
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-msgid "SQLite database"
-msgstr "Base de données SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Ouvrir une Base de données"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "Bases de données SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Tous les fichiers"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-msgid "Oracle database"
-msgstr "Base de données Oracle"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-msgid "PostgreSQL database"
-msgstr "Base de données PostgreSQL"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Connections aux bases de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Erreur de connection:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Êtes-vous sur de vouloir supprimer la connection '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-msgid "Drop"
-msgstr "Effacer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Êtes-vous sur de vouloir supprimer la base de données '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tables"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Vues"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procédures"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Utilisateurs"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Contraintes"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Vider la Table"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Êtes-vous sur de vouloir vide la table '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Table vidée"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Êtes-vous sur de vouloir supprimer la table '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Êtes-vous sur de vouloir supprimer l'utilisateur '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Êtes-vous sur de vouloir supprimer la procédure '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Êtes-vous sur de vouloir supprimer la vue '{0}' ?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Colonne"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Colonnes"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Contraintes"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Agrégats"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Groupes"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Langues"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Opérateurs"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Rôles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Règles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Séquences"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Types"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Paramètres"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Paramètre"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Explorateur de Base de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Afficher les objets systèmes"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Base de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-msgid "Database Provider List"
-msgstr "Liste des Fournisseurs de Base de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Editer la connection"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Effacer"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Rafraîchir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Connecter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Déconnecter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Select *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Select x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Requète"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Créer une Table"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Créer une Vue"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Créer une Procédure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Créer une Contrainte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Créer un Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Créer un Utilisateur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Modifier une Base de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Modifier une Table"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Modifier une Vue"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Modifier une Procédure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Modifier une Contrainte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Modifier un Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Modifier un Utilisateur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Effacer une Base de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Effacer une Table"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Effacer une Vue"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Effacer une Procédure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Effacer une Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Effacer une Contrainte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Effacer un Utilisateur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-msgid "Toggle System Objects"
-msgstr "Afficher/Cacher les Objets Systèmes"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Ajouter une Connections à une Base de données"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Créer la base de données"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr "Afficher les Données Comme"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importer à partir d'un Fichier"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exporter dans un Fichier"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr "Afficher les Données"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Sélectionnez la Colonne"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Tout sélectionner"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Tout Déselectionner"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nom"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-msgid "Db Type"
-msgstr "Type Db"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Type"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr "Nom du Champ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Nom de la Propriété"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-msgid "Setter"
-msgstr "Setter"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "ou"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "O"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Image"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Impossible de charger l'objet comme une Image"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Texte"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Editer la Connection à la Base de données"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Veuillez Patienter"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "WaitDialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Veuillez patienter"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "Fichiers SQL"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Êtes-vous sur de vouloir écraser le fichier '{0}' ?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr "Nom de Classe"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Pas de base de données trouvée!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr "Connection à la Base de données ..."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr "Test réussit."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr "Test en Erreur: {0}."
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-msgid "Test"
-msgstr "Test"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Utiliser une chaîne de connection personnalisée"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr "Taille min du Pool:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr "Taille max du Pool:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Avancé"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Sauver le Mot de passe"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-msgid "Name:"
-msgstr "Nom:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-msgid "Password:"
-msgstr "Mot de passe:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr "Port:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-msgid "Server:"
-msgstr "Serveur:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-msgid "Username:"
-msgstr "Utilisateur:"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr "Pas de fournisseur de base de données détecté."
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Evènement"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Chaque Rangée"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Position"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Active"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Commentaires"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Êtes-vous sur de vouloir supprimer le trigger '{0}' ?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Le Trigger '{0}' ne contient pas de déclaration de trigger."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Déclaration"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Tailler"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "NULL Autorisé"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Êtes-vous sur de vouloir supprimer la colonne '{0}' ?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Type de donnée '{0}' de la colonne '{1}' inconnu."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "La Table '{0}' doit contenir au moins une clef primaire."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "La Table '{0}' doit contenir au moins une colonne."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Clef Primaire"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Clef étrangère"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Vérification"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Unique"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Pas de nom spécifié."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Editer la Table"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "Prévisualisation du SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-msgid "Connection"
-msgstr "Connection"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Définition"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Prévisualisation"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Table de Référence"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Contrainte de Colonne"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Action de Suppression"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Action de Mise à jour"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Êtes-vous sur de vouloir supprimer la contrainte '{0}' ?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"La contrainte de Clef Unique '{0}' doit être appliquée à une ou plusieurs "
-"colonnes."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Colonne de Référence"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-"La Contrainte de Validation '{0}' ne contient pas de déclaration de "
-"validation."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Contrainte de Validation '{0}' est notée comme contrainte de colonne mais "
-"n'est appliquée à aucune colonne."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Condition de Validation"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"La contrainte de Clef Primaire '{0}' doit être appliquée à une ou plusieurs "
-"colonnes."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-msgid "Generate Data Classes"
-msgstr "Génère les Classes de Données"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr "Emplacement:"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Général"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr "Champs & Propriétés"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr "Classes"
-
-#~ msgid "Re_name"
-#~ msgstr "Renommer"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "Renommer la configuration"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Propriété"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Paramètre"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Afficher la liste d'options"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Triggers"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Retirer groupe"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Préférences Gtk#"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Contraintes"
-
diff --git a/extras/MonoDevelop.Database/po/gl.po b/extras/MonoDevelop.Database/po/gl.po
deleted file mode 100644
index 2f6db6a28a..0000000000
--- a/extras/MonoDevelop.Database/po/gl.po
+++ /dev/null
@@ -1,906 +0,0 @@
-# translation of gl.po to Galego
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-#
-# Ignacio Casal Quinteiro <icq@cvs.gnome.org>, 2007.
-# Ignacio Casal Quinteiro <nacho.resa@gmail.com>, 2007.
-# Ignacio Casal Quinteiro <icq@svn.gnome.org>, 2007.
-msgid ""
-msgstr ""
-"Project-Id-Version: gl\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-12-01 22:23+0100\n"
-"Last-Translator: Ignacio Casal Quinteiro <icq@svn.gnome.org>\n"
-"Language-Team: Galego <proxecto@trasno.net>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: KBabel 1.11.4\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Imposible cargar a información da conexión SQL almacenada."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Introduza o contrasinal para a conexión '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Introducir contrasinal"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "Base de datos"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "Base de _datos"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Executar"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Limpar resultados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Estado"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Imposible conectar á base de datos '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Táboa"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Filas afectadas"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Sen resultados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Executando consulta sql en"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Execución de probas cancelada."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Execución de probas cancelada."
-msgstr[1] "Execución de probas cancelada."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Gardar base de datos"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Crear un cartafol novo"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Base de datos"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Abrir base de datos"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Todos os ficheiros"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Crear base de datos"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Bases de datos SQLite"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Conexións de base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Imposible conectar:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Está seguro de que quere eliminar a conexión '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Eliminar táboa"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Está seguro de que quere eliminar a base de datos '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Táboas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Vistas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedementos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Usuarios"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Restricións"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Táboa baleira"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Está seguro de que quere eliminar a táboa baleira '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Táboa baleirada"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Está seguro de que quere borrar a táboa '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Está seguro de que quere borrar o usuario '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Está seguro de que quere eliminar o procedemento '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Está seguro de que quere borrar o visor '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Columna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Columnas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Restrición"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Conxuntos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Linguas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regras"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Secuencias"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Disparadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parámetros"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parámetro"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Examinador da base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Mostrar obxectos de sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Examinador da base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Editar conexión"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Eliminar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Actualizar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Conectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Desconectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "Entrada de menú"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Crear táboa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Crear visor"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Crear procedemento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Restrición"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Crear paquete"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Crear usuario"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Alterar base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Despois de limpar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Procedemento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Restrición"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Disparadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Eliminar táboa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Eliminar táboa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Eliminar táboa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procedemento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Disparadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Restrición"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Eliminar táboa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Mostrar obxectos de sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Engadir conexión da base de datos"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Crear base de datos"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importar de ficheiro"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exportar a ficheiro"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Seleccionar columna"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Seleccionar todo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Deseleccionar todo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Nome da propiedade"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "de"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "Y"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Imaxe"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Imposible cargar obxecto como imaxe"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Editar conexión da base de datos"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Por favor espere"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Diálogo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Por favor espere"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "Ficheiros SQL"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Está seguro de que quere substituír o ficheiro '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Non se encontraron bases de datos!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Imposible conectar á base de datos '{0}'"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Usar cadea de conexión personalizada"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Avanzado"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Gardar contrasinal"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Contrasinal"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Porto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Nome de usuario"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Evento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Cada fila"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Posición"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Activo"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Comentario"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Lonxitude"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Táboa"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Está seguro de que quere eliminar a columna '{0}'"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "A táboa '{0}' debe conter alomenos unha chave primaria."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "A táboa '{0}' debe conter alomenos 1 columna."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Chave primaria"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Comprobar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-#, fuzzy
-msgid "Unique"
-msgstr "Unicode"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Ningún nome especificado."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Editar táboa"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Engadir conexión"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definición"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Vista previa"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Referencia: "
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Restrición"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Borrar acción"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Actualizar acción"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Referencias"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Comprobar condición"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Crear base de datos"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Xeral"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Re_nomear"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Eliminar conexión"
-
-#~ msgid "Property Type"
-#~ msgstr "Tipo de propiedade"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parámetro"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Substituír?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Mostrar o contido como texto"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Mostrar o contido como texto xml"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Mostrar o contido como árbore xml"
-
-#~ msgid "Display content as image"
-#~ msgstr "Mostrar o contido como imaxe"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Disparadores"
-
-#~ msgid "Remove Column"
-#~ msgstr "Eliminar columna"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Configuración do paquete"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Eliminar conexión"
diff --git a/extras/MonoDevelop.Database/po/hu.po b/extras/MonoDevelop.Database/po/hu.po
deleted file mode 100755
index 3e5b1ba033..0000000000
--- a/extras/MonoDevelop.Database/po/hu.po
+++ /dev/null
@@ -1,882 +0,0 @@
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop Hungarian translation 1.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2008-02-03 23:23+0100\n"
-"Last-Translator: Gergely Kiss <mail.gery@gmail.com>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Nem sikerült betölteni a tárolt SQL-kapcsolat adatait."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Kérem, adja meg a kapcsolathoz ('{0}') tartozó jelszót"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Jelszó megadása"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Adatbázis lekérdezése"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "A_datbázis"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Futtatás"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Eredmények törlése"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Állapot"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Nem sikerült kapcsolódni az adatbázishoz ({0})."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tábla"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Érintett sorok"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Nincs visszatérési érték"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Lekérdezés futtatása"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "A lekérdezés futtatása meg lett szakítva"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "A lekérdezés sikeresen lefutott ({0} eredménytábla jött létre)"
-msgstr[1] "A lekérdezés sikeresen lefutott ({0} eredménytábla jött létre)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Adatbázis mentése"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Beállító (setter) létrehozása"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "SQLite adatbázisok"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Adatbázis"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "SQLite adatbázisok"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Adatbázis megnyitása"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLite adatbázisok"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Minden fájl"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Adatbázis létrehozása"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "SQLite adatbázisok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Adatbázis-kapcsolatok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Nem sikerült csatlakozni:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Biztos benne, hogy törli a kapcsolatot ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Nézet törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Biztosan törli az adatbázist ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Táblák"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Nézetek"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Eljárások"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Felhasználók"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Megszorítások"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Üres tábla"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Biztosan törli az összes rekordot a táblában ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "A rekordok törlése sikerült"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Biztosan törölni szeretné a táblát ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Biztosan törölni szeretné a felhasználót ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Biztosan törölni szeretné az eljárást ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Biztosan törölni szeretné a nézetet ('{0}')?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Mező"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Mezők"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Megszorítás"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Összesítések"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Csoportok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Nyelvek"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operátorok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Szerepek"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Szabályok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Folyamatok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Triggerek"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Típusok"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Paraméterek"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Paraméter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Adatbáziskezelő"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Rendszerobjektumok megjelenítése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Adatbázis"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Adatbáziskezelő"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Kapcsolat szerkesztése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Eltávolítás"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Frissítés"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Kapcsolódás"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Kapcsolat bontása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Select *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Select x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Lekérdezés"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Tábla létrehozása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Nézet létrehozása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Eljárás létrehozása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Megszorítás létrehozása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Trigger létrehozása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Új felhasználó"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Adatbázis módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Tábla módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Nézet módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Eljárás módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Megszorítás módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Trigger módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Felhasználó módosítása"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Adatbázis törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Tábla törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Nézet törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Eljárás törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Trigger törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Megszorítás törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Felhasználó törlése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Rendszerobjektumok megjelenítése"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Új adatbázis-kapcsolat"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Adatbázis létrehozása"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importálás fájlból"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exportálás fájlba"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Mező kijelölése"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Mindent kijelöl"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Kijelölés megszüntetése"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Név"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Típus"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Típus"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Tulajdonság neve"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Kiszolgáló"
-
-# Máris le lett küzdve egy eltérés a magyar és az angol nyelv között. :)
-# Sok helyen láttam zavaros megoldásokat az "of" szó fordításakor,
-# szerintem így a legkorrektebb.
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "/"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "I"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Kép"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Nem lehet az objektumot képként betölteni"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Szöveg"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Adatbázis-kapcsolat szerkesztése"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Kérem, várjon..."
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "Várakozási ablak"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Kérem, várjon..."
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQL fájlok"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Biztos, hogy felülírja a fájlt ('{0}')?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Nincs egyetlen adatbázis sem."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Nem sikerült kapcsolódni az adatbázishoz ({0})."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Szöveg"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Egyedi kapcsolódási sztring használata"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Legkisebb poolméret"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Legnagyobb poolméret"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Fejlett"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Jelszó mentése"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Név"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Jelszó"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Kiszolgáló"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Felhasználónév"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Esemény"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Minden rekord"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Pozíció"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Aktív"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Megjegyzés"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Biztosan törli a triggert ('{0}')?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "A trigger ('{0}') nem tartalmazza a TRIGGER kulcsszót."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Állítás"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "EK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Szélesség"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "NULL-értéket felvehet"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Biztosan törli a mezőt ('{0}')?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Ismeretlen adattípust ('{0}') adott meg a mezőhöz ('{1}')."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-"A táblához ('{0}') hozzá kell rendelni legalább egy elsődleges kulcsot."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "A tábla ('{0}') nem tartalmaz egyetlen mezőt sem."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Elsődleges kulcs"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Idegenkulcs"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Ellenőrzés"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Egyedi"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Nem adott meg nevet."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Tábla szerkesztése"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQL-kód előnézete"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Új kapcsolat"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definíció"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Előnézet"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Referenciatábla"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Mezőmegszorítás"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Akció törlése"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Akció frissítése"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Biztosan törli a megszorítást ('{0}')?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Az egyedi kulcs megszorítást ('{0}') legalább egy mezőre alkalmazni kell."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Referenciamezők"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-"Az ellenőrzött megszorításban ('{0}') szerepelnie kell a CHECK kulcsszónak."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Az ellenőrzött megszorítás ('{0}') mezőre vonatkozó megszorításnak van "
-"megjelölve, de nincs alkalmazva egyetlen mezőre sem."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Feltételek ellenőrzése"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Az elsődleges kulcs megszorítást ('{0}') alkalmazni kell legalább egy mezőre."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Adatbázis létrehozása"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Általános"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Át_nevezés"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Kapcsolat törlése"
-
-#~ msgid "Property Type"
-#~ msgstr "Tulajdonság típusa"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Ctor paraméter"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Felül szeretné írni?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Tartalom megjelenítése szövegként"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Tartalom megjelenítése XML kódként"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Tartalom megjelenítése XML faként"
-
-#~ msgid "Display content as image"
-#~ msgstr "Tartalom megjelenítése képként"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Trigger törlése"
-
-#~ msgid "Remove Column"
-#~ msgstr "Mező törlése"
-
-#~ msgid "Base Settings"
-#~ msgstr "Alapbeállítások"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Megszorítás törlése"
diff --git a/extras/MonoDevelop.Database/po/id.po b/extras/MonoDevelop.Database/po/id.po
deleted file mode 100644
index 72999a51b1..0000000000
--- a/extras/MonoDevelop.Database/po/id.po
+++ /dev/null
@@ -1,880 +0,0 @@
-# Indonesian MonoDevelop translation.
-# Copyright (C) 2007 Fajrin Azis
-# This file is distributed under the same license as the PACKAGE package.
-# Fajrin Azis <fajrin_azis_kudo@yahoo.co.id>, 2007.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Fajrin Azis <fajrin_azis_kudo@yahoo.co.id>\n"
-"Language-Team: Indonesian <id@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Tidak dapat memuat informasi koneksi SQL yang tersimpan."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Harap masukkan password untuk koneksi '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Masukkan Password"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Query Database"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Database"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Eksekusi"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Hapus Hasil"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Tidak dapat tersambung ke database '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabel"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Baris Palsu"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Tidak Ada Hasil"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Eksekusi query"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Eksekusi query dibatalkan"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Query executed ({0} result table)"
-msgstr[1] "Query executed ({0} result tables)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Simpan Database"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Buat Setter"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Buka Database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Semua file"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Buat Database"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Koneksi Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Tidak dapat tersambung:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Apakah Anda yakin untuk memindahkan koneksi '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Drop Pandangan"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Apakah Anda yakin untuk mendrop database '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Pandangan"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Prosedur"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "User"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Tabel Kosong"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Apakah Anda yakin untuk mengosongkan tabel '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabel dikosongkan"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Apakah Anda yakin untuk mendrop tabel '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Apakah Anda yakin untuk mendrop user '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Apakah Anda yakin untuk mendrop prosedur '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Apakah Anda yakin untuk mendrop pandangan '{0}'"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Kolom"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Kolom"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Agregat"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grup"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Bahasa"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operator"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Peraturan"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Urutan"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipe"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parameter"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parameter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Database Browser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Tampilkan Objek Sistem"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Database Browser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Edit Koneksi"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Pindah"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Refresh"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Sambung"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Putus Hubungan"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Pilih *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Pilih x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Query"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Buat Tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Buat Pandangan"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Buat Prosedur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Buat Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Buat Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Buat User"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Database yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Tabel yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Pandangan yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Prosedur yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Constraint yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Trigger yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "User yang Lebih Tua"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Drop Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Drop Tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Drop Pandangan"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Drop Prosedur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Drop Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Drop Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Drop User"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Tampilkan Objek Sistem"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Tambah Koneksi Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Buat Database"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Import dari File"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Eksport ke File"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Pilih Kolom"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Seleksi Seluruhnya"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Batalkan Seluruh Seleksi"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nama"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipe"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipe"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Nama Properti"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "dari"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "Y"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Gambar"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Tidak dapat memuat objek sebagai Gambar"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Teks"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Edit Koneksi Database"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Harap Tunggu"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "DialogTunggu"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Harap Tunggu"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "File SQL"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Apakah Anda yakin untuk mengganti file '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Tidak ada database yang ditemukan!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Tidak dapat tersambung ke database '{0}'"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Teks"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Use custom connection string"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Min Pool Size"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Max Pool Size"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Terdepan"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Simpan Password"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nama"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Password"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Username"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Event"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Setiap Baris"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Posisi"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Aktif"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Komentar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Apakah and yakin untuk memindahkan trigger '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Trigger '{0}' tidak memilik pernyataan trigger."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Pernyataan"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Panjang"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Apakah Anda yakin untuk memindahkan kolom '{0}'"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Tipe data tidak diketahui '{0}' berlaku pada kolom '{1}'"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "Tabel '{0}' setidaknya memiliki satu kunci utama."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "Tabel '{0}' setidaknya memiliki satu kolom."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Kunci Utama"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Kunci Asing"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Periksa"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Unik"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Tidak ada nama yang spesifik"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Edit Tabel"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "Preview SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Tambah Koneksi"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definisi"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Preview"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Tabel Referensi"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Constraint Kolom"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Hapus Aksi"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Update Aksi"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Apakah Anda yakin untuk memindahkan constraint '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr "Constraint Kunci Unik '{0}' harus berlaku untuk satu atau lebih kolom"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Kolom Referensi"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Periksa constraint '{0}' tidak memiliki pernyataan tanda."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Constraint yang dicek '{0}' ditandai sebagai constraint kolom tapi tidak "
-"diterapkan pada sebuah kolom."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Periksa Kondisi"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr "Constraint Kunci Utama '{0}' harus berlaku untuk satu atau lebih kolom"
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Buat Database"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "General"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Ubah _nama"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Pindahkan Koneksi"
-
-#~ msgid "Property Type"
-#~ msgstr "Tipe Properti"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Ctor Parameter"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Ganti?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Tampilkan konten sebagai teks"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Tampilkan konten sebagai teks xml"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Tampilkan konten sebagai xml tree"
-
-#~ msgid "Display content as image"
-#~ msgstr "Tampilkan konten sebagai gambar"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Pindahkan Trigger"
-
-#~ msgid "Remove Column"
-#~ msgstr "Pindahkan Kolom"
-
-#~ msgid "Base Settings"
-#~ msgstr "Pengaturan Dasar"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Pindahkan Constraint"
diff --git a/extras/MonoDevelop.Database/po/it.po b/extras/MonoDevelop.Database/po/it.po
deleted file mode 100644
index 5831a7e42b..0000000000
--- a/extras/MonoDevelop.Database/po/it.po
+++ /dev/null
@@ -1,904 +0,0 @@
-# ITALIAN translation of MonoDevelop.
-# Copyright (C) 2005 THE MonoDevelop's COPYRIGHT HOLDER.
-# This file is distributed under the same license as the MonoDevelop package.
-# Alberto Paro <alberto@paro.homeunix.org>, 2005
-# Milo Casagrande <milo_casagrande@yahoo.it>, 2006-2007
-#
-# Piccolo glossario:
-# item -> elemento (me lo dimentico sempre :)
-# pattern -> criterio
-# match -> corrispondenza
-# target -> obiettivo
-# dock -> invariato (da wikipedia it.wikipedia.org/wiki/Dock, benché qui sia riferito al Mac) +
-# ho usato "oggetto agganciabile" nel caso di "dock item", però bisognerebbe verificare meglio
-# to deploy -> produrre, mettere in produzione
-# to build -> generare, opzione di generazione
-#
-# Collegamento molto utile:
-#
-# http://msdn2.microsoft.com/it-it/library/6c701b8w(VS.80).aspx (glossario di MSDN)
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: monodevelop\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-11-24 23:52+0100\n"
-"Last-Translator: Milo Casagrande <milo_casagrande@yahoo.it>\n"
-"Language-Team: Italian <tp@lists.linux.it>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-forms: nplurals=2; plural=(n != 1);\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Impossibile caricare le informazioni della connessione SQL archiviate."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Inserire la password per la connessione «{0}»"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Inserire password"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Query database"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Database"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Esegui"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Pulisci risultati"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Stato"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Impossibile collegarsi al database «{0}»"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabella"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Righe interessate"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Nessun risultato"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Esecuzione query"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Esecuzione query annullata."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Query eseguita ({0} tabella risultante)"
-msgstr[1] "Query eseguita ({0} tabella risultante)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Salva database"
-
-# (ndt) proprio di una classe di Windows
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Crea Setter"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Apri database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Tutti i file"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Crea database"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Database SQLite"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Connessioni al database"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Impossibili connettere:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Rimuovere la connessione «{0}»?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Drop View"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Eseguire veramente il drop del database «{0}»"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabelle"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Viste"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Utenti"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Vincoli"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Tabella vuota"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Svuotare veramente la tabella «{0}»"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabella svuotata"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Eseguire veramente il drop della tabella «{0}»"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Eseguire veramente il drop dell'utente «{0}»"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Eseguire veramente il drop della procedura «{0}»"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Eseguire veramente il drop della vista «{0}»"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Colonna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Colonne"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Vincolo"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Aggregati"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Gruppi"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Linguaggi"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operatori"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Ruoli"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regole"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sequenze"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipi"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametri"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parametro"
-
-# (NdT) questa scritta appare in due posti, assieme alle schede File, Classi...
-# e come titolo del riquadro. È lasciata corta per non occupare troppo spazio
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Mostra oggetti di sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Database"
-
-# (NdT) questa scritta appare in due posti, assieme alle schede File, Classi...
-# e come titolo del riquadro. È lasciata corta per non occupare troppo spazio
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Modifica connessione"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Rimuovi"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Aggiorna"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Connetti"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Disconnetti"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Select *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Select x,y, ..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Query"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Crea tabella"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Crea vista"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Crea procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Crea vincolo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Crea trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Crea utente"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Alter Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Alter Table"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Alter View"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Alter Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Alter Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Alter Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Alter User"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Drop Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Drop Table"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Drop View"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Drop Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Drop Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Drop Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Drop User"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Mostra oggetti di sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Aggiungi connessione al database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Crea database"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importa da file"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Esporta su file"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Selezione colonna"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Seleziona tutto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Deseleziona tutto"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Nome proprietà"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-# (ndt) boh?
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "di"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "Y"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Immagine"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Impossibile caricare l'oggetto come immagine"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Testo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Modifica connessione al database"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Attendere"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "WaitDialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Attendere"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "File SQL"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Sovrascrivere veramente il file «{0}»?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Nessun database trovato."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Impossibile collegarsi al database «{0}»"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Testo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Usare stringa di connessione personalizzata"
-
-# (ndt) a quanto pare sono due proprietà di SqlConnection.ConnectionString
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Min Pool Size"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Max Pool Size"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Avanzato"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Salvare password"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Password"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Porta"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Nome utente"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Evento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Ogni riga"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Posizione"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Attivo"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Commento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Rimuovere veramente il trigger «{0}»?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Il trigger «{0}» non contiene una dichiarazione trigger."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Dichiarazione"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Lunghezza"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Rimuovere veramente la colonna «{0}»?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Tipo di dato «{0}» applicato alla colonna «{1}» sconosciuto."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "La tabella «{0}» deve contenere almeno una chiave primaria."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "La tabella «{0}» devo contenere almeno una colonna."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Chiave primaria"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Chiave esterna"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Check"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Unique"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Nessun nome specificato."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Modifica tabella"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "Anteprima SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Aggiungi connessione"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definizione"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Anteprima"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Tabella di riferimento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Vincolo colonna"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Azione di cancellazione"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Azione di aggiornamento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Rimuovere veramente il vincolo «{0}»?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Il vincolo di chiave unica «{0}» deve essere applicato a uno a più colonne."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Colonne di riferimento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Vincolo check «{0}» non contiene una dichiarazione check."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Vincolo check «{0}» è indicato come un vincolo di colonna ma non è applicato "
-"a una colonna."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Condizione check"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Il vincolo di chiave primaria «{0}» deve essere applicato a una o più colonne."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Crea database"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Generale"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Ri_nomina"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Rimuovi connessione"
-
-#~ msgid "Property Type"
-#~ msgstr "Tipo proprietà"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parametro ctor"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Sovrascrivere?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Visualizzare il contenuto come testo"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Visualizzare il contenuto come testo xml"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Visualizzare il contenuto come un albero xml"
-
-#~ msgid "Display content as image"
-#~ msgstr "Visualizzare il contenuto come immagine"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Rimuovi trigger"
-
-#~ msgid "Remove Column"
-#~ msgstr "Rimuovi colonna"
-
-#~ msgid "Base Settings"
-#~ msgstr "Impostazioni di base"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Rimuovi vincolo"
diff --git a/extras/MonoDevelop.Database/po/ja.po b/extras/MonoDevelop.Database/po/ja.po
deleted file mode 100644
index 999a30b98f..0000000000
--- a/extras/MonoDevelop.Database/po/ja.po
+++ /dev/null
@@ -1,858 +0,0 @@
-# MonoDevelop ja_JP translation
-# Copyright (C) 2004 Atsushi Enomoto
-# This file is distributed under the same license as the PACKAGE package.
-# Atsushi Enomoto <atsushi@ximian.com>, 2004.
-# Akira Nakagawa <matyapiro31@gmail.com>, 2015.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.3\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-25 19:34:25+0900\n"
-"PO-Revision-Date: 2015-01-10 21:13+0900\n"
-"Last-Translator: Akira Nakagawa <matyapiro31@gmail.com>\n"
-"Language-Team: 日本語 <>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Poedit 1.5.7\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "保存されたSQL接続情報を読み込めません"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "接続 '{0}' 用のパスワードを入力してください"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "パスワードを入力してください"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "データベースをクエリ"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "データベース(_D)"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "実行"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "結果をクリア"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "状態"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "データベース'{0}'に接続できません"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr "クエリの実行時間: {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "テーブル"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "変更される行"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "該当無し"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "クエリを実行しています"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "クエリの実行は中断されました"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "クエリを実行しました({0}の結果テーブル)"
-msgstr[1] "クエリを実行しました({0}の結果テーブル)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-msgid "MySql database"
-msgstr "MySqlデータベース"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-msgid "Character Set:"
-msgstr "文字集合:"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr "照合:"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-msgid "SQL Server database"
-msgstr "SQL Serverデータベース"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-msgid "Database:"
-msgstr "データベース:"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr "データベース '{0}' は既に存在します。"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-msgid "SQLite database"
-msgstr "SQLiteデータベース"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "データベースを開く"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLiteデータベース"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "全てのファイル"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-msgid "Oracle database"
-msgstr "Oracleデータベース"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-msgid "PostgreSQL database"
-msgstr "PostgreSQLデータベース"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "データベース接続"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "接続できません:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "本当に接続 '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-msgid "Drop"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "本当にデータベース '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "テーブル"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "ビュー"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "プロシージャ"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "ユーザー"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "テーブルを空にする"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "本当にテーブル '{0})' を空にしますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "空にされるテーブル"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "本当にテーブル '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "本当にユーザ '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "本当にプロシージャ '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "本当にビュー '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "集合"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "グループ"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "言語"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "演算子"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "役割"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "ルール"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "シーケンス"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "トリガー"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "型"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "パラメータ"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "パラメータ"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "データベースブラウザ"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "システム オブジェクトを表示"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "データベース"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-msgid "Database Provider List"
-msgstr "データベースのプロバイダの一覧"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "接続を編集"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "最新の状態に更新"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "接続"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "切断"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Select *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Select x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "クエリ"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "テーブルの作成"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "ビューの作成"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "プロシージャの作成"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "制約の作成"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "トリガの作成"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "ユーザの作成"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "データベースの置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "テーブルの置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "ビューの置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "プロシージャの置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "制約の置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "トリガの置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "ユーザの置換"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "データベースの削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "テーブルの削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "ビューの削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "プロシージャの削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "トリガの削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "制約の削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "ユーザの削除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-msgid "Toggle System Objects"
-msgstr "システム オブジェクトを切り替える"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "データベース接続を追加"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "データベースの作成"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr "次の形式でデータを可視化します "
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "ファイルからインポート"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "ファイルにエクスポート"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr "データの可視化"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "列を選択"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "全て選択"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "全て選択解除"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "名前"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-msgid "Db Type"
-msgstr "データベースの種別"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "型"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr "フィールド名"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "プロパティ名"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-msgid "Setter"
-msgstr "セッター"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "画像"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "オブジェクトを画像として読み込めませんでした"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "テキスト"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "データベース接続を編集"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "お待ちください"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "WaitDialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "お待ちください"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQLファイル"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "本当にファイル '{0})' を上書きしますか?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr "クラス名"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "データベースが見つかりません!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr "データベースに接続を試みています"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr "テスト成功。"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr "テスト失敗: {0}。"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-msgid "Test"
-msgstr "テスト"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "カスタム接続文字列を使用"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr "最小プールサイズ:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr "最大プールサイズ:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "上級者向け"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "パスワードを保存"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-msgid "Name:"
-msgstr "名前:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-msgid "Password:"
-msgstr "パスワード:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr "ポート:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-msgid "Server:"
-msgstr "サーバ:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-msgid "Username:"
-msgstr "ユーザ名:"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr "データベースのプロバイダが見つかりませんでした。"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "イベント"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "それぞれの行"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "位置"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "アクティブ"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "コメント"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "本当にトリガ '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "トリガ '{0}' にはトリガ式が含まれていません"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "ステートメント"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "長さ"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Null許容"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "本当に列 '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "未知のデータ型 '{0}' が列 '{1}' に適用されています"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "テーブル '{0}' は最低でも1つの主キーをもっていなければなりません"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "テーブル '{0}' は最低でも1つの列をもっていなければなりません"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "主キー"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "外部キー"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "チェック"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "一意"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "名前が指定されていません"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "テーブルを編集"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQLプレビュー"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-msgid "Connection"
-msgstr "接続"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "定義"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "プレビュー"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "参照テーブル"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "列の制約"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "削除アクション"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "更新アクション"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "本当に制約 '{0})' を削除しますか?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr "一意キー制約 '{0}' は1つ以上の列に適用されなければなりません。"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "参照する列"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "チェック制約 '{0}' にチェック式が含まれていません"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"チェック制約 '{0}' は列の制約としてマークされていますが、列に適用されていませ"
-"ん。"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "チェック条件"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr "主キー制約 '{0}' は1つ以上の列に適用されなければなりません。"
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-msgid "Generate Data Classes"
-msgstr "データクラスの作成"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr "位置:"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "一般"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr "フィールドとプロパティ"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr "クラス"
-
-#~ msgid "Re_name"
-#~ msgstr "名前の変更 (_N)"
-
-#~ msgid "Remove Connection"
-#~ msgstr "接続を削除"
-
-#~ msgid "Property Type"
-#~ msgstr "プロパティ型"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "ctorパラメータ"
-
-#~ msgid "Overwrite?"
-#~ msgstr "上書きしますか?"
-
-#~ msgid "Display content as text"
-#~ msgstr "内容をテキストとして表示"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "内容をxmlテキストとして表示"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "内容をxmlツリーとして表示"
-
-#~ msgid "Display content as image"
-#~ msgstr "内容を画像として表示"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "トリガを削除"
-
-#~ msgid "Remove Column"
-#~ msgstr "列を削除"
-
-#~ msgid "Base Settings"
-#~ msgstr "基本設定"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "制約を削除"
diff --git a/extras/MonoDevelop.Database/po/ko.po b/extras/MonoDevelop.Database/po/ko.po
deleted file mode 100644
index 180032f01d..0000000000
--- a/extras/MonoDevelop.Database/po/ko.po
+++ /dev/null
@@ -1,820 +0,0 @@
-# MonoDevelop ja_JP translation
-# Copyright (C) 2004 Atsushi Enomoto
-# This file is distributed under the same license as the PACKAGE package.
-# Atsushi Enomoto <atsushi@ximian.com>, 2004.
-# Akira Nakagawa <matyapiro31@gmail.com>, 2015.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.3\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-25 19:34:25+0900\n"
-"PO-Revision-Date: 2016-03-09 13:04+0900\n"
-"Last-Translator: Akira Nakagawa <matyapiro31@gmail.com>\n"
-"Language-Team: Junil Um <powerumc@gmail.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Poedit 1.8.7\n"
-"Language: ko\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "저장된 SQL 연결 정보를 읽을 수 없습니다."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "연결 '{0}'에 대한 암호를 입력하십시오."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "암호를 입력하십시오"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "데이터베이스 쿼리"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "데이터베이스(_D)"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "실행"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "결과 지우기"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "상태"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "데이터베이스 '{0}'에 연결할 수 없습니다"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr "쿼리 실행 시간 : {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "테이블"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "영향을 받는 행"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "결과 없음"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "쿼리를 실행하고 있습니다"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "쿼리 실행이 중단되었습니다"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "쿼리를 실행했습니다 ({0} 결과 테이블)"
-msgstr[1] "쿼리를 실행했습니다 ({0} 결과 테이블)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-msgid "MySql database"
-msgstr "MySql 데이터베이스"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-msgid "Character Set:"
-msgstr "문자세트:"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-msgid "SQL Server database"
-msgstr "SQL Server 데이터베이스"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-msgid "Database:"
-msgstr "데이터베이스:"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr "데이터베이스 '{0}'은 이미 존재합니다."
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-msgid "SQLite database"
-msgstr "SQLite 데이터베이스"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "데이터베이스 열기"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLite 데이터베이스"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "모든 파일"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-msgid "Oracle database"
-msgstr "Oracle 데이터베이스"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-msgid "PostgreSQL database"
-msgstr "PostgreSQL 데이터베이스"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "데이터베이스 연결"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "연결할 수 없습니다 :"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "정말 연결 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-msgid "Drop"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "정말 데이터베이스 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "테이블"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "뷰"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "프로시저"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "사용자"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "제한"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "빈 테이블"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "정말 테이블 '{0}'를 비우시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "테이블이 비어있습니다"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "정말 테이블 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "정말 사용자 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "정말 프로시저 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "정말 뷰 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "컬럼"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "컬럼"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "제한"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "설정"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "그룹"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "언어"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "연산자"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "역할"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "규칙"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "순서"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "트리거"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "타입"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "파라메터"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "파라메터"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "데이터베이스 브라우저"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "시스템 개체 보기"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "데이터베이스"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-msgid "Database Provider List"
-msgstr "데이터베이스 공급자 목록"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "연결 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "제거"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "새로고침"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "연결"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "끊기"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Select *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Select x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "쿼리"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "테이블 생성"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "뷰 생성"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "프로시저 생성"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "제약 생성"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "트리거 생성"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "사용자 생성"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "데이터베이스 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "테이블 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "뷰 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "프로시저 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "제약 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "트리거 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "사용자 수정"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "데이터베이스 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "테이블 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "뷰 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "프로시저 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "트리거 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "제약 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "사용자 삭제"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-msgid "Toggle System Objects"
-msgstr "시스템 개체 전환"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "데이터베이스 연결 추가"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "데이터베이스 생성"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr "다음 데이터 형식을 시각화"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "파일에서 가져오기"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "파일로 내보내기"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr "데이터 시각화"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "컬럼 선택"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "모든 선택"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "모든 선택 해제"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "이름"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-msgid "Db Type"
-msgstr "데이터베이스 유형"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "유형"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr "필드 이름"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "속성 이름"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-msgid "Setter"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "이미지"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "개체를 이미지로 읽을 수 없습니다"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "텍스트"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "데이터베이스 연결 편집"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "기다려 주십시오"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "WaitDialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "기다려 주십시오"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQL 파일"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "정말 파일 '{0}'를 덮어 쓰시겠습니까?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr "클래스 이름"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "데이터베이스를 찾을 수 없습니다!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr "데이터베이스에 연결을 시도합니다"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr "테스트 성공."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr "테스트 실패: {0}。"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-msgid "Test"
-msgstr "테스트"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "사용자 지정 연결 문자열을 사용"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr "최소 풀 사이즈:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr "최대 풀 사이즈:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "고급"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "비밀번호 저장"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-msgid "Name:"
-msgstr "이름:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-msgid "Password:"
-msgstr "암호:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr "포트:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-msgid "Server:"
-msgstr "서버:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-msgid "Username:"
-msgstr "사용자이름:"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr "데이터베이스 공급자를 찾을 수 없습니다."
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "이벤트"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "각 행"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "위치"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "활성"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "코멘트"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "정말 트리거 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "트리거 '{0}'에는 트리거문이 포함되어 있지 않습니다."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "구문"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "길이"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "정말 컬럼 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "알 수 없는 데이터 형식 '{0}'이 열 '{1}'에 적용되어 있습니다."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "테이블 '{0}'은 최소한 하나의 기본 키를 가지고 있어야 합니다."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "테이블 '{0}'는 최소한 하나의 라인을 가지고 있어야 합니다."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "기본키"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "외래키"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "체크"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "고유"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "이름이 지정되어 있지 않습니다."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "테이블 편집"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQL 미리보기"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-msgid "Connection"
-msgstr "연결"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "정의"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "미리보기"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "참조 테이블"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "컬럼 제약"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "삭제 작업"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "업데이트 작업"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "정말 제약 '{0}'을 삭제 하시겠습니까?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr "고유 키 제약 조건 '{0}'은 하나 이상의 컬럼에 적용되어야 합니다."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "참조 컬럼"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "체크된 제약 '{0}'은 체크 구문에 포함되어 있지 않습니다."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"체크된 제한 조건 '{0}'은 컬럼 제약으로 표시되어 있지만, 컬럼에 적용되지 않습"
-"니다."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "체크 조건"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr "기본 키 제약 조건 '{0}'은 하나 이상의 컬럼에 적용되어야합니다."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-msgid "Generate Data Classes"
-msgstr "데이터 클래스 만들기"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr "위치:"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "일반"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr "필드 & 속성"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr "클래스" \ No newline at end of file
diff --git a/extras/MonoDevelop.Database/po/messages.po b/extras/MonoDevelop.Database/po/messages.po
deleted file mode 100644
index 701298d193..0000000000
--- a/extras/MonoDevelop.Database/po/messages.po
+++ /dev/null
@@ -1,810 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2009-03-04 18:11:51-0500\n"
-"Last-Translator: Michael Hutchinson <mhutchinson@novell.com>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: MonoDevelop Gettext addin\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] ""
-msgstr[1] ""
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-msgid "MySql database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-msgid "Character Set:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-msgid "SQL Server database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-msgid "Database:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-msgid "SQLite database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-msgid "Oracle database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-msgid "PostgreSQL database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-msgid "Drop"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-msgid "Database Provider List"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-msgid "Toggle System Objects"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-msgid "Db Type"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-msgid "Setter"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-msgid "Test"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-msgid "Name:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-msgid "Password:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-msgid "Server:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-msgid "Username:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-msgid "Connection"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-msgid "Generate Data Classes"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
diff --git a/extras/MonoDevelop.Database/po/nl.po b/extras/MonoDevelop.Database/po/nl.po
deleted file mode 100644
index 20006c29b4..0000000000
--- a/extras/MonoDevelop.Database/po/nl.po
+++ /dev/null
@@ -1,876 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2008-01-22 18:55:02+0100\n"
-"Last-Translator: André Offringa\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: MonoDevelop.Gettext \n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Kon opgeslagen informatie van SQL-verbinding niet inladen."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Voer het wachtwoord voor verbinding '{0}' in"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Voer wachtwoord in"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Query database"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Database"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Uitvoeren"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Wis resultaten"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Kon niet verbinden met database '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabel"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Beïnvloede regels"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Geen resultaten"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Uitvoeren query"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Uitvoeren van query geannuleerd"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Query uitgevoerd ({0} resultaattabel)"
-msgstr[1] "Query uitgevoerd ({0} resultaattabellen)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Database opslaan"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Setter aanmaken"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "SQLite-databases"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "SQLite-databases"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Database opvragen"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLite-databases"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Alle bestanden"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Database aanmaken"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "SQLite-databases"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Databaseverbindingen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Kan niet verbinden:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Weet u zeker dat u verbinding '{0}' wilt verwijderen?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Weergave weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Weet u zeker dat u database '{0}' wilt weggooien?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabellen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Weergaves"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedures"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Gebruikers"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Constraints"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Lege tabel"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Weet u zeker dat u tabel '{0}' wilt leegmaken?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabel leeggemaakt"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Weet u zeker dat u tabel '{0}' wilt weggooien?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Weet u zeker dat u gebruiker '{0}' wilt weggooien?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Weet u zeker dat u procedure '{0}' wilt weggooien?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Weet u zeker dat u weergave '{0}' wilt weggooien?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Kolom"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Kolommen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Constraint"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Aggregeert"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Groepen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Talen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operatoren"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Rollen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regels"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sequenties"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Typen"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parameters"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parameter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Database browser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Systeemobjecten weergeven"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Database"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Database browser"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Wijzig verbinding"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Verwijder"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Ververs"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Verbind"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Verbinding verbreken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Select *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Select x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Query"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Tabel aanmaken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "View aanmaken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Procedure aanmaken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Constraint aanmaken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Trigger aanmaken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Gebruiker aanmaken"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Database aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Tabel aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Weergave aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Procedure aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Constraint aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Trigger aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Gebruiker aanpassen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Database weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Tabel weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Weergave weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Procedure weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Trigger weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Constraint weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Gebruiker weggooien"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Systeemobjecten weergeven"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Databaseverbinding toevoegen"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Database aanmaken"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Van bestand importeren"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exporteer naar bestand"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Selecteer kolom"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Selecteer alle"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Alles deselecteren"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Naam"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Type"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Type"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Property naam"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "of"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "Y"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Afbeelding"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Kon object niet als afbeelding inladen"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Bewerk databaseverbinding"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Even wachten a.u.b."
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "WachtDialoog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Even wachten a.u.b."
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQL-bestanden"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Weet u zeker dat u het bestand '{0}' wilt overschrijven?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Geen databases gevonden!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Kon niet verbinden met database '{0}'"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Gebruik alternatieve connectiestring"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Min pool-grootte"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Max pool-grootte"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Uitgebreid"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Wachtwoord opslaan"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Naam"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Wachtwoord"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Poort"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Gebruikersnaam"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Gebeurtenis"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Elke regel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Positie"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Actief"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Commentaar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Weet u zeker dat u trigger '{0}' wilt verwijderen?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Trigger '{0}' bevat geen trigger statement."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Statement"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Lengte"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullable"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Weet u zeker dat u kolom '{0}' wilt verwijderen?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Onbekend datatype '{0}' toegepast op kolom '{1}'."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "Tabel '{0}' moet op zijn minst één primaire sleutel bevatten."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "Tabel '{0}' moet op zijn minst één kolom bevatten."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Primaire sleutel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Oneigen sleutel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Controleer"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Uniek"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Geen naam opgegeven."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Wijzig tabel"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQL voorbeeld"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Verbinding toevoegen"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definitie"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Voorbeeld"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Referentie tabel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Kolom constraint"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Verwijder actie"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Actie bijwerken"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Weet u zeker dat u constraint '{0}' wilt verwijderen?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Unieke sleutelconstraint '{0}' moet op één of meer kolommen worden toegepast."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Referentie kolommen"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Gecontroleerde constraint '{0}' bevat geen controle statement."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Gecontroleerde constraint '{0}' is gemarkeerd als een kolomconstraint maar "
-"wordt niet toegepast op een kolom."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Controleer conditie"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Pimaire sleutel-constraint '{0}' moet worden toegepast op één of meerdere "
-"kolommen."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Database aanmaken"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Algemeen"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Her_noem"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Verwijder verbinding"
-
-#~ msgid "Property Type"
-#~ msgstr "Property type"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Ctor parameter"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Overschrijven?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Inhoud weergeven als tekst"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Inhoud weergevan als xml-tekst"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Inhoud weergeven als xml-boom"
-
-#~ msgid "Display content as image"
-#~ msgstr "Inhoud weergeven als afbeelding"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Verwijder trigger"
-
-#~ msgid "Remove Column"
-#~ msgstr "Verwijder kolom"
-
-#~ msgid "Base Settings"
-#~ msgstr "Basis instellingen"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Verwijder constraint"
diff --git a/extras/MonoDevelop.Database/po/pl.po b/extras/MonoDevelop.Database/po/pl.po
deleted file mode 100644
index 84a931501b..0000000000
--- a/extras/MonoDevelop.Database/po/pl.po
+++ /dev/null
@@ -1,950 +0,0 @@
-# Polish translation of MonoDevelop.
-# Copyright (C) 2005 Marek Sieradzki <mootant@op.pl>
-# This file is distributed under the same license as the MonoDevelop package.
-# Marek Sieradzki <mootant@op.pl>, 2005.
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.6\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-02-18 14:50+0100\n"
-"Last-Translator: Marek Sieradzki <marek.sieradzki@gmail.com>\n"
-"Language-Team: Polish <gnomepl@pandora.info.bielsko.pl>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Hasło"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Uruchom"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "Wyczyść wyniki"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "Rezultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Wykonywanie zapytań SQL włączone"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Anulowano wykonanie testu."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Anulowano wykonanie testu."
-msgstr[1] "Anulowano wykonanie testu."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Utwórz nowy folder"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Wszystkie pliki"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Utwórz połaczenie do bazy danych"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Połączenia z bazami danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-#, fuzzy
-msgid "Unable to connect:"
-msgstr "Nie udało się otworzyć pliku."
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Usuń tabelę"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabele"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Widoki"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedury"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Użytkownicy"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Ograniczenia"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Pusta tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Wyczyszczono tabelę"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Kolumna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Kolumny"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Ograniczenia"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Agregaty"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupy"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Języki"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operatory"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Role"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Zasady"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sekwencje"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Wyzwalacze"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Typy"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametry"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parametr"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Przeglądarka baz danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Pokaż obiekty systemowe"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Przeglądarka baz danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Dodaj połączenie"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Usuń"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Odśwież"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "Rozłącz"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Rozłącz"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Zaznacz folder"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "Co"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Twórz bazę danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Agregaty"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Ograniczenia"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Twórz bazę danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Agregaty"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "Baza danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Wyczyść"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Ograniczenia"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Wyzwalacze"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Usuń tabelę"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Usuń tabelę"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Usuń tabelę"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Wyzwalacze"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Ograniczenia"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Usuń tabelę"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Pokaż obiekty systemowe"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Połączenia z bazami danych"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "Utwórz połaczenie do bazy danych"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Pusty plik"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Pusty plik HTML"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Wybierz polecenie"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-#, fuzzy
-msgid "Select All"
-msgstr "Zaznacz _wszystko"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "Usuń wszystko"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nazwa"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "Nazwa projektu:"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Serwer"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Strona"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-#, fuzzy
-msgid "Unable to load object as Image"
-msgstr "Nie udało się otworzyć pliku."
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Połączenia z bazami danych"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Okno dialogowe"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Dodaj pliki"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Czy na pewno chcesz usunąc tę kontrolkę '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "Nie znaleziono nieudanych testów."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "Nieprawidłowy łancuch połączenia"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "Z_aawansowane"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Hasło"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nazwa"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Hasło"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Serwer"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Zmień nazwę"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "Zdarzenia"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "Opis"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(Aktywny)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Komentarze"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-#, fuzzy
-msgid "Check"
-msgstr "_Informacje o..."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-#, fuzzy
-msgid "Unique"
-msgstr "Unicode"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "Podano nieprawidłową nazwę assembly"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Edycja "
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Dodaj połączenie"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "Edycja SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "Dostawca"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Nazwa odnośnika"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Ograniczenia"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "Usuń zaznaczenie"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "Cofnij ostatnią akcję"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Czy na pewno chcesz usunąć '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Referencje"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "Nowa konfiguracja"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Utwórz połaczenie do bazy danych"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Ogólne"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "_Zmień nazwę"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "Zmień nazwę konfiguracji"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Właściwość"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parametr"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Wyświetl listę opcji"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Wyzwalacze"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Usuń grupę"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Pakiety"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Ograniczenia"
diff --git a/extras/MonoDevelop.Database/po/po.mdproj b/extras/MonoDevelop.Database/po/po.mdproj
deleted file mode 100644
index 3cc771feb5..0000000000
--- a/extras/MonoDevelop.Database/po/po.mdproj
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ItemType>TranslationProject</ItemType>
- <relPath>locale</relPath>
- <translations>
- <translations>
- <Translation isoCode="ar" />
- <Translation isoCode="ca" />
- <Translation isoCode="cs" />
- <Translation isoCode="da" />
- <Translation isoCode="de" />
- <Translation isoCode="es" />
- <Translation isoCode="fr" />
- <Translation isoCode="gl" />
- <Translation isoCode="hu" />
- <Translation isoCode="id" />
- <Translation isoCode="it" />
- <Translation isoCode="ja" />
- <Translation isoCode="nl" />
- <Translation isoCode="pl" />
- <Translation isoCode="pt" />
- <Translation isoCode="pt_BR" />
- <Translation isoCode="ru" />
- <Translation isoCode="sl_SI" />
- <Translation isoCode="sv" />
- <Translation isoCode="tr" />
- <Translation isoCode="zh_CN" />
- <Translation isoCode="zh_TW" />
- </translations>
- </translations>
- <packageName>monodevelop-database</packageName>
- <outputType>RelativeToOutput</outputType>
- <ProjectGuid>{0CC523C2-CCB4-4BE6-8050-A20050521093}</ProjectGuid>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' " />
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' " />
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-</Project>
diff --git a/extras/MonoDevelop.Database/po/pt.po b/extras/MonoDevelop.Database/po/pt.po
deleted file mode 100644
index 62a354e98b..0000000000
--- a/extras/MonoDevelop.Database/po/pt.po
+++ /dev/null
@@ -1,951 +0,0 @@
-# MonoDevelop Portuguese (Portugal) / Português (Portugal) translation
-# Copyright (C) 2007
-#
-# This file is distributed under the same license as the MonoDevelop package.
-#
-# Vitor Hugo Barros <vitor.h.barros@gmail>, 2007
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.14\n"
-"Report-Msgid-Bugs-To: Vitor Hugo Barros <vitor.h.barros@gmail>\n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2006-04-06 16:24-0300\n"
-"Last-Translator: Vitor Hugo Barros <vitor.h.barros@gmail>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Password"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Executar"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "Limpar resultados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Estado"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-#, fuzzy
-msgid "Unable to connect to database '{0}'"
-msgstr "Não foi possível encontrar o configure.in em {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "Resultado"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Executando query sql em"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Execução de testes cancelada."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Execução de testes cancelada."
-msgstr[1] "Execução de testes cancelada."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Criar um novo directório"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Todos os ficheiros"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-#, fuzzy
-msgid "Database Connections"
-msgstr "Conexões de base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Eliminar tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabelas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Vistas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedimentos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Utilizadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Restrições"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Esvaziar tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabela esvaziada"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Coluna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Colunas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Conjuntos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Línguas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roles"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regras"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sequências"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parâmetros"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parâmetro"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Examinador da base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Mostrar objectos do sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Examinador da base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Adicionar conexão"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Eliminar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Actualizar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "Desconectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Desconectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Seleccionar ficheiro"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "Cada"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Criar pacote"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Criar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Procedimento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Criar pacote"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Criar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Depois de limpar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Procedimento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Eliminar tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Eliminar tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Eliminar tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procedimento"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Eliminar tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Mostrar objectos do sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Conexões de base de dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Ficheiro vazio"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Ficheiro HTML vazio"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Seleccionar Directório"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-#, fuzzy
-msgid "Select All"
-msgstr "Seleccionar _Tudo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "Apagar tudo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "Nome da _propriedade:"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Página"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Conexões de base de dados"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Diálogo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Adicionar ficheiros"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Tem a certeza que pretende apagar o widget '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "Não foram encontrados tetes falhados."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Não foi possível encontrar o configure.in em {0}"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "String de conexão"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "_Avançado"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Password"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Password"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Porta:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Renomear"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "Eventos"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "Descrição"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(Activo)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Comentários"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-#, fuzzy
-msgid "Check"
-msgstr "Obter..."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-#, fuzzy
-msgid "Unique"
-msgstr "Unicode"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "O nome da assembly especificado é inválido"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Esvaziar tabela"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Adicionar conexão"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "Definição SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "Provider"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Referência: "
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Restrição"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "Apagar a selecção"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "Desfazer a última acção"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Tem a certeza que pretende apagar '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Referências"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Base de dados"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Geral"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Re_nomear"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "Adicionar conexão"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Propriedade"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parâmetro"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Lista de opções de visualização"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Triggers"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Eliminar grupo"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Configuração do pacote"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Restrição"
diff --git a/extras/MonoDevelop.Database/po/pt_BR.po b/extras/MonoDevelop.Database/po/pt_BR.po
deleted file mode 100644
index a2aecff824..0000000000
--- a/extras/MonoDevelop.Database/po/pt_BR.po
+++ /dev/null
@@ -1,885 +0,0 @@
-# MonoDevelop Portuguese (Brazilian) translation
-# Copyright (C) 2004, Andre Filipe de Assuncao e Brito <decko@noisemakers.org>
-# Copyright (C) 2004, Maurício de Lemos Rodrigues Collares Neto <mauricioc@gmail.com>
-# Copyright (C) 2006, Rafael "Monoman" Teixeira <rafaelteixeirabr@hotmail.com>
-# Copyright (C) 2007, Renato Felipe Atilio <renatoat@gmail.com>
-#
-# This file is distributed under the same license as the MonoDevelop package.
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.10\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-12-14 21:15-0300\n"
-"Last-Translator: Renato Felipe Atilio <renatoat@gmail.com>\n"
-"Language-Team: pt_BR <gnome-l10n-br@listas.cipsga.org.br>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Não foi possível carregar informações de conexão SQL armazenadas."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Por favor informe a senha para a conexão '{0}'"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Informar Senha"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Consultar Banco de Dados"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "Banco de _Dados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Executar"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Limpar Resultados"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "Não foi possível conectar ao banco de dados '{0}'"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Linhas Afetadas"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Sem Resultado"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Executando consulta"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Execução da consulta cancelada"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Consulta executada ({0} tabela resultante)"
-msgstr[1] "Consulta executada ({0} tabelas resultantes)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Salvar Banco de Dados"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Criar Setter"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Bancos de dados SQLite"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Banco de Dados"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Bancos de dados SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Abrir Banco de Dados"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "Bancos de dados SQLite"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Todos os arquivos"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Criar Banco de Dados"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Bancos de dados SQLite"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Conexões com os Bancos de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Não foi possível conectar:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Você tem certeza de que deseja remover a conexão '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Remover View"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Você tem certeza de que deseja remover o banco de dados '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabelas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Views"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedures"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Usuários"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Restrições"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Limpar Tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Você tem certeza de que deseja limpar a tabela '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabela esvaziada"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Você tem certeza de que deseja remover a tabela '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Você tem certeza de que deseja remover o usuário '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Você tem certeza de que deseja remover a procedure '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Você tem certeza de que deseja remover o view '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Coluna"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Colunas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Agregações"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Linguagens"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operadores"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Papeis"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regras"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Seqüências"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Triggers"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipos"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parâmetros"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parâmetro"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Navegador de Bancos de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Mostrar Objetos do Sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Banco de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Navegador de Bancos de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Editar Conexão"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Remover"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Atualizar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Conectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Desconectar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Selecionar Tudo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Selecionar x,y,..."
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Consulta"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Criar Tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Criar View"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Criar Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Criar Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Criar Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Criar Usuário"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Alterar Banco de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Alterar Tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Alterar Visualização"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Alterar Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Alterar Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Alterar Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Alterar Usuário"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Remover Banco de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Remover Tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Remover View"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Remover Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Remover Trigger"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Remover Restrição"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Remover Usuário"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Mostrar Objetos do Sistema"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Adicionar Conexão de Banco de Dados"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Criar Banco de Dados"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Importar de Arquivo"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Exportar para Arquivo"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Selecionar Coluna"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Selecionar Tudo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Deselecionar tudo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tipo"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Nome da Propriedade"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "de"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "S"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "Imagem"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Não foi possível carregar objeto como imagem"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Editar Conexão de Banco de Dados"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Por favor, aguarde"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "WaitDialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Por favor aguarde"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "Arquivos SQL"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Você tem certeza de que deseja sobrescrever o arquivo '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Nenhum banco de dados encontrado!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Não foi possível conectar ao banco de dados '{0}'"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Texto"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Usar string de conexão personalizada"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-#, fuzzy
-msgid "Min Pool Size:"
-msgstr "Tamanho Mínimo de Pool"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-#, fuzzy
-msgid "Max Pool Size:"
-msgstr "Tamanho Máximo de Pool"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Avançado"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Salvar Senha"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Nome"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Senha"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Porta"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Servidor"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Nome de Usuário"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Evento"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Cada Linha"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Posição"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Atual"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Comentário"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Você tem certeza de que deseja remover trigger '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Trigger '{0}' não contém uma declaração de trigger."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Declaração"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Tamanho"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Nullável"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Você tem certeza de que deseja remover a coluna '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "Tipo de dado '{0}' desconhecido aplicado à coluna '{1}'."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "Tabela '{0}' deve conter ao menos uma chave primária."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "Tabela '{0}' deve conter ao menos uma coluna."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Chave Primária"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Chave Estrangeira"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Verificação"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Única"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Nenhum nome especificado."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Editar Tabela"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "Prever SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Adicionar Conexão"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Definição"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Prever"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Tabela de Referência"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Restrição da Coluna"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Ação de Exclusão"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Ação de Atualização"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Você tem certeza de que deseja remover a restrição '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Restrição de Chave Única '{0}' deve ser aplicada a uma ou mais colunas."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Colunas de Referência"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Restrição verificada '{0}' não contém uma declaração de verificação."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"Restrição verificada '{0}' está marcada como uma restrição de coluna mas não "
-"está aplicada a uma coluna."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Condição de Verificação"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"Restrição de Chave Primária '{0}' deve ser aplicada a uma ou mais colunas."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Criar Banco de Dados"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Geral"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Re_nomear"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Remover Conexão"
-
-#~ msgid "Property Type"
-#~ msgstr "Tipo de Propriedade"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parâmetro de Construtor"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Sobrescrever?"
-
-#~ msgid "Display content as text"
-#~ msgstr "Exibir conteúdo como texto"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "Exibir conteúdo como texto xml"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "Display conteúdo como árvore xml"
-
-#~ msgid "Display content as image"
-#~ msgstr "Exibir conteúdo como imagem"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Remover Trigger"
-
-#~ msgid "Remove Column"
-#~ msgstr "Remover Coluna"
-
-#~ msgid "Base Settings"
-#~ msgstr "Definições Principais"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Remover Restrição"
diff --git a/extras/MonoDevelop.Database/po/ru.po b/extras/MonoDevelop.Database/po/ru.po
deleted file mode 100644
index aec3176d6c..0000000000
--- a/extras/MonoDevelop.Database/po/ru.po
+++ /dev/null
@@ -1,954 +0,0 @@
-# Russian translation of MonoDevelop.
-# Copyright (C) 2006 Maxim Krentovskiy <mkrentovskiy@gmail.com>
-# Copyright (C) 2007 Semyon Soldatov <simplexe@csharp.net.ru>
-# This file is distributed under the same license as the MonoDevelop package.
-# Maxim Krentovskiy <mkrentovskiy@gmail.com>, 2006
-# Semyon Soldatov <simplexe@csharp.net.ru>, 2007
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.13\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-10-29 10:54+0300\n"
-"Last-Translator: Daniel Abramov <ex@vingrad.ru>\n"
-"Language-Team: Russian <ru@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
-"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
-"X-Poedit-Language: Russian\n"
-"X-Poedit-Country: RUSSIAN FEDERATION\n"
-"X-Poedit-SourceCharset: utf-8\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Пароль"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Выполнение"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "Очистить результаты"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Статус"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-#, fuzzy
-msgid "Unable to connect to database '{0}'"
-msgstr "Не удалось найти файл configure.in в {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Таблица"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "Результат"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Выполнение запроса в рамках"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Выполнение тестов прервано."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Выполнение тестов прервано."
-msgstr[1] "Выполнение тестов прервано."
-msgstr[2] "Выполнение тестов прервано."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Создать новую папку"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Все файлы"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Соединения с базой данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Удалить таблицу"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Таблицы"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Представления"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Процедуры"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Пользователи"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Ограничения"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Пустая таблица"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Таблица опустошена"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Колонка"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Колонки"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Ограничение"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Агрегация"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Группы"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Языки"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Операторы"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Роли"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Правила"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Последовательности"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Триггеры"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Типы"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Параметры"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Параметр "
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Просмотр баз данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Показать системные объекты"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Просмотр баз данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Добавить соединение"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Удалить"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Обновить"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "Отключиться"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Отключиться"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Выделить всё"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "MonoQuery"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Создать пакет"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Создать"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Процедура"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Ограничение"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Создать пакет"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Создать"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "После очистки"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Процедура"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Ограничение"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Триггеры"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Удалить таблицу"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Удалить таблицу"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Удалить таблицу"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Процедура"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Триггеры"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Ограничение"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Удалить таблицу"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Показать системные объекты"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Соединения с базой данных"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Файл"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Файл HTML"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Снять выделение"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Выделить всё"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "Удалить всё"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Имя"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Тип"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Тип"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "Имя _свойства:"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Сервер"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Страница"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Текст"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Соединения с базой данных"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Диалог"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Добавить файлы"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Удалить виджет '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "Все тесты были пройдены успешно."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Не удалось найти файл configure.in в {0}"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Текст"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "Строка соединения"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "_Дополнительно"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Пароль"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Имя"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Пароль"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Порт:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Сервер"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Переименовать"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "События"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "Описание"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(Активная)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Комментарии"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Таблица"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-#, fuzzy
-msgid "Check"
-msgstr "Создать рабочую копию..."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-#, fuzzy
-msgid "Unique"
-msgstr "Юникод"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "Указано неверное название сборки"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Редактировать "
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Добавить соединение"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "Определение SQL"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "Провайдер"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Ссылка:"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Ограничение"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "Удалить выделенный текст"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "Отменить последнее действие"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Удалить '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Ссылки"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "Новая конфигурация"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "База данных"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Общие"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "Пере_именовать"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Удалить соединение"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Свойство"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Параметр "
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Отобразить список настроек"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Триггеры"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Удалить группу"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Настройки пакета"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Удалить соединение"
diff --git a/extras/MonoDevelop.Database/po/sl_SI.po b/extras/MonoDevelop.Database/po/sl_SI.po
deleted file mode 100644
index eca22173ca..0000000000
--- a/extras/MonoDevelop.Database/po/sl_SI.po
+++ /dev/null
@@ -1,948 +0,0 @@
-# translation of sl_SI.po to Slovene
-# Slovenian translation of MonoDevelop
-# Copyright (C) 2006 Matej Urbas
-# This file is distributed under the same license as the MonoDevelop package.
-#
-# Matej Urbas <matej.urbas@gmail.com>, 2006.
-msgid ""
-msgstr ""
-"Project-Id-Version: sl_SI\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2006-11-18 01:38+0100\n"
-"Last-Translator: Matej Urbas <matej.urbas@gmail.com>\n"
-"Language-Team: Slovene\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==2 ? 1 : (n>4 || n < 1) ? 3 : "
-"2;\n"
-"X-Generator: KBabel 1.11.4\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Geslo"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Izvedi"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "Počisti rezultate"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "Rezultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Izvajam sql poizvedbo na"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Izvajanje testa je bilo prekinjeno"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Izvajanje testa je bilo prekinjeno"
-msgstr[1] "Izvajanje testa je bilo prekinjeno"
-msgstr[2] "Izvajanje testa je bilo prekinjeno"
-msgstr[3] "Izvajanje testa je bilo prekinjeno"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Ustvari nov imenik"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Vse datoteke"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Povezave s podatkovnimi bazami"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Opusti tabelo"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabele"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Pogledi"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedure"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Uporabniki"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Omejitve"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Izprazni tabelo"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabela izpraznjena"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Stolpec"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Stolpci"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Omejitev"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Agregati"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Skupine"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Jeziki"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "Operatorji"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Vloge"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Pravila"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sekvence"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Sprožilci"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Tipi"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametri"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-#, fuzzy
-msgid "Parameter"
-msgstr "Parametri"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Brskalnik podatkovnih baz"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Prikaži sistemske objekte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Brskalnik podatkovnih baz"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Dodaj povezavo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Odstrani"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Osveži"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "Odjavi se"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Odjavi se"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Ozn_ači vse"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "Vsak"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Ustvari novo datoteko"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Ustvari novo opravilo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Omejitev"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Sprožilci"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Ustvari nov imenik"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Omejitev"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Sprožilci"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Opusti tabelo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Opusti tabelo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Opusti tabelo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procedura"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Sprožilci"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Omejitev"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Opusti tabelo"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Prikaži sistemske objekte"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Povezave s podatkovnimi bazami"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Prazna datoteka"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Prazna HTML datoteka"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Izberi imenik"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-#, fuzzy
-msgid "Select All"
-msgstr "Ozn_ači vse"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "_Počisti oznake"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Ime"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Tip"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tip"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "Lastnosti"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Strežnik"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Stran"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Povezave s podatkovnimi bazami"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "AWT OK dialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Dodaj datoteke"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Ste prepričani da želite izbrisati gradnik '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "Ni bilo zaznanih spodletelih testov."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Tekst"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "Niz za povezavo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "_Napredno"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Geslo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Ime"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Geslo"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Prioriteta"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Strežnik"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Preimenuj"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "Dogodek {0}"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "Opis"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(Aktiven)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Komentarji"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Tabela"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-#, fuzzy
-msgid "Check"
-msgstr "Uvozi..."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "Podano neveljavno ime zbirke"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Izprazni tabelo"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Dodaj povezavo"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "Opis"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "Gostitelj"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Ime reference"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Omejitev"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "Izbriši označeno vsebino"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "Razveljavi zadnje dejanje"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Ste prepričani da želite izbrisati '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Reference"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "Nova nastavitev"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Podatkovna baza"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Splošno"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "P_reimenuj"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "Preimenuj nastavitve"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Lastnosti"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parametri"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "Prikaži seznam nastavitev"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Sprožilci"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Odstrani skupino"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Omejitev"
diff --git a/extras/MonoDevelop.Database/po/sv.po b/extras/MonoDevelop.Database/po/sv.po
deleted file mode 100644
index aaa6c43618..0000000000
--- a/extras/MonoDevelop.Database/po/sv.po
+++ /dev/null
@@ -1,956 +0,0 @@
-# Swedish translation for MonoDevelop.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# This file is distributed under the same license as the monodevelop package.
-# Daniel Nylander <po@danielnylander.se>, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: monodevelop\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-10-01 22:12+0100\n"
-"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
-"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "Lösenord"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "Töm resultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-#, fuzzy
-msgid "Unable to connect to database '{0}'"
-msgstr "Kunde inte hitta configure.in i {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tabell"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "Resultat"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "Kör SQL-fråga på"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "Sökning avbröts."
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Sökning avbröts."
-msgstr[1] "Sökning avbröts."
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "Skapa ny mapp"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-#, fuzzy
-msgid "SQLite databases"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "Alla filer"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Databasanslutningar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-#, fuzzy
-msgid "Unable to connect:"
-msgstr "Kunde inte hitta configure.in i {0}"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Ta bort tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tabeller"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Vyer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Procedurer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Användare"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "Töm tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tabell tömd"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Kolumn"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Kolumner"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Grupper"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Språk"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roller"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Regler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sekvenser"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Utlösare"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Typer"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametrar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parameter"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Databasbläddare"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Visa systemobjekt"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "Databasbläddare"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "Lägg till anslutning"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Ta bort"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Uppdatera"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "Koppla från"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Koppla från"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "Markera _allt"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-#, fuzzy
-msgid "Select x,y,..."
-msgstr "Välj mall:"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "Skapa paket"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "Skapa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "Skapa paket"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "Skapa i lösning:"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "Skapa paket"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "Skapa"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "Tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-#, fuzzy
-msgid "Alter View"
-msgstr "Utlösare"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "Skapa paket"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "Aktiv konfiguration"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "Utlösare"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-#, fuzzy
-msgid "Alter User"
-msgstr "Utlösare"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "Ta bort tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "Ta bort tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "Ta bort tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "Procedur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "Utlösare"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "Aktiv konfiguration"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "Ta bort tabell"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "Visa systemobjekt"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "Databasanslutningar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "Tom fil"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "Tom HTML-fil"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "Välj mapp"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Markera allt"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "Ta bort alla"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Namn"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Typ"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "_Egenskapsnamn:"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "J"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "N"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "Sida"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-#, fuzzy
-msgid "button462"
-msgstr "Ny lösning"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "Databasanslutningar"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Var god vänta"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "Dialog"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-#, fuzzy
-msgid "Please wait"
-msgstr "Var god vänta"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "Lägg till filer"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "Är du säker på att du vill ta bort widgeten \"{0}\"?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "Inga misslyckade tester hittades."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "Kunde inte hitta configure.in i {0}"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "Text"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "Anslutningssträng"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "_Avancerat"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "Lösenord"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "Namn"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "Lösenord"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "Server"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "Byt namn"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "Händelser"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Varje rad"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "Beskrivning"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(Aktiv)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "Kommentarer"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-#, fuzzy
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "Filen \"{0}\" kunde inte öppnas."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-#, fuzzy
-msgid "Statement"
-msgstr "Status"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Längd"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "Tabell"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-#, fuzzy
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "Filen \"{0}\" kunde inte öppnas."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Primärnyckel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Främmande nyckel"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-#, fuzzy
-msgid "Check"
-msgstr "Checka ut..."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-#, fuzzy
-msgid "Unique"
-msgstr "Unicode"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "Redigera"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-#, fuzzy
-msgid "Preview SQL"
-msgstr "Skriv ut _förhandsvisning"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "Lägg till anslutning"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "SQL-definition"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "Skriv ut _förhandsvisning"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "Referens: "
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "Aktiv konfiguration"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "Ta bort markeringen"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "Ångra senaste åtgärden"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "Är du säker på att du vill ta bort \"{0}\"?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "Referenser"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-#, fuzzy
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "Filen \"{0}\" kunde inte öppnas."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "Ny konfiguration"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "Databas"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Allmänt"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "By_t namn"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Ta bort anslutning"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "Egenskap"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "Parameter"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Skriv över?"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "Utlösare"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "Ta bort grupp"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "Paketinställningar"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "Skapa i lösning:"
diff --git a/extras/MonoDevelop.Database/po/tr.po b/extras/MonoDevelop.Database/po/tr.po
deleted file mode 100644
index c5d9ee423e..0000000000
--- a/extras/MonoDevelop.Database/po/tr.po
+++ /dev/null
@@ -1,859 +0,0 @@
-# Turkish translation of MonoDevelop
-# Copyright (C) 2004 Novell, Inc.
-# This file is distributed under the same license as the MonoDevelop package.
-# Enver ALTIN <skyblue@skyblue.gen.tr>, 2004,
-# Enver ALTIN <ealtin@gmail.com>, 2008,
-# , fuzzy
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 1.0\n"
-"Report-Msgid-Bugs-To: ealtin@gmail.com\n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2008-02-24 00:20+0200\n"
-"Last-Translator: Enver ALTIN <ealtin@gmail.com>\n"
-"Language-Team: Turkish <gnome-turk@gnome.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr "Kaydedilmiş SQL bağlantı bilgisi yüklenemedi."
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr "Lütfen '{0}' bağlantısı için parolayı girin"
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "Parolayı girin"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "Veritabanı sorgula"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "_Veritabanı"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "Çalıştır"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "Sonuçları Temizle"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "Durum"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "'{0}' veritabanına bağlanılamadı"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr "Sorgu süresi: {0}"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "Tablo"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr "Etkilenen Satır"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "Sonuç yok"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "Sorgu çalıştırılıyor"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "Sorgu çalıştırması iptal edildi"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "Sorgu çalıştırıldı ({0} sonuç tablosu)"
-msgstr[1] "Sorgu çalıştırıldı ({0} sonuç tablosu)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-msgid "MySql database"
-msgstr "MySql veritabanı"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-msgid "Character Set:"
-msgstr "Karakter Seti:"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr "Sıralama:"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-msgid "SQL Server database"
-msgstr "SQL Server veritabanı"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-msgid "Database:"
-msgstr "Veritabanı:"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr "'{0}' adlı veritabanı bağlantısı zaten var."
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-msgid "SQLite database"
-msgstr "SQLite veritabanı"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "Veritabanı Aç"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr "SQLite veritabanları"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-msgid "All files"
-msgstr "Tüm dosyalar"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-msgid "Oracle database"
-msgstr "Oracle veritabanı"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-msgid "PostgreSQL database"
-msgstr "PostgreSQL veritabanı"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "Veritabanı Bağlantıları"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr "Bağlanılamadı:"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "'{0}' bağlantısını silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "Görünümü Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "'{0}' veritabanını tamamen silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "Tablolar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "Görünümler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "Yordamlar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "Kullanıcılar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "Sınırlamalar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "Tabloyu Boşalt"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "'{0}' tablosunu boşaltmak istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "Tablo boşaltıldı"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "'{0}' tablosunu silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "'{0}' kullanıcısını silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "'{0}' yordamını silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "'{0}' görünümünü silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "Kolon"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "Kolonlar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "Sınırlama"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "Toplayıcılar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "Gruplar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "Diller"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "İşleçler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "Roller"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "Kurallar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "Sayaçlar"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "Tetikleyiciler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "Türler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "Parametreler"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "Parametre"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "Veritabanı Gözatıcı"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "Sistem Nesnelerini Göster"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "Veritabanı"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-msgid "Database Provider List"
-msgstr "Veritabanı Eriştirici Listesi"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-msgid "Edit Connection"
-msgstr "Bağlantıyı Düzenle"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "Çıkar"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "Tazele"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-msgid "Connect"
-msgstr "Bağlan"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "Bağlantıyı kes"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "Tümünü seç"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr "Kolonları seç"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "Sorgu"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "Tablo Oluştur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-msgid "Create View"
-msgstr "Görünüm Oluştur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "Yordam Oluştur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "Kısıt Oluştur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "Tetikleyici Oluştur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "Kullanıcı Oluştur"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-msgid "Alter Database"
-msgstr "Veritabanını Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-msgid "Alter Table"
-msgstr "Tabloyu Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr "Görünümü Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-msgid "Alter Procedure"
-msgstr "Yordamı Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-msgid "Alter Constraint"
-msgstr "Sınırlamayı Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-msgid "Alter Trigger"
-msgstr "Tetikleyiciyi Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr "Kullanıcıyı Değiştir"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "Veritabanını Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "Tabloyu Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-msgid "Drop View"
-msgstr "Görünümü Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "Yordamı Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "Tetikleyiciyi Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "Sınırlamayı Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "Kullanıcıyı Sil"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-msgid "Toggle System Objects"
-msgstr "Sistem Nesneleri Gösterimi Aç/Kapat"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-msgid "Add Database Connection"
-msgstr "Veritabanı Bağlantısı Ekle"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "Veritabanı Oluştur"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr "Veriyi Görselleştirme Şekli"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-msgid "Import From File"
-msgstr "Dosyadan İthal Et"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-msgid "Export To File"
-msgstr "Dosyaya İhraç Et"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr "Veriyi Görselleştir"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-msgid "Select Column"
-msgstr "Kolon Seç"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "Tümünü seç"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "Hiçbirini seçme"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "Ad"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-msgid "Db Type"
-msgstr "Veritabanı Türü"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "Tür"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr "Alan Adı"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-msgid "Property Name"
-msgstr "Öznitelik Adı"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-msgid "Setter"
-msgstr "Kaydedici"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "of"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "E"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "H"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "İzlenim"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr "Nesne bir izlenim olarak yüklenemedi"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "Metin"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr "button462"
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-msgid "Edit Database Connection"
-msgstr "Veritabanı Bağlantısını Düzenle"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr "Lütfen Bekleyin"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-msgid "WaitDialog"
-msgstr "BeklemeDiyaloğu"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr "Lütfen bekleyin"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-msgid "SQL files"
-msgstr "SQL dosyaları"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "'{0}' dosyasının üzerine yazmak istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr "Sınıf Adı"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-msgid "No databases found!"
-msgstr "Hiç veritabanı bulunamadı!"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-msgid "Trying to connect to database ..."
-msgstr "'{0}' veritabanına bağlantı deneniyor ..."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr "Sınama Başarılı."
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr "Sınama Başarısız: {0}."
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-msgid "Test"
-msgstr "Sınama"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-msgid "Use custom connection string"
-msgstr "Özel bağlantı ifadesi kullan"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr "En Küçük Havuz Boyutu:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr "En Büyük Havuz Boyutu:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-msgid "Advanced"
-msgstr "Gelişmiş"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-msgid "Save Password"
-msgstr "Parolayı Kaydet"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-msgid "Name:"
-msgstr "Ad:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-msgid "Password:"
-msgstr "Parola:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr "Bağlantı noktası:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-msgid "Server:"
-msgstr "Sunucu:"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-msgid "Username:"
-msgstr "Kullanıcı adı:"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr "Hiçbir veritabanı eriştirici bulunamadı."
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-msgid "Event"
-msgstr "Olay"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "Her Satır"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-msgid "Position"
-msgstr "Konum"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-msgid "Active"
-msgstr "Etkin"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-msgid "Comment"
-msgstr "Yorum"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "'{0}' tetikleyicisini silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr "'{0}' tetikleyicisi bir tetikleyici deyimi içermiyor."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr "Deyim"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr "PK"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr "Uzunluk"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-msgid "Nullable"
-msgstr "Hükümsüzleştirilebilir"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "'{0}' kolonunu silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr "'{1}' kolonuna bilinmeyen veri tipi '{0}' uygulanmış."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr "'{0}' tablosu en az bir birincil anahtar içermelidir."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr "'{0}' tablosu en az bir kolon içermelidir."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr "Birincil Anahtar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr "Yabancı Anahtar"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr "Denetle"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr "Eşsiz"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-msgid "No name specified."
-msgstr "Hiçbir ad belirtilmedi."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "Tabloyu Düzenle"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr "SQL Önizleme"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-msgid "Connection"
-msgstr "Bağlantı"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-msgid "Definition"
-msgstr "Tanımlama"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "Önizleme"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-msgid "Reference Table"
-msgstr "Atıf Tablosu"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-msgid "Column Constraint"
-msgstr "Kolon Kısıtı"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-msgid "Delete Action"
-msgstr "Eylemi Sil"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-msgid "Update Action"
-msgstr "Eylemi Güncelle"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "'{0}' kısıtını silmek istediğinizden emin misiniz?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"'{0}' adlı Eşsiz Anahtar kısıtı bir veya daha fazla kolona uygulanmalıdır."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-msgid "Reference Columns"
-msgstr "Atıf Kolonları"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr "'{0}' adlı denetlenmiş kısıt bir check deyimi içermiyor."
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-"'{0}' adlı denetlenmiş kısıt bir kolon kısıtı olarak işaretlenmiş olmasına "
-"karşın herhangi bir kolona uygulanmamış."
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-msgid "Check Condition"
-msgstr "Koşulu Kontrol Et"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-"'{0}' adlı Birincil Anahtar kısıtı bir veya daha fazla kolona uygulanmalıdır."
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-msgid "Generate Data Classes"
-msgstr "Veri Sınıflarını Üret"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr "Konum:"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "Genel"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr "Alanlar & Öznitelikler"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr "Sınıflar"
-
-#~ msgid "Re_name"
-#~ msgstr "Ye_niden adlandır"
-
-#~ msgid "Remove Connection"
-#~ msgstr "Bağlantıyı Sil"
-
-#~ msgid "Overwrite?"
-#~ msgstr "Üzerine yazılsın mı?"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "Tetikleyiciyi Sil"
-
-#~ msgid "Remove Column"
-#~ msgstr "Kolonu Sil"
-
-#~ msgid "Remove Constraint"
-#~ msgstr "Kısıtı Sil"
-
-#~ msgid "Property Type"
-#~ msgstr "Öznitelik Türü"
-
-#~ msgid "Ctor Parameter"
-#~ msgstr "Üretici Oluştur"
-
-#~ msgid "Display content as text"
-#~ msgstr "İçeriği metin olarak görüntüle"
-
-#~ msgid "Display content as xml text"
-#~ msgstr "İçeriği XML metni olarak görüntüle"
-
-#~ msgid "Display content as xml tree"
-#~ msgstr "İçeriği XML ağacı olarak görüntüle"
-
-#~ msgid "Display content as image"
-#~ msgstr "İçeriği izlenim olarak görüntüle"
diff --git a/extras/MonoDevelop.Database/po/zh_CN.po b/extras/MonoDevelop.Database/po/zh_CN.po
deleted file mode 100755
index 660d41be01..0000000000
--- a/extras/MonoDevelop.Database/po/zh_CN.po
+++ /dev/null
@@ -1,910 +0,0 @@
-# MonoDevelop zh_CN translation
-# Copyright(C) 2006 Yu Lindong
-# This file is distributed under the same license as the PACKAGE package.
-# Yu Lindong <shinjidev@163.com>, 2006.
-# Funda Wang <fundawang@linux.net.cn>, 2006.
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.10\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-12-26 21:22+0800\n"
-"Last-Translator: Simon Keung <simon_keung@hotmail.com>\n"
-"Language-Team: Yu Lindong <shinjidev@163.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-msgid "Enter Password"
-msgstr "输入密码"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-msgid "Query Database"
-msgstr "查询数据库"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-msgid "_Database"
-msgstr "数据库(_D)"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "执行"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-msgid "Clear Results"
-msgstr "清除结果"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "状态"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-msgid "Unable to connect to database '{0}'"
-msgstr "不能连接到数据库‘{0}’"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "表"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-msgid "No Results"
-msgstr "没有结果"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-msgid "Executing query"
-msgstr "正在执行 SQL 查询"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-msgid "Query execute cancelled"
-msgstr "执行 SQL 查询被取消"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "查询执行完 ({0} 结果)"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "保存数据库"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "创建新文件夹"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "保存数据库"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "数据库"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "保存数据库"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-msgid "Open Database"
-msgstr "打开数据库"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "全部文件"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "创建新数据库"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "数据库"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "数据库连接"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "您确定想要删除窗口“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "删除表"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "您确定想要删除部件“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "表"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "视图"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "过程"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "用户"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "约束"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-msgid "Empty Table"
-msgstr "清空表"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "您确定想要放空表“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "表已清空"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "您确定想要删除表“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "您确定想要删除用户“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "您确定想要删除过程“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "您确定想要删除部件“{0}”吗?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "约束"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "聚合"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "组"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "语言"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "操作符"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "角色"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "规则"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "序列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "触发器"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "类型"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "参数"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "参数"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "数据库浏览器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "显示系统对象"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "数据库"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "数据库浏览器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "添加连接"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "删除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "刷新"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "断开连接"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "断开连接"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-msgid "Select *"
-msgstr "全选 *"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-msgid "Query"
-msgstr "查询"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-msgid "Create Table"
-msgstr "创建新表"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "创建新文件夹"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-msgid "Create Procedure"
-msgstr "创建新工序"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-msgid "Create Constraint"
-msgstr "创建新约束"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-msgid "Create Trigger"
-msgstr "创建新触发器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-msgid "Create User"
-msgstr "创建新用户"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "数据库"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "表"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "过程"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "约束"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "触发器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-msgid "Drop Database"
-msgstr "删除数据库"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-msgid "Drop Table"
-msgstr "删除表"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "删除表"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-msgid "Drop Procedure"
-msgstr "删除工序"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-msgid "Drop Trigger"
-msgstr "删除触发器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-msgid "Drop Constraint"
-msgstr "删除约束"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-msgid "Drop User"
-msgstr "删除用户"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "显示系统对象"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "数据库连接"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-msgid "Create Database"
-msgstr "创建新数据库"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "空文件"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "空 HTML 文件"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "选择命令"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "全选"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-msgid "Deselect All"
-msgstr "全部不选"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "名称"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "类型"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "类型"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "属性"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "服务器"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr "的"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr "是(Y)"
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr "否(N)"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-msgid "Image"
-msgstr "图像"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "文本"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "数据库连接"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "查找对话框"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "添加文件"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "您确定想要删除部件“{0}”吗?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "未找到失败测试。"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "不能连接到数据库‘{0}’"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "文本"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "连接字符串"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "高级(_A)"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "密码"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "名称"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "密码"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-msgid "Port:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "服务器"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "用户名"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "事件 {0}"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr "每一行"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "描述"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(活动)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "公共"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "您确定想要删除触发器“{0}”吗?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "表"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "您确定想要删除窗口“{0}”吗?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-msgid "Check"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-msgid "Unique"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "指定了无效的程序集名称"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-msgid "Edit Table"
-msgstr "编辑表"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "添加连接"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "描述"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-msgid "Preview"
-msgstr "预览"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "引用名称"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "约束"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "删除选中区域"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "撤消最后的操作"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "您确定想要删除部件“{0}”吗?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "引用"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "新建配置"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "创建新数据库"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "常规"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "重命名(_N)"
-
-#, fuzzy
-#~ msgid "Remove Connection"
-#~ msgstr "重命名配置"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "属性"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "参数"
-
-#~ msgid "Overwrite?"
-#~ msgstr "覆盖?"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "显示选项列表"
-
-#~ msgid "Remove Trigger"
-#~ msgstr "删除触发器"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "删除组"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "约束"
diff --git a/extras/MonoDevelop.Database/po/zh_TW.po b/extras/MonoDevelop.Database/po/zh_TW.po
deleted file mode 100644
index a067b7ddc8..0000000000
--- a/extras/MonoDevelop.Database/po/zh_TW.po
+++ /dev/null
@@ -1,944 +0,0 @@
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: MonoDevelop 0.17\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-04 18:11:47-0500\n"
-"PO-Revision-Date: 2007-11-29 15:36+0800\n"
-"Last-Translator: Yan-ren Tsai <elleryq@gmail.com>\n"
-"Language-Team: 繁體中文 <zh-l10n@linux.org.tw>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;X-Poedit-Language: Chinese\n"
-"X-Poedit-Country: TAIWAN\n"
-"X-Poedit-SourceCharset: utf-8\n"
-
-#: ../MonoDevelop.Database.Sql/ConnectionContextService.cs:112
-msgid "Unable to load stored SQL connection information."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:75
-msgid "Please enter the password for connection '{0}'"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql/QueryService.cs:77
-#, fuzzy
-msgid "Enter Password"
-msgstr "密碼"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:31
-#, fuzzy
-msgid "Query Database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Query/MonoDevelop.Database.Query.addin.xml:37
-#, fuzzy
-msgid "_Database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:77
-msgid "Execute"
-msgstr "執行"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:80
-#, fuzzy
-msgid "Clear Results"
-msgstr "清除搜索結果"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:110
-msgid "Status"
-msgstr "狀態"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:170
-#: ../MonoDevelop.Database.CodeGenerator/Dialogs/GenerateDataClassesDialog.cs:95
-#, fuzzy
-msgid "Unable to connect to database '{0}'"
-msgstr "在 {0} 無法找到 configure.in"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:192
-msgid "Query duration: {0}"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:209
-#: ../MonoDevelop.Database.Components/Widgets/SelectTableWidget.cs:71
-msgid "Table"
-msgstr "表格"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:210
-msgid "Affected Rows"
-msgstr ""
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:223
-#, fuzzy
-msgid "No Results"
-msgstr "結果"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:241
-#, fuzzy
-msgid "Executing query"
-msgstr "執行 sql 查詢"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:255
-#, fuzzy
-msgid "Query execute cancelled"
-msgstr "測試執行已取消。"
-
-#: ../MonoDevelop.Database.Query/SqlQueryView.cs:189
-#, fuzzy
-msgid "Query executed ({0} result table)"
-msgid_plural "Query executed ({0} result tables)"
-msgstr[0] "測試執行已取消。"
-
-#: ../MonoDevelop.Database.Sql.MySql/MySqlDbFactory.cs:45
-#, fuzzy
-msgid "MySql database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:60
-#, fuzzy
-msgid "Character Set:"
-msgstr "建立新資料夾"
-
-#: ../MonoDevelop.Database.Sql.MySql/gtk-gui/MonoDevelop.Database.Sql.MySql.MySqlCreateDatabaseWidget.cs:69
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:71
-msgid "Collation:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.SqlServer/SqlServerDbFactory.cs:44
-#, fuzzy
-msgid "SQL Server database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Sql.SqlServer/gtk-gui/MonoDevelop.Database.Sql.SqlServer.SqlServerCreateDatabaseWidget.cs:62
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:337
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:74
-#, fuzzy
-msgid "Database:"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteSchemaProvider.cs:235
-msgid "Database '{0}' already exists."
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/SqliteDbFactory.cs:45
-#, fuzzy
-msgid "SQLite database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:60
-#, fuzzy
-msgid "Open Database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:72
-msgid "SQLite databases"
-msgstr ""
-
-#: ../MonoDevelop.Database.Sql.Sqlite/Widgets/SqliteConnectionSettingsWidget.cs:75
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:108
-#, fuzzy
-msgid "All files"
-msgstr "所有檔案"
-
-#: ../MonoDevelop.Database.Sql.Oracle/OracleDbFactory.cs:41
-#, fuzzy
-msgid "Oracle database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Sql.Npgsql/NpgsqlDbFactory.cs:44
-#, fuzzy
-msgid "PostgreSQL database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextCollectionNodeBuilder.cs:72
-msgid "Database Connections"
-msgstr "資料庫連接"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:88
-msgid "Unable to connect:"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:168
-#, fuzzy
-msgid "Are you sure you want to remove connection '{0}'?"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:246
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:278
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:169
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:187
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:188
-#, fuzzy
-msgid "Drop"
-msgstr "丟棄表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConnectionContextNodeBuilder.cs:248
-#, fuzzy
-msgid "Are you sure you want to drop database '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:67
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TablesNodeBuilder.cs:72
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:117
-msgid "Tables"
-msgstr "表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewsNodeBuilder.cs:71
-msgid "Views"
-msgstr "檢視"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProceduresNodeBuilder.cs:71
-msgid "Procedures"
-msgstr "程序"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:66
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UsersNodeBuilder.cs:71
-msgid "Users"
-msgstr "使用者"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:86
-msgid "Constraints"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:251
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:199
-#, fuzzy
-msgid "Empty Table"
-msgstr "空白表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:253
-#, fuzzy
-msgid "Are you sure you want to empty table '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:270
-msgid "Table emptied"
-msgstr "表格已清空"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TableNodeBuilder.cs:280
-#, fuzzy
-msgid "Are you sure you want to drop table '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/UserNodeBuilder.cs:171
-#, fuzzy
-msgid "Are you sure you want to drop user '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ProcedureNodeBuilder.cs:189
-#, fuzzy
-msgid "Are you sure you want to drop procedure '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ViewNodeBuilder.cs:190
-#, fuzzy
-msgid "Are you sure you want to drop view '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnNodeBuilder.cs:57
-#: ../MonoDevelop.Database.Components/Widgets/SelectColumnWidget.cs:71
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:82
-msgid "Column"
-msgstr "列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ColumnsNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:81
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:134
-msgid "Columns"
-msgstr "列"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ConstraintNodeBuilder.cs:57
-msgid "Constraint"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/AggregatesNodeBuilder.cs:69
-msgid "Aggregates"
-msgstr "集合"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/GroupsNodeBuilder.cs:69
-msgid "Groups"
-msgstr "群組"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/LanguagesNodeBuilder.cs:69
-msgid "Languages"
-msgstr "語言"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/OperatorsNodeBuilder.cs:69
-msgid "Operators"
-msgstr "運算子"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RolesNodeBuilder.cs:69
-msgid "Roles"
-msgstr "角色"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/RulesNodeBuilder.cs:69
-msgid "Rules"
-msgstr "尺規"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/SequencesNodeBuilder.cs:69
-msgid "Sequences"
-msgstr "順序"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TriggersNodeBuilder.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:96
-msgid "Triggers"
-msgstr "觸發條件"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/TypesNodeBuilder.cs:69
-msgid "Types"
-msgstr "型"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:64
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParametersNodeBuilder.cs:69
-msgid "Parameters"
-msgstr "參數"
-
-#: ../MonoDevelop.Database.ConnectionManager/NodeBuilders/ParameterNodeBuilder.cs:57
-msgid "Parameter"
-msgstr "參數"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:27
-msgid "Database Browser"
-msgstr "資料庫瀏覽器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:28
-msgid "Show System Objects"
-msgstr "顯示系統物件"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:171
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:42
-msgid "Database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:176
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:212
-#, fuzzy
-msgid "Database Provider List"
-msgstr "資料庫瀏覽器"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:178
-#, fuzzy
-msgid "Edit Connection"
-msgstr "新增連結"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:181
-msgid "Remove"
-msgstr "移除"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:184
-msgid "Refresh"
-msgstr "重新整理"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:187
-#, fuzzy
-msgid "Connect"
-msgstr "中斷連結"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:190
-msgid "Disconnect"
-msgstr "中斷連結"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:193
-#, fuzzy
-msgid "Select *"
-msgstr "選擇全部"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:196
-msgid "Select x,y,..."
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:202
-#, fuzzy
-msgid "Query"
-msgstr "MonoQuery"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:214
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:70
-#, fuzzy
-msgid "Create Table"
-msgstr "建立套件"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:217
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:61
-#, fuzzy
-msgid "Create View"
-msgstr "建立"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:220
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:63
-#, fuzzy
-msgid "Create Procedure"
-msgstr "程序"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:223
-#, fuzzy
-msgid "Create Constraint"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:226
-#, fuzzy
-msgid "Create Trigger"
-msgstr "建立套件"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:229
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:62
-#, fuzzy
-msgid "Create User"
-msgstr "建立"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:233
-#, fuzzy
-msgid "Alter Database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:236
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:72
-#, fuzzy
-msgid "Alter Table"
-msgstr "清理之後"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:239
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:63
-msgid "Alter View"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:242
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:65
-#, fuzzy
-msgid "Alter Procedure"
-msgstr "程序"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:245
-#, fuzzy
-msgid "Alter Constraint"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:248
-#, fuzzy
-msgid "Alter Trigger"
-msgstr "觸發條件"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:251
-#: ../MonoDevelop.Database.Designer/Dialogs/UserEditorDialog.cs:64
-msgid "Alter User"
-msgstr ""
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:255
-#, fuzzy
-msgid "Drop Database"
-msgstr "丟棄表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:258
-#, fuzzy
-msgid "Drop Table"
-msgstr "丟棄表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:261
-#, fuzzy
-msgid "Drop View"
-msgstr "丟棄表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:264
-#, fuzzy
-msgid "Drop Procedure"
-msgstr "程序"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:267
-#, fuzzy
-msgid "Drop Trigger"
-msgstr "觸發條件"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:270
-#, fuzzy
-msgid "Drop Constraint"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:273
-#, fuzzy
-msgid "Drop User"
-msgstr "丟棄表格"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:278
-#, fuzzy
-msgid "Toggle System Objects"
-msgstr "顯示系統物件"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:284
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:396
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:50
-#, fuzzy
-msgid "Add Database Connection"
-msgstr "資料庫連接"
-
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:287
-#: ../MonoDevelop.Database.ConnectionManager/MonoDevelop.Database.ConnectionManager.addin.xml:399
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:29
-#, fuzzy
-msgid "Create Database"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:46
-msgid "Visualize Data As"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:49
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:95
-#, fuzzy
-msgid "Import From File"
-msgstr "空白檔案"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:52
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:126
-#, fuzzy
-msgid "Export To File"
-msgstr "空白HTML檔案"
-
-#: ../MonoDevelop.Database.Components/MonoDevelop.Database.Components.addin.xml:59
-msgid "Visualize Data"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:31
-#, fuzzy
-msgid "Select Column"
-msgstr "不選取"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:55
-msgid "Select All"
-msgstr "選擇全部"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.SelectColumnDialog.cs:65
-#, fuzzy
-msgid "Deselect All"
-msgstr "刪除全部"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:55
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:54
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:95
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:90
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:61
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ViewEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ProcedureEditorDialog.cs:56
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.UserEditorDialog.cs:50
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:106
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:81
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:75
-msgid "Name"
-msgstr "名稱"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:65
-#, fuzzy
-msgid "Db Type"
-msgstr "型"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:70
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:96
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:91
-msgid "Type"
-msgstr "型"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:75
-msgid "Field Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:82
-#, fuzzy
-msgid "Property Name"
-msgstr "屬性名稱(_P)"
-
-#: ../MonoDevelop.Database.Components/Widgets/ColumnMappingWidget.cs:89
-#, fuzzy
-msgid "Setter"
-msgstr "伺服器"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.DataGrid.cs:103
-msgid "of"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "Y"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Renderers/BooleanContentRenderer.cs:43
-msgid "N"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:31
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/TextVisualizerView.cs:61
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Views/ImageVisualizerView.cs:59
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:37
-#, fuzzy
-msgid "Image"
-msgstr "頁"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowImageDialog.cs:73
-msgid "Unable to load object as Image"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:23
-#: ../MonoDevelop.Database.Components/Widgets/DataGrid/Visualizers/DefaultVisualizers.cs:59
-msgid "Text"
-msgstr "文字"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ShowTextDialog.cs:49
-msgid "button462"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Dialogs/DatabaseConnectionSettingsDialog.cs:48
-#, fuzzy
-msgid "Edit Database Connection"
-msgstr "資料庫連接"
-
-#: ../MonoDevelop.Database.Components/Dialogs/WaitDialog.cs:57
-msgid "Please Wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:29
-#, fuzzy
-msgid "WaitDialog"
-msgstr "對話盒"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.WaitDialog.cs:63
-msgid "Please wait"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:105
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:137
-#, fuzzy
-msgid "SQL files"
-msgstr "添加多檔"
-
-#: ../MonoDevelop.Database.Components/Widgets/SqlEditorWidget.cs:143
-#, fuzzy
-msgid "Are you sure you want to overwrite the file '{0}'?"
-msgstr "確定要刪除此 widget '{0}'?"
-
-#: ../MonoDevelop.Database.Components/Widgets/TableMappingWidget.cs:64
-msgid "Class Name"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:241
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:316
-#, fuzzy
-msgid "No databases found!"
-msgstr "沒有失敗的測試。"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:337
-#, fuzzy
-msgid "Trying to connect to database ..."
-msgstr "在 {0} 無法找到 configure.in"
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:372
-msgid "Test Succeeded."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidget.cs:374
-msgid "Test Failed: {0}."
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:102
-#, fuzzy
-msgid "Test"
-msgstr "文字"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:169
-#, fuzzy
-msgid "Use custom connection string"
-msgstr "連接字串"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:182
-msgid "Min Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:191
-msgid "Max Pool Size:"
-msgstr ""
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:248
-#, fuzzy
-msgid "Advanced"
-msgstr "進階(_A)"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:317
-#, fuzzy
-msgid "Save Password"
-msgstr "密碼"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:348
-#, fuzzy
-msgid "Name:"
-msgstr "名稱"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:357
-#, fuzzy
-msgid "Password:"
-msgstr "密碼"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:368
-#, fuzzy
-msgid "Port:"
-msgstr "Port(埠):"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:379
-#, fuzzy
-msgid "Server:"
-msgstr "伺服器"
-
-#: ../MonoDevelop.Database.Components/gtk-gui/MonoDevelop.Database.Components.ConnectionSettingsWidget.cs:403
-#, fuzzy
-msgid "Username:"
-msgstr "更名"
-
-#: ../MonoDevelop.Database.Components/Commands/AbstractDatabaseProviderList.cs:48
-msgid "No database providers detected."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:97
-#, fuzzy
-msgid "Event"
-msgstr "事件"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:98
-msgid "Each Row"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:99
-#, fuzzy
-msgid "Position"
-msgstr "説明"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:100
-#, fuzzy
-msgid "Active"
-msgstr "(當前)"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:101
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:94
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:101
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:73
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:75
-#, fuzzy
-msgid "Comment"
-msgstr "註解"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:187
-#, fuzzy
-msgid "Are you sure you want to remove trigger '{0}'?"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/TriggersEditorWidget.cs:343
-msgid "Trigger '{0}' does not contain a trigger statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TriggersEditorWidget.cs:119
-msgid "Statement"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:89
-msgid "PK"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:92
-msgid "Length"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:93
-#, fuzzy
-msgid "Nullable"
-msgstr "表格"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:225
-#, fuzzy
-msgid "Are you sure you want to remove column '{0}'"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:389
-msgid "Unknown data type '{0}' applied to column '{1}'."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:401
-msgid "Table '{0}' must contain at least one primary key."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ColumnsEditorWidget.cs:408
-msgid "Table '{0}' must contain at least 1 column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:71
-msgid "Primary Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:77
-msgid "Foreign Key"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:83
-#, fuzzy
-msgid "Check"
-msgstr "簽出..."
-
-#: ../MonoDevelop.Database.Designer/Widgets/ConstraintsEditorWidget.cs:89
-#, fuzzy
-msgid "Unique"
-msgstr "Unicode"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/TableEditorDialog.cs:231
-#, fuzzy
-msgid "No name specified."
-msgstr "指定了不合法的組件名稱"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:39
-#, fuzzy
-msgid "Edit Table"
-msgstr "編輯"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.TableEditorDialog.cs:111
-msgid "Preview SQL"
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CreateDatabaseDialog.cs:53
-#, fuzzy
-msgid "Connection"
-msgstr "新增連結"
-
-#: ../MonoDevelop.Database.Designer/Dialogs/ViewEditorDialog.cs:69
-#: ../MonoDevelop.Database.Designer/Dialogs/ProcedureEditorDialog.cs:71
-#, fuzzy
-msgid "Definition"
-msgstr "SQL 定義"
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.PreviewDialog.cs:27
-#, fuzzy
-msgid "Preview"
-msgstr "提供者"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:107
-#, fuzzy
-msgid "Reference Table"
-msgstr "參照名稱"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:108
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:83
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:76
-#, fuzzy
-msgid "Column Constraint"
-msgstr "制約"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:109
-#, fuzzy
-msgid "Delete Action"
-msgstr "刪除選擇區域"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:110
-#, fuzzy
-msgid "Update Action"
-msgstr "取消最後一次動作"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:201
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:158
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:176
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:195
-#, fuzzy
-msgid "Are you sure you want to remove constraint '{0}'?"
-msgstr "確定要刪除 '{0}'?"
-
-#: ../MonoDevelop.Database.Designer/Widgets/ForeignKeyConstraintEditorWidget.cs:356
-#: ../MonoDevelop.Database.Designer/Widgets/UniqueConstraintEditorWidget.cs:235
-msgid "Unique Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.cs:159
-#, fuzzy
-msgid "Reference Columns"
-msgstr "參照"
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:255
-msgid "Checked constraint '{0}' does not contain a check statement."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/Widgets/CheckConstraintEditorWidget.cs:260
-msgid ""
-"Checked constraint '{0}' is marked as a column constraint but is not applied "
-"to a column."
-msgstr ""
-
-#: ../MonoDevelop.Database.Designer/gtk-gui/MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs:118
-#, fuzzy
-msgid "Check Condition"
-msgstr "開新配置"
-
-#: ../MonoDevelop.Database.Designer/Widgets/PrimaryKeyConstraintEditorWidget.cs:200
-msgid "Primary Key constraint '{0}' must be applied to one or more columns."
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/MonoDevelop.Database.CodeGenerator.addin.xml:28
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:41
-#, fuzzy
-msgid "Generate Data Classes"
-msgstr "資料庫"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:65
-msgid "Location:"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:85
-msgid "General"
-msgstr "一般"
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:96
-msgid "Fields & Properties"
-msgstr ""
-
-#: ../MonoDevelop.Database.CodeGenerator/gtk-gui/MonoDevelop.Database.CodeGenerator.GenerateDataClassesDialog.cs:106
-msgid "Classes"
-msgstr ""
-
-#~ msgid "Re_name"
-#~ msgstr "更名 (_N)"
-
-#~ msgid "Remove Connection"
-#~ msgstr "移除連接"
-
-#, fuzzy
-#~ msgid "Property Type"
-#~ msgstr "屬性"
-
-#, fuzzy
-#~ msgid "Ctor Parameter"
-#~ msgstr "參數"
-
-#, fuzzy
-#~ msgid "Display content as text"
-#~ msgstr "顯示選項列表"
-
-#, fuzzy
-#~ msgid "Remove Trigger"
-#~ msgstr "觸發條件"
-
-#, fuzzy
-#~ msgid "Remove Column"
-#~ msgstr "移除群組"
-
-#, fuzzy
-#~ msgid "Base Settings"
-#~ msgstr "套件設定"
-
-#, fuzzy
-#~ msgid "Remove Constraint"
-#~ msgstr "移除連接"
diff --git a/extras/extras.mdw b/extras/extras.mdw
deleted file mode 100644
index 59acb838d5..0000000000
--- a/extras/extras.mdw
+++ /dev/null
@@ -1,5 +0,0 @@
-<WorkspaceItem name="extras" ctype="Workspace">
- <Items>
- <Item>MonoDevelop.Database/MonoDevelop.Database.sln</Item>
- </Items>
-</WorkspaceItem>