Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » SQL » Downloads
 
Add your own
alternative version

SQL XML Documentation

, 29 Feb 2008 CPOL
How to create and compile SQL XML Documentation comments
JocysComSqlScriptsGenerator.zip
DatabaseToXml
bin
Debug
JocysCom.Sql.DatabaseToXml.exe
JocysCom.Sql.DatabaseToXml.vshost.exe
JocysCom.Sql.DatabaseToXml.vshost.exe.manifest
JocysCom.Sql.XmlDocumentation.dll
JocysCom.Sql.DatabaseToXml.csproj.user
Properties
Resources
WinApp
bin
Debug
Interop.ADODB.dll
Interop.CDO.dll
JocysCom.ClassLibrary.dll
JocysCom.Sql.ScriptsGenerator.exe
JocysCom.Sql.ScriptsGenerator.vshost.exe
JocysCom.Sql.ScriptsGenerator.vshost.exe.manifest
JocysCom.Sql.XmlDocumentation.dll
Microsoft.Data.ConnectionUI.Dialog.dll
Microsoft.Data.ConnectionUI.dll
Microsoft.SqlServer.ConnectionInfo.dll
Microsoft.SqlServer.SqlEnum.dll
Controls
GenerateActionScripts
Jocys.com SQL Scripts Generator.csproj.user
Properties
Settings.settings
XmlDocumentation
bin
Debug
JocysCom.Sql.XmlDocumentation.dll
JocysCom.Sql.XmlDocumentation.csproj.user
Properties
SQL Scripts Generator.suo
namespace JocysCom.Sql.ScriptsGenerator.Controls
{
	partial class GenerateDataBaseScripts
	{
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Component Designer generated code

		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.DbaConnectionButton = new System.Windows.Forms.Button();
			this.DbaConnectionStringTextBox = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.label5 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label9 = new System.Windows.Forms.Label();
			this.label8 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.ScriptDatabaseCheckBox = new System.Windows.Forms.CheckBox();
			this.ScriptViewsCheckBox = new System.Windows.Forms.CheckBox();
			this.ScriptDefaultConstraintsCheckBox = new System.Windows.Forms.CheckBox();
			this.ScriptCheckConstraintsCheckBox = new System.Windows.Forms.CheckBox();
			this.ScriptForeignKeysCheckBox = new System.Windows.Forms.CheckBox();
			this.ScriptIndexesCheckBox = new System.Windows.Forms.CheckBox();
			this.ScriptProcedures = new System.Windows.Forms.CheckBox();
			this.ScriptTablesCheckBox = new System.Windows.Forms.CheckBox();
			this.LogTextBox = new System.Windows.Forms.TextBox();
			this.ScriptButton = new System.Windows.Forms.Button();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.checkBox1 = new System.Windows.Forms.CheckBox();
			this.SaveAsButton = new System.Windows.Forms.Button();
			this.FileNameTextBox = new System.Windows.Forms.TextBox();
			this.WebFolderDirectoryLabel = new System.Windows.Forms.Label();
			this.SaveSqlFileDialog = new System.Windows.Forms.SaveFileDialog();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// DbaConnectionButton
			// 
			this.DbaConnectionButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.DbaConnectionButton.Location = new System.Drawing.Point(597, 14);
			this.DbaConnectionButton.Name = "DbaConnectionButton";
			this.DbaConnectionButton.Size = new System.Drawing.Size(75, 23);
			this.DbaConnectionButton.TabIndex = 25;
			this.DbaConnectionButton.Text = "Properties...";
			this.DbaConnectionButton.UseVisualStyleBackColor = true;
			this.DbaConnectionButton.Click += new System.EventHandler(this.DbaConnectionButton_Click);
			// 
			// DbaConnectionStringTextBox
			// 
			this.DbaConnectionStringTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.DbaConnectionStringTextBox.Location = new System.Drawing.Point(3, 16);
			this.DbaConnectionStringTextBox.Name = "DbaConnectionStringTextBox";
			this.DbaConnectionStringTextBox.ReadOnly = true;
			this.DbaConnectionStringTextBox.Size = new System.Drawing.Size(588, 20);
			this.DbaConnectionStringTextBox.TabIndex = 24;
			this.DbaConnectionStringTextBox.Text = "Data Source=localhost;Integrated Security=True";
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(3, 0);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(211, 13);
			this.label1.TabIndex = 26;
			this.label1.Text = "Database Administrative Connection String:";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.label5);
			this.groupBox1.Controls.Add(this.label4);
			this.groupBox1.Controls.Add(this.label6);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.label9);
			this.groupBox1.Controls.Add(this.label8);
			this.groupBox1.Controls.Add(this.label7);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.ScriptDatabaseCheckBox);
			this.groupBox1.Controls.Add(this.ScriptViewsCheckBox);
			this.groupBox1.Controls.Add(this.ScriptDefaultConstraintsCheckBox);
			this.groupBox1.Controls.Add(this.ScriptCheckConstraintsCheckBox);
			this.groupBox1.Controls.Add(this.ScriptForeignKeysCheckBox);
			this.groupBox1.Controls.Add(this.ScriptIndexesCheckBox);
			this.groupBox1.Controls.Add(this.ScriptProcedures);
			this.groupBox1.Controls.Add(this.ScriptTablesCheckBox);
			this.groupBox1.Location = new System.Drawing.Point(6, 97);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(217, 206);
			this.groupBox1.TabIndex = 27;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Objects to Script";
			// 
			// label5
			// 
			this.label5.AutoSize = true;
			this.label5.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label5.Location = new System.Drawing.Point(75, 181);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(23, 13);
			this.label5.TabIndex = 2;
			this.label5.Text = "[VI]";
			// 
			// label4
			// 
			this.label4.AutoSize = true;
			this.label4.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label4.Location = new System.Drawing.Point(96, 158);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(28, 13);
			this.label4.TabIndex = 2;
			this.label4.Text = "[UP]";
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label6.Location = new System.Drawing.Point(84, 20);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(28, 13);
			this.label6.TabIndex = 2;
			this.label6.Text = "[DB]";
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label3.Location = new System.Drawing.Point(84, 43);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(27, 13);
			this.label3.TabIndex = 2;
			this.label3.Text = "[TB]";
			// 
			// label9
			// 
			this.label9.AutoSize = true;
			this.label9.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label9.Location = new System.Drawing.Point(150, 135);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(27, 13);
			this.label9.TabIndex = 2;
			this.label9.Text = "[DF]";
			// 
			// label8
			// 
			this.label8.AutoSize = true;
			this.label8.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label8.Location = new System.Drawing.Point(150, 112);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(27, 13);
			this.label8.TabIndex = 2;
			this.label8.Text = "[CK]";
			// 
			// label7
			// 
			this.label7.AutoSize = true;
			this.label7.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label7.Location = new System.Drawing.Point(175, 89);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(26, 13);
			this.label7.TabIndex = 2;
			this.label7.Text = "[FK]";
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.ForeColor = System.Drawing.SystemColors.GrayText;
			this.label2.Location = new System.Drawing.Point(101, 66);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(65, 13);
			this.label2.TabIndex = 2;
			this.label2.Text = "[IX, UQ, PK]";
			// 
			// ScriptDatabaseCheckBox
			// 
			this.ScriptDatabaseCheckBox.AutoSize = true;
			this.ScriptDatabaseCheckBox.Location = new System.Drawing.Point(6, 19);
			this.ScriptDatabaseCheckBox.Name = "ScriptDatabaseCheckBox";
			this.ScriptDatabaseCheckBox.Size = new System.Drawing.Size(72, 17);
			this.ScriptDatabaseCheckBox.TabIndex = 1;
			this.ScriptDatabaseCheckBox.Text = "Database";
			this.ScriptDatabaseCheckBox.UseVisualStyleBackColor = true;
			// 
			// ScriptViewsCheckBox
			// 
			this.ScriptViewsCheckBox.AutoSize = true;
			this.ScriptViewsCheckBox.Location = new System.Drawing.Point(15, 180);
			this.ScriptViewsCheckBox.Name = "ScriptViewsCheckBox";
			this.ScriptViewsCheckBox.Size = new System.Drawing.Size(54, 17);
			this.ScriptViewsCheckBox.TabIndex = 0;
			this.ScriptViewsCheckBox.Text = "Views";
			this.ScriptViewsCheckBox.UseVisualStyleBackColor = true;
			// 
			// ScriptDefaultConstraintsCheckBox
			// 
			this.ScriptDefaultConstraintsCheckBox.AutoSize = true;
			this.ScriptDefaultConstraintsCheckBox.Location = new System.Drawing.Point(32, 134);
			this.ScriptDefaultConstraintsCheckBox.Name = "ScriptDefaultConstraintsCheckBox";
			this.ScriptDefaultConstraintsCheckBox.Size = new System.Drawing.Size(115, 17);
			this.ScriptDefaultConstraintsCheckBox.TabIndex = 0;
			this.ScriptDefaultConstraintsCheckBox.Text = "Default Constraints";
			this.ScriptDefaultConstraintsCheckBox.UseVisualStyleBackColor = true;
			// 
			// ScriptCheckConstraintsCheckBox
			// 
			this.ScriptCheckConstraintsCheckBox.AutoSize = true;
			this.ScriptCheckConstraintsCheckBox.Location = new System.Drawing.Point(32, 111);
			this.ScriptCheckConstraintsCheckBox.Name = "ScriptCheckConstraintsCheckBox";
			this.ScriptCheckConstraintsCheckBox.Size = new System.Drawing.Size(112, 17);
			this.ScriptCheckConstraintsCheckBox.TabIndex = 0;
			this.ScriptCheckConstraintsCheckBox.Text = "Check Constraints";
			this.ScriptCheckConstraintsCheckBox.UseVisualStyleBackColor = true;
			// 
			// ScriptForeignKeysCheckBox
			// 
			this.ScriptForeignKeysCheckBox.AutoSize = true;
			this.ScriptForeignKeysCheckBox.Checked = true;
			this.ScriptForeignKeysCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
			this.ScriptForeignKeysCheckBox.Location = new System.Drawing.Point(32, 88);
			this.ScriptForeignKeysCheckBox.Name = "ScriptForeignKeysCheckBox";
			this.ScriptForeignKeysCheckBox.Size = new System.Drawing.Size(137, 17);
			this.ScriptForeignKeysCheckBox.TabIndex = 0;
			this.ScriptForeignKeysCheckBox.Text = "Foreign Key Constraints";
			this.ScriptForeignKeysCheckBox.UseVisualStyleBackColor = true;
			// 
			// ScriptIndexesCheckBox
			// 
			this.ScriptIndexesCheckBox.AutoSize = true;
			this.ScriptIndexesCheckBox.Location = new System.Drawing.Point(32, 65);
			this.ScriptIndexesCheckBox.Name = "ScriptIndexesCheckBox";
			this.ScriptIndexesCheckBox.Size = new System.Drawing.Size(63, 17);
			this.ScriptIndexesCheckBox.TabIndex = 0;
			this.ScriptIndexesCheckBox.Text = "Indexes";
			this.ScriptIndexesCheckBox.UseVisualStyleBackColor = true;
			// 
			// ScriptProcedures
			// 
			this.ScriptProcedures.AutoSize = true;
			this.ScriptProcedures.Location = new System.Drawing.Point(15, 157);
			this.ScriptProcedures.Name = "ScriptProcedures";
			this.ScriptProcedures.Size = new System.Drawing.Size(80, 17);
			this.ScriptProcedures.TabIndex = 0;
			this.ScriptProcedures.Text = "Procedures";
			this.ScriptProcedures.UseVisualStyleBackColor = true;
			// 
			// ScriptTablesCheckBox
			// 
			this.ScriptTablesCheckBox.AutoSize = true;
			this.ScriptTablesCheckBox.Location = new System.Drawing.Point(20, 42);
			this.ScriptTablesCheckBox.Name = "ScriptTablesCheckBox";
			this.ScriptTablesCheckBox.Size = new System.Drawing.Size(58, 17);
			this.ScriptTablesCheckBox.TabIndex = 0;
			this.ScriptTablesCheckBox.Text = "Tables";
			this.ScriptTablesCheckBox.UseVisualStyleBackColor = true;
			// 
			// LogTextBox
			// 
			this.LogTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.LogTextBox.Location = new System.Drawing.Point(6, 309);
			this.LogTextBox.Multiline = true;
			this.LogTextBox.Name = "LogTextBox";
			this.LogTextBox.ReadOnly = true;
			this.LogTextBox.Size = new System.Drawing.Size(585, 128);
			this.LogTextBox.TabIndex = 28;
			// 
			// ScriptButton
			// 
			this.ScriptButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.ScriptButton.Location = new System.Drawing.Point(597, 309);
			this.ScriptButton.Name = "ScriptButton";
			this.ScriptButton.Size = new System.Drawing.Size(75, 23);
			this.ScriptButton.TabIndex = 29;
			this.ScriptButton.Text = "Script";
			this.ScriptButton.UseVisualStyleBackColor = true;
			this.ScriptButton.Click += new System.EventHandler(this.ScriptButton_Click);
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.checkBox1);
			this.groupBox2.Location = new System.Drawing.Point(229, 97);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(443, 206);
			this.groupBox2.TabIndex = 30;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Options";
			// 
			// checkBox1
			// 
			this.checkBox1.AutoSize = true;
			this.checkBox1.Location = new System.Drawing.Point(6, 19);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(75, 17);
			this.checkBox1.TabIndex = 2;
			this.checkBox1.Text = "Fix Names";
			this.checkBox1.UseVisualStyleBackColor = true;
			// 
			// SaveAsButton
			// 
			this.SaveAsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.SaveAsButton.Location = new System.Drawing.Point(597, 53);
			this.SaveAsButton.Name = "SaveAsButton";
			this.SaveAsButton.Size = new System.Drawing.Size(75, 23);
			this.SaveAsButton.TabIndex = 32;
			this.SaveAsButton.Text = "Save As...";
			this.SaveAsButton.UseVisualStyleBackColor = true;
			this.SaveAsButton.Click += new System.EventHandler(this.SaveAsButton_Click);
			// 
			// FileNameTextBox
			// 
			this.FileNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.FileNameTextBox.Location = new System.Drawing.Point(3, 55);
			this.FileNameTextBox.Name = "FileNameTextBox";
			this.FileNameTextBox.ReadOnly = true;
			this.FileNameTextBox.Size = new System.Drawing.Size(588, 20);
			this.FileNameTextBox.TabIndex = 31;
			this.FileNameTextBox.Text = "D:\\Sites\\qas.northwind.com";
			// 
			// WebFolderDirectoryLabel
			// 
			this.WebFolderDirectoryLabel.AutoSize = true;
			this.WebFolderDirectoryLabel.Location = new System.Drawing.Point(3, 39);
			this.WebFolderDirectoryLabel.Name = "WebFolderDirectoryLabel";
			this.WebFolderDirectoryLabel.Size = new System.Drawing.Size(66, 13);
			this.WebFolderDirectoryLabel.TabIndex = 33;
			this.WebFolderDirectoryLabel.Text = "Save to File:";
			// 
			// openFileDialog1
			// 
			this.openFileDialog1.FileName = "openFileDialog1";
			// 
			// GenerateDataBaseScripts
			// 
			this.Controls.Add(this.SaveAsButton);
			this.Controls.Add(this.FileNameTextBox);
			this.Controls.Add(this.WebFolderDirectoryLabel);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.ScriptButton);
			this.Controls.Add(this.LogTextBox);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.DbaConnectionButton);
			this.Controls.Add(this.DbaConnectionStringTextBox);
			this.Controls.Add(this.label1);
			this.Name = "GenerateDataBaseScripts";
			this.Size = new System.Drawing.Size(675, 440);
			this.Load += new System.EventHandler(this.GenerateSqlScripts_Load);
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.Button DbaConnectionButton;
		private System.Windows.Forms.TextBox DbaConnectionStringTextBox;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.CheckBox ScriptDatabaseCheckBox;
		private System.Windows.Forms.CheckBox ScriptViewsCheckBox;
		private System.Windows.Forms.CheckBox ScriptIndexesCheckBox;
		private System.Windows.Forms.CheckBox ScriptProcedures;
		private System.Windows.Forms.CheckBox ScriptTablesCheckBox;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.CheckBox ScriptCheckConstraintsCheckBox;
		private System.Windows.Forms.CheckBox ScriptForeignKeysCheckBox;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.CheckBox ScriptDefaultConstraintsCheckBox;
		private System.Windows.Forms.TextBox LogTextBox;
		private System.Windows.Forms.Button ScriptButton;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.CheckBox checkBox1;
		private System.Windows.Forms.Button SaveAsButton;
		private System.Windows.Forms.TextBox FileNameTextBox;
		private System.Windows.Forms.Label WebFolderDirectoryLabel;
		private System.Windows.Forms.SaveFileDialog SaveSqlFileDialog;
		private System.Windows.Forms.OpenFileDialog openFileDialog1;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

EJocys
Software Developer (Senior)
United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.1411019.1 | Last Updated 29 Feb 2008
Article Copyright 2007 by EJocys
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid