DB operations now occur w/in transactions, added Open DB Form to tester
This commit is contained in:
193
DbToolsTester/Forms/MainForm.Designer.cs
generated
193
DbToolsTester/Forms/MainForm.Designer.cs
generated
@@ -30,24 +30,26 @@
|
||||
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
|
||||
this.bar1 = new DevExpress.XtraBars.Bar();
|
||||
this.bbiDelta = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.bbiMigrations = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.bbiApplyBoth = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.bar2 = new DevExpress.XtraBars.Bar();
|
||||
this.bar3 = new DevExpress.XtraBars.Bar();
|
||||
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
||||
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
||||
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
||||
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
||||
this.bar1 = new DevExpress.XtraBars.Bar();
|
||||
this.bar2 = new DevExpress.XtraBars.Bar();
|
||||
this.bar3 = new DevExpress.XtraBars.Bar();
|
||||
this.bbiDelta = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.bbiMigrations = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.bbiApplyBoth = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.XtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
|
||||
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.db1Sql = new System.Windows.Forms.RichTextBox();
|
||||
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.db2Sql = new System.Windows.Forms.RichTextBox();
|
||||
this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.deltaSql = new System.Windows.Forms.RichTextBox();
|
||||
this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.btsRemoveUnusedTables = new DevExpress.XtraBars.BarToggleSwitchItem();
|
||||
this.btsRemoveUnusedColumns = new DevExpress.XtraBars.BarToggleSwitchItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.XtraTabControl1)).BeginInit();
|
||||
this.XtraTabControl1.SuspendLayout();
|
||||
@@ -70,11 +72,70 @@
|
||||
this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
||||
this.bbiDelta,
|
||||
this.bbiMigrations,
|
||||
this.bbiApplyBoth});
|
||||
this.bbiApplyBoth,
|
||||
this.btsRemoveUnusedTables,
|
||||
this.btsRemoveUnusedColumns});
|
||||
this.barManager1.MainMenu = this.bar2;
|
||||
this.barManager1.MaxItemId = 3;
|
||||
this.barManager1.MaxItemId = 6;
|
||||
this.barManager1.StatusBar = this.bar3;
|
||||
//
|
||||
// bar1
|
||||
//
|
||||
this.bar1.BarName = "Tools";
|
||||
this.bar1.DockCol = 0;
|
||||
this.bar1.DockRow = 1;
|
||||
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
||||
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.bbiDelta),
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.bbiMigrations),
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.bbiApplyBoth),
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.btsRemoveUnusedTables, true),
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.btsRemoveUnusedColumns)});
|
||||
this.bar1.Text = "Tools";
|
||||
//
|
||||
// bbiDelta
|
||||
//
|
||||
this.bbiDelta.Caption = "Generate Delta";
|
||||
this.bbiDelta.Id = 0;
|
||||
this.bbiDelta.Name = "bbiDelta";
|
||||
this.bbiDelta.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ToolbarItemClicked);
|
||||
//
|
||||
// bbiMigrations
|
||||
//
|
||||
this.bbiMigrations.Caption = "Get Migration List";
|
||||
this.bbiMigrations.Id = 1;
|
||||
this.bbiMigrations.Name = "bbiMigrations";
|
||||
this.bbiMigrations.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ToolbarItemClicked);
|
||||
//
|
||||
// bbiApplyBoth
|
||||
//
|
||||
this.bbiApplyBoth.Caption = "Apply Delta && Migrations";
|
||||
this.bbiApplyBoth.Id = 2;
|
||||
this.bbiApplyBoth.Name = "bbiApplyBoth";
|
||||
this.bbiApplyBoth.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ToolbarItemClicked);
|
||||
//
|
||||
// bar2
|
||||
//
|
||||
this.bar2.BarName = "Main menu";
|
||||
this.bar2.DockCol = 0;
|
||||
this.bar2.DockRow = 0;
|
||||
this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
||||
this.bar2.OptionsBar.MultiLine = true;
|
||||
this.bar2.OptionsBar.UseWholeRow = true;
|
||||
this.bar2.Text = "Main menu";
|
||||
//
|
||||
// bar3
|
||||
//
|
||||
this.bar3.BarName = "Status bar";
|
||||
this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
|
||||
this.bar3.DockCol = 0;
|
||||
this.bar3.DockRow = 0;
|
||||
this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
|
||||
this.bar3.OptionsBar.AllowQuickCustomization = false;
|
||||
this.bar3.OptionsBar.DrawDragBorder = false;
|
||||
this.bar3.OptionsBar.UseWholeRow = true;
|
||||
this.bar3.Text = "Status bar";
|
||||
//
|
||||
// barDockControlTop
|
||||
//
|
||||
this.barDockControlTop.CausesValidation = false;
|
||||
@@ -107,58 +168,6 @@
|
||||
this.barDockControlRight.Manager = this.barManager1;
|
||||
this.barDockControlRight.Size = new System.Drawing.Size(0, 417);
|
||||
//
|
||||
// bar1
|
||||
//
|
||||
this.bar1.BarName = "Tools";
|
||||
this.bar1.DockCol = 0;
|
||||
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
||||
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.bbiDelta),
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.bbiMigrations),
|
||||
new DevExpress.XtraBars.LinkPersistInfo(this.bbiApplyBoth)});
|
||||
this.bar1.Text = "Tools";
|
||||
//
|
||||
// bar2
|
||||
//
|
||||
this.bar2.BarName = "Main menu";
|
||||
this.bar2.DockCol = 0;
|
||||
this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
||||
this.bar2.OptionsBar.MultiLine = true;
|
||||
this.bar2.OptionsBar.UseWholeRow = true;
|
||||
this.bar2.Text = "Main menu";
|
||||
//
|
||||
// bar3
|
||||
//
|
||||
this.bar3.BarName = "Status bar";
|
||||
this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
|
||||
this.bar3.DockCol = 0;
|
||||
this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
|
||||
this.bar3.OptionsBar.AllowQuickCustomization = false;
|
||||
this.bar3.OptionsBar.DrawDragBorder = false;
|
||||
this.bar3.OptionsBar.UseWholeRow = true;
|
||||
this.bar3.Text = "Status bar";
|
||||
//
|
||||
// bbiDelta
|
||||
//
|
||||
this.bbiDelta.Caption = "Generate Delta";
|
||||
this.bbiDelta.Id = 0;
|
||||
this.bbiDelta.Name = "bbiDelta";
|
||||
this.bbiDelta.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ToolbarItemClicked);
|
||||
//
|
||||
// bbiMigrations
|
||||
//
|
||||
this.bbiMigrations.Caption = "Get Migration List";
|
||||
this.bbiMigrations.Id = 1;
|
||||
this.bbiMigrations.Name = "bbiMigrations";
|
||||
this.bbiMigrations.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ToolbarItemClicked);
|
||||
//
|
||||
// bbiApplyBoth
|
||||
//
|
||||
this.bbiApplyBoth.Caption = "Apply Delta && Migrations";
|
||||
this.bbiApplyBoth.Id = 2;
|
||||
this.bbiApplyBoth.Name = "bbiApplyBoth";
|
||||
this.bbiApplyBoth.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ToolbarItemClicked);
|
||||
//
|
||||
// XtraTabControl1
|
||||
//
|
||||
editorButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image")));
|
||||
@@ -186,26 +195,6 @@
|
||||
this.xtraTabPage1.Size = new System.Drawing.Size(838, 375);
|
||||
this.xtraTabPage1.Text = "Live / Production DB";
|
||||
//
|
||||
// xtraTabPage2
|
||||
//
|
||||
this.xtraTabPage2.Controls.Add(this.db2Sql);
|
||||
this.xtraTabPage2.Name = "xtraTabPage2";
|
||||
this.xtraTabPage2.Size = new System.Drawing.Size(838, 392);
|
||||
this.xtraTabPage2.Text = "Schema / Updated DB";
|
||||
//
|
||||
// xtraTabPage3
|
||||
//
|
||||
this.xtraTabPage3.Controls.Add(this.deltaSql);
|
||||
this.xtraTabPage3.Name = "xtraTabPage3";
|
||||
this.xtraTabPage3.Size = new System.Drawing.Size(838, 392);
|
||||
this.xtraTabPage3.Text = "Delta SQL";
|
||||
//
|
||||
// xtraTabPage4
|
||||
//
|
||||
this.xtraTabPage4.Name = "xtraTabPage4";
|
||||
this.xtraTabPage4.Size = new System.Drawing.Size(0, 0);
|
||||
this.xtraTabPage4.Text = "Migrations";
|
||||
//
|
||||
// db1Sql
|
||||
//
|
||||
this.db1Sql.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -217,6 +206,13 @@
|
||||
this.db1Sql.TabIndex = 0;
|
||||
this.db1Sql.Text = "This database is the one that is currently in use by the application. This databa" +
|
||||
"se needs to be updated to fit the most recent schema.";
|
||||
//
|
||||
// xtraTabPage2
|
||||
//
|
||||
this.xtraTabPage2.Controls.Add(this.db2Sql);
|
||||
this.xtraTabPage2.Name = "xtraTabPage2";
|
||||
this.xtraTabPage2.Size = new System.Drawing.Size(838, 375);
|
||||
this.xtraTabPage2.Text = "Schema / Updated DB";
|
||||
//
|
||||
// db2Sql
|
||||
//
|
||||
@@ -225,10 +221,17 @@
|
||||
this.db2Sql.Location = new System.Drawing.Point(0, 0);
|
||||
this.db2Sql.Name = "db2Sql";
|
||||
this.db2Sql.ReadOnly = true;
|
||||
this.db2Sql.Size = new System.Drawing.Size(838, 392);
|
||||
this.db2Sql.Size = new System.Drawing.Size(838, 375);
|
||||
this.db2Sql.TabIndex = 1;
|
||||
this.db2Sql.Text = resources.GetString("db2Sql.Text");
|
||||
//
|
||||
// xtraTabPage3
|
||||
//
|
||||
this.xtraTabPage3.Controls.Add(this.deltaSql);
|
||||
this.xtraTabPage3.Name = "xtraTabPage3";
|
||||
this.xtraTabPage3.Size = new System.Drawing.Size(838, 375);
|
||||
this.xtraTabPage3.Text = "Delta SQL";
|
||||
//
|
||||
// deltaSql
|
||||
//
|
||||
this.deltaSql.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -236,10 +239,28 @@
|
||||
this.deltaSql.Location = new System.Drawing.Point(0, 0);
|
||||
this.deltaSql.Name = "deltaSql";
|
||||
this.deltaSql.ReadOnly = true;
|
||||
this.deltaSql.Size = new System.Drawing.Size(838, 392);
|
||||
this.deltaSql.Size = new System.Drawing.Size(838, 375);
|
||||
this.deltaSql.TabIndex = 1;
|
||||
this.deltaSql.Text = "This SQL script contains all of the SQL commands required to make the production " +
|
||||
"(existing) database the same as the new template database.";
|
||||
//
|
||||
// xtraTabPage4
|
||||
//
|
||||
this.xtraTabPage4.Name = "xtraTabPage4";
|
||||
this.xtraTabPage4.Size = new System.Drawing.Size(838, 375);
|
||||
this.xtraTabPage4.Text = "Migrations";
|
||||
//
|
||||
// btsRemoveUnusedTables
|
||||
//
|
||||
this.btsRemoveUnusedTables.Caption = "Remove Unused Tables";
|
||||
this.btsRemoveUnusedTables.Id = 4;
|
||||
this.btsRemoveUnusedTables.Name = "btsRemoveUnusedTables";
|
||||
//
|
||||
// btsRemoveUnusedColumns
|
||||
//
|
||||
this.btsRemoveUnusedColumns.Caption = "Remove Unused Columns";
|
||||
this.btsRemoveUnusedColumns.Id = 5;
|
||||
this.btsRemoveUnusedColumns.Name = "btsRemoveUnusedColumns";
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
@@ -286,5 +307,7 @@
|
||||
private System.Windows.Forms.RichTextBox db1Sql;
|
||||
private System.Windows.Forms.RichTextBox db2Sql;
|
||||
private System.Windows.Forms.RichTextBox deltaSql;
|
||||
private DevExpress.XtraBars.BarToggleSwitchItem btsRemoveUnusedTables;
|
||||
private DevExpress.XtraBars.BarToggleSwitchItem btsRemoveUnusedColumns;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user