diff --git a/src/AssemblyVersioning.cs b/src/AssemblyVersioning.cs index 2b4ed24c..615c1a80 100644 --- a/src/AssemblyVersioning.cs +++ b/src/AssemblyVersioning.cs @@ -24,5 +24,5 @@ // 2) Update the installer version to match the AssemblyVersion below. // These can be found in SqlBuildManager.Setup -> Organize Your Setup -> General Information -[assembly: AssemblyVersion("15.5.0")] -[assembly: AssemblyFileVersion("15.5.0")] +[assembly: AssemblyVersion("15.5.1")] +[assembly: AssemblyFileVersion("15.5.1")] diff --git a/src/SqlBuildManager.Console/sbm.csproj b/src/SqlBuildManager.Console/sbm.csproj index d26328b4..31e2c85a 100644 --- a/src/SqlBuildManager.Console/sbm.csproj +++ b/src/SqlBuildManager.Console/sbm.csproj @@ -22,7 +22,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/src/SqlBuildManager.Enterprise/EnterpriseConfiguration.cs b/src/SqlBuildManager.Enterprise/EnterpriseConfiguration.cs index 63c9e3dc..69f158aa 100644 --- a/src/SqlBuildManager.Enterprise/EnterpriseConfiguration.cs +++ b/src/SqlBuildManager.Enterprise/EnterpriseConfiguration.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.5477 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -9,14 +9,14 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by xsd, Version=2.0.50727.3038. +// This source code was auto-generated by xsd, Version=4.8.3928.0. // namespace SqlBuildManager.Enterprise { using System.Xml.Serialization; /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -178,7 +178,7 @@ public CodeReviewConfig CodeReviewConfig { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -261,7 +261,7 @@ public string EmailBody { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -288,7 +288,7 @@ public string Name { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -371,7 +371,7 @@ public string DatabaseConnectionString { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -413,7 +413,7 @@ public string GroupName { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -455,7 +455,7 @@ public bool Value { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -490,7 +490,7 @@ public ScriptingSetting[] ScriptingSetting { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -517,7 +517,7 @@ public string GroupName { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -559,7 +559,7 @@ public int MinumumTimeout { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -594,7 +594,7 @@ public TimeoutSetting[] TimeoutSetting { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -651,7 +651,7 @@ public string ApplyToGroup { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -708,7 +708,7 @@ public string Description { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -735,7 +735,7 @@ public string RegexValue { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -770,7 +770,7 @@ public ApplyToGroup[] ApplyToGroup { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -812,7 +812,7 @@ public string Message { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -839,7 +839,7 @@ public int Seconds { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -907,7 +907,7 @@ public bool Enabled { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -994,7 +994,7 @@ public string FailureMessage { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1051,7 +1051,7 @@ public string ErrorMessage { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1133,7 +1133,7 @@ public ViolationSeverity Severity { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mckechney.com/EnterpriseConfiguration.xsd")] public enum ViolationSeverity { @@ -1152,7 +1152,7 @@ public enum ViolationSeverity { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1192,7 +1192,7 @@ public bool Enabled { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] diff --git a/src/SqlBuildManager.Logging/SqlBuildManager.Logging.csproj b/src/SqlBuildManager.Logging/SqlBuildManager.Logging.csproj index e89db4b5..3d12bfe0 100644 --- a/src/SqlBuildManager.Logging/SqlBuildManager.Logging.csproj +++ b/src/SqlBuildManager.Logging/SqlBuildManager.Logging.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/SqlBuildManager.SetUp/SqlBuildManager.SetUp.vdproj b/src/SqlBuildManager.SetUp/SqlBuildManager.SetUp.vdproj index 18606412..bc2c6986 100644 --- a/src/SqlBuildManager.SetUp/SqlBuildManager.SetUp.vdproj +++ b/src/SqlBuildManager.SetUp/SqlBuildManager.SetUp.vdproj @@ -2388,15 +2388,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:SQL Build Manager" - "ProductCode" = "8:{FD6BDF72-A510-4B26-9F0E-53AB44C18980}" - "PackageCode" = "8:{D4DF09A2-5CDD-496C-894D-656ED9F3DC1A}" + "ProductCode" = "8:{BB58C4C1-A2FB-49EC-BD61-91048290F521}" + "PackageCode" = "8:{955B37CB-5ACE-4491-B10D-3D7884E4567A}" "UpgradeCode" = "8:{00F0500D-7970-463C-9EBE-5BEB116F0DAA}" "AspNetVersion" = "8:4.0.30319.0" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:FALSE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:15.3.0" + "ProductVersion" = "8:15.5.0" "Manufacturer" = "8:BlueSkyDevUs" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:http://blueskydev.us" diff --git a/src/SqlSync.BasicCompare/FileDiff.cs b/src/SqlSync.BasicCompare/FileDiff.cs index d496c487..21c5859b 100644 --- a/src/SqlSync.BasicCompare/FileDiff.cs +++ b/src/SqlSync.BasicCompare/FileDiff.cs @@ -1,267 +1,20 @@ +using System; +using System.ComponentModel; + namespace SqlSync.BasicCompare { - using System; - using System.Collections; - using System.Collections.Specialized; - using System.ComponentModel; - using Microsoft.Data.SqlClient; - using System.Text; + [Serializable, DesignerCategory("Component"), DesignTimeVisible(true), ToolboxItem(true)] public class FileDiff { - private string _FileName = string.Empty; - private string _UnifiedDiff = string.Empty; - private Hashtable _validationDict = new Hashtable(); - public FileDiff() { - _validationDict.Add("FileName", false); - _validationDict.Add("UnifiedDiff", false); - } - - public virtual bool Fill(FileDiff dataClass) - { - try - { - FileName = dataClass.FileName; - UnifiedDiff = dataClass.UnifiedDiff; - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.Fill(FileDiff) Method", exception); - } - return true; - } - - public virtual bool Fill(Array sourceArray) - { - try - { - FileName = (string)Convert.ChangeType(sourceArray.GetValue(0), typeof(string)); - UnifiedDiff = (string)Convert.ChangeType(sourceArray.GetValue(1), typeof(string)); - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.Fill(System.Array) Method", exception); - } - return true; - } - - public virtual bool Fill(NameValueCollection nameValueColl) - { - try - { - if (nameValueColl.GetValues("FileName") != null) - { - FileName = (string)Convert.ChangeType(nameValueColl.GetValues("FileName")[0], typeof(string)); - } - if (nameValueColl.GetValues("UnifiedDiff") != null) - { - UnifiedDiff = (string)Convert.ChangeType(nameValueColl.GetValues("UnifiedDiff")[0], typeof(string)); - } - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.Fill(NameValueCollection) Method", exception); - } - return true; - } - - public virtual bool Fill(string fixedString) - { - try - { - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.Fill(string) Method", exception); - } - return true; } + public string FileName { get; set; } = string.Empty; + public string UnifiedDiff { get; set; } = string.Empty; - public virtual bool Fill(SqlDataReader reader, bool closeReader) - { - try - { - if (!reader.Read()) - { - reader.Close(); - return false; - } - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.Fill(SqlDataReader) Method", exception); - } - finally - { - if (closeReader) - { - reader.Close(); - } - } - return true; - } + - public virtual bool Fill(string delimString, char delimiter) - { - string[] textArray = delimString.Split(new char[] { delimiter }); - try - { - FileName = (string)Convert.ChangeType(textArray[0], typeof(string)); - UnifiedDiff = (string)Convert.ChangeType(textArray[1], typeof(string)); - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.Fill(string,char) Method", exception); - } - return true; - } - - public virtual string GetCustomDelimitedString(string delimiter) - { - string text; - StringBuilder builder = new StringBuilder(); - try - { - builder.Append(StrFileName); - builder.Append(delimiter); - builder.Append(StrUnifiedDiff); - text = builder.ToString(); - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.GetCustomDelimitedString(string) Method", exception); - } - return text; - } - - public virtual string GetDelimitedString(string delimiter) - { - string text; - StringBuilder builder = new StringBuilder(); - try - { - builder.Append(FileName.ToString()); - builder.Append(delimiter); - builder.Append(UnifiedDiff.ToString()); - text = builder.ToString(); - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.GetDelimitedString(string) Method", exception); - } - return text; - } - - public virtual string GetFixedLengthString() - { - throw new NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subStringLength value set"); - } - - public virtual NameValueCollection GetNameValueCollection() - { - NameValueCollection values2; - NameValueCollection values = new NameValueCollection(); - try - { - values.Add("FileName", FileName.ToString()); - values.Add("UnifiedDiff", UnifiedDiff.ToString()); - values2 = values; - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.GetNameValueCollection() Method", exception); - } - return values2; - } - - public virtual string[] GetStringArray() - { - string[] textArray2; - string[] textArray = new string[2]; - try - { - textArray[0] = _FileName.ToString(); - textArray[1] = _UnifiedDiff.ToString(); - textArray2 = textArray; - } - catch (Exception exception) - { - throw new ApplicationException("Error in the Auto-Generated: FileDiff.GetStringArray() Method", exception); - } - return textArray2; - } - - public virtual string[] Validate() - { - ArrayList list = new ArrayList(); - if (!((bool)Convert.ChangeType(_validationDict["FileName"], typeof(bool)))) - { - list.Add("FileName"); - } - if (!((bool)Convert.ChangeType(_validationDict["UnifiedDiff"], typeof(bool)))) - { - list.Add("UnifiedDiff"); - } - if (list.Count > 0) - { - string[] array = new string[list.Count]; - list.CopyTo(array); - return array; - } - return null; - } - - public virtual string FileName - { - get - { - return _FileName; - } - set - { - _FileName = value; - _validationDict["FileName"] = true; - } - } - - public virtual bool IsValid - { - get - { - return (Validate() == null); - } - } - - public virtual string StrFileName - { - get - { - return _FileName.ToString(); - } - } - - public virtual string StrUnifiedDiff - { - get - { - return _UnifiedDiff.ToString(); - } - } - - public virtual string UnifiedDiff - { - get - { - return _UnifiedDiff; - } - set - { - _UnifiedDiff = value; - _validationDict["UnifiedDiff"] = true; - } - } } } diff --git a/src/SqlSync.Compare/FileDiff.cs b/src/SqlSync.Compare/FileDiff.cs index 6df36470..5076de1b 100644 --- a/src/SqlSync.Compare/FileDiff.cs +++ b/src/SqlSync.Compare/FileDiff.cs @@ -1,229 +1,20 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.0.2645 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.Compare { - using System; - using System.Data; - using System.Xml; - + + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class FileDiff { - - private string _FileName = String.Empty; - - private string _UnifiedDiff = String.Empty; - - private System.Collections.Hashtable _validationDict; - - public FileDiff() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("FileName", false); - this._validationDict.Add("UnifiedDiff", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string FileName { - get { - return this._FileName; - } - set { - this._FileName = value; - this._validationDict["FileName"] = true; - } - } - - public virtual string UnifiedDiff { - get { - return this._UnifiedDiff; - } - set { - this._UnifiedDiff = value; - this._validationDict["UnifiedDiff"] = true; - } - } - - public virtual string StrFileName { - get { - return this._FileName.ToString(); - } - } - - public virtual string StrUnifiedDiff { - get { - return this._UnifiedDiff.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrFileName); - sb.Append(delimiter); - sb.Append(this.StrUnifiedDiff); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(FileDiff dataClass) { - try { - this.FileName = dataClass.FileName; - this.UnifiedDiff = dataClass.UnifiedDiff; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.Fill(FileDiff) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("FileName") != null)) { - this.FileName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("FileName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("UnifiedDiff") != null)) { - this.UnifiedDiff = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("UnifiedDiff")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.FileName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.UnifiedDiff = ((string)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.FileName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.UnifiedDiff = ((string)(System.Convert.ChangeType(arrSplitString[1], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.FileName.ToString()); - sb.Append(delimiter); - sb.Append(this.UnifiedDiff.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[2]; - try { - myArray[0] = this._FileName.ToString(); - myArray[1] = this._UnifiedDiff.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + -"tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("FileName", this.FileName.ToString()); - nameValueColl.Add("UnifiedDiff", this.UnifiedDiff.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: FileDiff.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["FileName"], typeof(bool)))) == false)) { - missingValues.Add("FileName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["UnifiedDiff"], typeof(bool)))) == false)) { - missingValues.Add("UnifiedDiff"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } + public FileDiff() + { } + + public string FileName { get; set; } = String.Empty; + + public string UnifiedDiff { get; set; } = String.Empty; } } diff --git a/src/SqlSync.Compare/FileDiff.xml b/src/SqlSync.Compare/FileDiff.xml deleted file mode 100644 index 6b7564c4..00000000 --- a/src/SqlSync.Compare/FileDiff.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - SqlSync.Compare - FileDiff - - System.Data - System.Xml - - - - FileName - String.Empty - System.String - - - UnifiedDiff - String.Empty - System.String - - - diff --git a/src/SqlSync.DbInformation/CodeTableAudit.cs b/src/SqlSync.DbInformation/CodeTableAudit.cs index aaa2f4d1..3e4af2e6 100644 --- a/src/SqlSync.DbInformation/CodeTableAudit.cs +++ b/src/SqlSync.DbInformation/CodeTableAudit.cs @@ -1,440 +1,37 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.DbInformation { - using System; - - + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class CodeTableAudit { - - private string _TableName = string.Empty; - - private string _UpdateIdColumn = string.Empty; - - private string _UpdateDateColumn = string.Empty; - - private string _CreateDateColumn = string.Empty; - - private string _CreateIdColumn = string.Empty; - - private int _RowCount = -1; - - private bool _HasUpdateTrigger = false; - - private object _LookUpTableRow = null; - - private System.Collections.Hashtable _validationDict; - - public CodeTableAudit() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("UpdateIdColumn", false); - this._validationDict.Add("UpdateDateColumn", false); - this._validationDict.Add("CreateDateColumn", false); - this._validationDict.Add("CreateIdColumn", false); - this._validationDict.Add("RowCount", false); - this._validationDict.Add("HasUpdateTrigger", false); - this._validationDict.Add("LookUpTableRow", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - public virtual string UpdateIdColumn { - get { - return this._UpdateIdColumn; - } - set { - this._UpdateIdColumn = value; - this._validationDict["UpdateIdColumn"] = true; - } - } - - public virtual string UpdateDateColumn { - get { - return this._UpdateDateColumn; - } - set { - this._UpdateDateColumn = value; - this._validationDict["UpdateDateColumn"] = true; - } - } - - public virtual string CreateDateColumn { - get { - return this._CreateDateColumn; - } - set { - this._CreateDateColumn = value; - this._validationDict["CreateDateColumn"] = true; - } - } - - public virtual string CreateIdColumn { - get { - return this._CreateIdColumn; - } - set { - this._CreateIdColumn = value; - this._validationDict["CreateIdColumn"] = true; - } - } - - public virtual int RowCount { - get { - return this._RowCount; - } - set { - this._RowCount = value; - this._validationDict["RowCount"] = true; - } - } - - public virtual bool HasUpdateTrigger { - get { - return this._HasUpdateTrigger; - } - set { - this._HasUpdateTrigger = value; - this._validationDict["HasUpdateTrigger"] = true; - } - } - - public virtual object LookUpTableRow { - get { - return this._LookUpTableRow; - } - set { - this._LookUpTableRow = value; - this._validationDict["LookUpTableRow"] = true; - } - } - - public virtual string StrTableName { - get { - return this._TableName.ToString(); - } + public CodeTableAudit() + { + } + + public string TableName { get; set; } = string.Empty; - public virtual string StrUpdateIdColumn { - get { - return this._UpdateIdColumn.ToString(); - } - } - - public virtual string StrUpdateDateColumn { - get { - return this._UpdateDateColumn.ToString(); - } - } - - public virtual string StrCreateDateColumn { - get { - return this._CreateDateColumn.ToString(); - } - } - - public virtual string StrCreateIdColumn { - get { - return this._CreateIdColumn.ToString(); - } - } - - public virtual string StrRowCount { - get { - return this._RowCount.ToString(); - } - } - - public virtual string StrHasUpdateTrigger { - get { - return this._HasUpdateTrigger.ToString(); - } - } - - public virtual string StrLookUpTableRow { - get { - return this._LookUpTableRow.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrTableName); - sb.Append(delimiter); - sb.Append(this.StrUpdateIdColumn); - sb.Append(delimiter); - sb.Append(this.StrUpdateDateColumn); - sb.Append(delimiter); - sb.Append(this.StrCreateDateColumn); - sb.Append(delimiter); - sb.Append(this.StrCreateIdColumn); - sb.Append(delimiter); - sb.Append(this.StrRowCount); - sb.Append(delimiter); - sb.Append(this.StrHasUpdateTrigger); - sb.Append(delimiter); - sb.Append(this.StrLookUpTableRow); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.GetCustomDelimitedString(string) Method", ex); - } - } + public string UpdateIdColumn { get; set; } = string.Empty; - public virtual bool Fill(CodeTableAudit dataClass) { - try { - this.TableName = dataClass.TableName; - this.UpdateIdColumn = dataClass.UpdateIdColumn; - this.UpdateDateColumn = dataClass.UpdateDateColumn; - this.CreateDateColumn = dataClass.CreateDateColumn; - this.CreateIdColumn = dataClass.CreateIdColumn; - this.RowCount = dataClass.RowCount; - this.HasUpdateTrigger = dataClass.HasUpdateTrigger; - this.LookUpTableRow = dataClass.LookUpTableRow; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(CodeTableAudit) Method", ex); - } - } + public string UpdateDateColumn { get; set; } = string.Empty; - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } + public string CreateDateColumn { get; set; } = string.Empty; - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } + public string CreateIdColumn { get; set; } = string.Empty; - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("TableName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("UpdateIdColumn") != null)) { - this.UpdateIdColumn = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("UpdateIdColumn")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("UpdateDateColumn") != null)) { - this.UpdateDateColumn = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("UpdateDateColumn")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("CreateDateColumn") != null)) { - this.CreateDateColumn = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("CreateDateColumn")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("CreateIdColumn") != null)) { - this.CreateIdColumn = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("CreateIdColumn")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("RowCount") != null)) { - this.RowCount = ((int)(System.Convert.ChangeType(nameValueColl.GetValues("RowCount")[0], typeof(int)))); - } - if ((nameValueColl.GetValues("HasUpdateTrigger") != null)) { - this.HasUpdateTrigger = ((bool)(System.Convert.ChangeType(nameValueColl.GetValues("HasUpdateTrigger")[0], typeof(bool)))); - } - if ((nameValueColl.GetValues("LookUpTableRow") != null)) { - this.LookUpTableRow = ((object)(System.Convert.ChangeType(nameValueColl.GetValues("LookUpTableRow")[0], typeof(object)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(NameValueCollection) Method", ex); - } - } + public int RowCount { get; set; } = -1; - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.UpdateIdColumn = ((string)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string)))); - this.UpdateDateColumn = ((string)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(string)))); - this.CreateDateColumn = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - this.CreateIdColumn = ((string)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(string)))); - this.RowCount = ((int)(System.Convert.ChangeType(sourceArray.GetValue(5), typeof(int)))); - this.HasUpdateTrigger = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(6), typeof(bool)))); - this.LookUpTableRow = ((object)(System.Convert.ChangeType(sourceArray.GetValue(7), typeof(object)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(System.Array) Method", ex); - } - } + public bool HasUpdateTrigger { get; set; } = false; - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.UpdateIdColumn = ((string)(System.Convert.ChangeType(arrSplitString[1], typeof(string)))); - this.UpdateDateColumn = ((string)(System.Convert.ChangeType(arrSplitString[2], typeof(string)))); - this.CreateDateColumn = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - this.CreateIdColumn = ((string)(System.Convert.ChangeType(arrSplitString[4], typeof(string)))); - this.RowCount = ((int)(System.Convert.ChangeType(arrSplitString[5], typeof(int)))); - this.HasUpdateTrigger = ((bool)(System.Convert.ChangeType(arrSplitString[6], typeof(bool)))); - this.LookUpTableRow = ((object)(System.Convert.ChangeType(arrSplitString[7], typeof(object)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(string,char) Method", ex); - } - } + public object LookUpTableRow { get; set; } = null; - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.Fill(string) Method", ex); - } - } - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString()); - sb.Append(delimiter); - sb.Append(this.UpdateIdColumn.ToString()); - sb.Append(delimiter); - sb.Append(this.UpdateDateColumn.ToString()); - sb.Append(delimiter); - sb.Append(this.CreateDateColumn.ToString()); - sb.Append(delimiter); - sb.Append(this.CreateIdColumn.ToString()); - sb.Append(delimiter); - sb.Append(this.RowCount.ToString()); - sb.Append(delimiter); - sb.Append(this.HasUpdateTrigger.ToString()); - sb.Append(delimiter); - sb.Append(this.LookUpTableRow.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.GetDelimitedString(string) Method", ex); - } - } + - public virtual string[] GetStringArray() { - string[] myArray = new string[8]; - try { - myArray[0] = this._TableName.ToString(); - myArray[1] = this._UpdateIdColumn.ToString(); - myArray[2] = this._UpdateDateColumn.ToString(); - myArray[3] = this._CreateDateColumn.ToString(); - myArray[4] = this._CreateIdColumn.ToString(); - myArray[5] = this._RowCount.ToString(); - myArray[6] = this._HasUpdateTrigger.ToString(); - myArray[7] = this._LookUpTableRow.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString()); - nameValueColl.Add("UpdateIdColumn", this.UpdateIdColumn.ToString()); - nameValueColl.Add("UpdateDateColumn", this.UpdateDateColumn.ToString()); - nameValueColl.Add("CreateDateColumn", this.CreateDateColumn.ToString()); - nameValueColl.Add("CreateIdColumn", this.CreateIdColumn.ToString()); - nameValueColl.Add("RowCount", this.RowCount.ToString()); - nameValueColl.Add("HasUpdateTrigger", this.HasUpdateTrigger.ToString()); - nameValueColl.Add("LookUpTableRow", this.LookUpTableRow.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAudit.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool)))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["UpdateIdColumn"], typeof(bool)))) == false)) { - missingValues.Add("UpdateIdColumn"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["UpdateDateColumn"], typeof(bool)))) == false)) { - missingValues.Add("UpdateDateColumn"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["CreateDateColumn"], typeof(bool)))) == false)) { - missingValues.Add("CreateDateColumn"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["CreateIdColumn"], typeof(bool)))) == false)) { - missingValues.Add("CreateIdColumn"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["RowCount"], typeof(bool)))) == false)) { - missingValues.Add("RowCount"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasUpdateTrigger"], typeof(bool)))) == false)) { - missingValues.Add("HasUpdateTrigger"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["LookUpTableRow"], typeof(bool)))) == false)) { - missingValues.Add("LookUpTableRow"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + + } } diff --git a/src/SqlSync.DbInformation/CodeTableAudit.xml b/src/SqlSync.DbInformation/CodeTableAudit.xml deleted file mode 100644 index e2c6662f..00000000 --- a/src/SqlSync.DbInformation/CodeTableAudit.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - SqlSync.DbInformation - CodeTableAudit - - - TableName - string.Empty - string - - - UpdateIdColumn - string.Empty - string - - - UpdateDateColumn - string.Empty - string - - - CreateDateColumn - string.Empty - string - - - CreateIdColumn - string.Empty - string - - - RowCount - -1 - System.Int32 - - - HasUpdateTrigger - false - System.Boolean - - - LookUpTableRow - null - System.Object - - - diff --git a/src/SqlSync.DbInformation/CodeTableAuditColumnList.cs b/src/SqlSync.DbInformation/CodeTableAuditColumnList.cs index 97bcfd82..fb0cb56e 100644 --- a/src/SqlSync.DbInformation/CodeTableAuditColumnList.cs +++ b/src/SqlSync.DbInformation/CodeTableAuditColumnList.cs @@ -1,15 +1,6 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.DbInformation { - using System; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] @@ -18,13 +9,13 @@ namespace SqlSync.DbInformation { public class CodeTableAuditColumnList { private System.Collections.Generic.List _UpdateDateColumns = new System.Collections.Generic.List(); - + private System.Collections.Generic.List _UpdateIdColumns = new System.Collections.Generic.List(); - + private System.Collections.Generic.List _CreateDateColumns = new System.Collections.Generic.List(); - + private System.Collections.Generic.List _CreateIdColumns = new System.Collections.Generic.List(); - + private System.Collections.Hashtable _validationDict; public CodeTableAuditColumnList() { @@ -86,177 +77,6 @@ public virtual System.Collections.Generic.List CreateIdColumns { } } - public virtual string StrUpdateDateColumns { - get { - return this._UpdateDateColumns.ToString(); - } - } - - public virtual string StrUpdateIdColumns { - get { - return this._UpdateIdColumns.ToString(); - } - } - - public virtual string StrCreateDateColumns { - get { - return this._CreateDateColumns.ToString(); - } - } - - public virtual string StrCreateIdColumns { - get { - return this._CreateIdColumns.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrUpdateDateColumns); - sb.Append(delimiter); - sb.Append(this.StrUpdateIdColumns); - sb.Append(delimiter); - sb.Append(this.StrCreateDateColumns); - sb.Append(delimiter); - sb.Append(this.StrCreateIdColumns); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(CodeTableAuditColumnList dataClass) { - try { - this.UpdateDateColumns = dataClass.UpdateDateColumns; - this.UpdateIdColumns = dataClass.UpdateIdColumns; - this.CreateDateColumns = dataClass.CreateDateColumns; - this.CreateIdColumns = dataClass.CreateIdColumns; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(CodeTableAuditColumnList) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.UpdateDateColumns.ToString()); - sb.Append(delimiter); - sb.Append(this.UpdateIdColumns.ToString()); - sb.Append(delimiter); - sb.Append(this.CreateDateColumns.ToString()); - sb.Append(delimiter); - sb.Append(this.CreateIdColumns.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[4]; - try { - myArray[0] = this._UpdateDateColumns.ToString(); - myArray[1] = this._UpdateIdColumns.ToString(); - myArray[2] = this._CreateDateColumns.ToString(); - myArray[3] = this._CreateIdColumns.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("UpdateDateColumns", this.UpdateDateColumns.ToString()); - nameValueColl.Add("UpdateIdColumns", this.UpdateIdColumns.ToString()); - nameValueColl.Add("CreateDateColumns", this.CreateDateColumns.ToString()); - nameValueColl.Add("CreateIdColumns", this.CreateIdColumns.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CodeTableAuditColumnList.GetNameValueCollection() Method", ex); - } - } - public virtual string[] Validate() { System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); if ((((bool)(System.Convert.ChangeType(this._validationDict["UpdateDateColumns"], typeof(bool)))) == false)) { diff --git a/src/SqlSync.DbInformation/CodeTableAuditColumnList.xml b/src/SqlSync.DbInformation/CodeTableAuditColumnList.xml deleted file mode 100644 index 21a301fd..00000000 --- a/src/SqlSync.DbInformation/CodeTableAuditColumnList.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - SqlSync.DbInformation - CodeTableAuditColumnList - - - UpdateDateColumns - new System.Collections.Generic.List<string>() - System.Collections.Generic.List<string> - - - UpdateIdColumns - new System.Collections.Generic.List<string>() - System.Collections.Generic.List<string> - - - CreateDateColumns - new System.Collections.Generic.List<string>() - System.Collections.Generic.List<string> - - - CreateIdColumns - new System.Collections.Generic.List<string>() - System.Collections.Generic.List<string> - - - diff --git a/src/SqlSync.DbInformation/ColumnInfo.cs b/src/SqlSync.DbInformation/ColumnInfo.cs index 5f728eca..6be2db52 100644 --- a/src/SqlSync.DbInformation/ColumnInfo.cs +++ b/src/SqlSync.DbInformation/ColumnInfo.cs @@ -1,122 +1,23 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.DbInformation { - using System; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class ColumnInfo { - - private string _ColumnName = string.Empty; - - private string _DataType = string.Empty; - - private int _CharMaximum = 0; - - private System.Collections.Hashtable _validationDict; - - public ColumnInfo() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("ColumnName", false); - this._validationDict.Add("DataType", false); - this._validationDict.Add("CharMaximum", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string ColumnName { - get { - return this._ColumnName; - } - set { - this._ColumnName = value; - this._validationDict["ColumnName"] = true; - } - } - - public virtual string DataType { - get { - return this._DataType; - } - set { - this._DataType = value; - this._validationDict["DataType"] = true; - } - } - - public virtual int CharMaximum { - get { - return this._CharMaximum; - } - set { - this._CharMaximum = value; - this._validationDict["CharMaximum"] = true; - } - } - - public virtual string StrColumnName { - get { - return this._ColumnName.ToString(); - } - } - - public virtual string StrDataType { - get { - return this._DataType.ToString(); - } - } - - public virtual string StrCharMaximum { - get { - return this._CharMaximum.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrColumnName); - sb.Append(delimiter); - sb.Append(this.StrDataType); - sb.Append(delimiter); - sb.Append(this.StrCharMaximum); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(ColumnInfo dataClass) { - try { - this.ColumnName = dataClass.ColumnName; - this.DataType = dataClass.DataType; - this.CharMaximum = dataClass.CharMaximum; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.Fill(ColumnInfo) Method", ex); - } - } + + public ColumnInfo() + { + + } + + public string ColumnName { get; set; } = string.Empty; + + public string DataType { get; set; } = string.Empty; + + public int CharMaximum { get; set; } = 0; public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { try { @@ -146,143 +47,5 @@ public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool clo } } } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - if ((sourceDataRow["column_name"].Equals(System.DBNull.Value) == false)) { - this.ColumnName = ((string)(System.Convert.ChangeType(sourceDataRow["column_name"], typeof(string)))); - } - if ((sourceDataRow["data_type"].Equals(System.DBNull.Value) == false)) { - this.DataType = ((string)(System.Convert.ChangeType(sourceDataRow["data_type"], typeof(string)))); - } - if ((sourceDataRow["character_maximum_length"].Equals(System.DBNull.Value) == false)) { - this.CharMaximum = ((int)(System.Convert.ChangeType(sourceDataRow["character_maximum_length"], typeof(int)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("ColumnName") != null)) { - this.ColumnName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ColumnName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("DataType") != null)) { - this.DataType = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("DataType")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("CharMaximum") != null)) { - this.CharMaximum = ((int)(System.Convert.ChangeType(nameValueColl.GetValues("CharMaximum")[0], typeof(int)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.ColumnName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.DataType = ((string)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string)))); - this.CharMaximum = ((int)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(int)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.ColumnName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.DataType = ((string)(System.Convert.ChangeType(arrSplitString[1], typeof(string)))); - this.CharMaximum = ((int)(System.Convert.ChangeType(arrSplitString[2], typeof(int)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.ColumnName.ToString()); - sb.Append(delimiter); - sb.Append(this.DataType.ToString()); - sb.Append(delimiter); - sb.Append(this.CharMaximum.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[3]; - try { - myArray[0] = this._ColumnName.ToString(); - myArray[1] = this._DataType.ToString(); - myArray[2] = this._CharMaximum.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("ColumnName", this.ColumnName.ToString()); - nameValueColl.Add("DataType", this.DataType.ToString()); - nameValueColl.Add("CharMaximum", this.CharMaximum.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ColumnInfo.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["ColumnName"], typeof(bool)))) == false)) { - missingValues.Add("ColumnName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["DataType"], typeof(bool)))) == false)) { - missingValues.Add("DataType"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["CharMaximum"], typeof(bool)))) == false)) { - missingValues.Add("CharMaximum"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } } } diff --git a/src/SqlSync.DbInformation/ColumnInfo.xml b/src/SqlSync.DbInformation/ColumnInfo.xml deleted file mode 100644 index 38825595..00000000 --- a/src/SqlSync.DbInformation/ColumnInfo.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - SqlSync.DbInformation - ColumnInfo - - - ColumnName - string.Empty - string - column_name - - - DataType - string.Empty - string - data_type - - - CharMaximum - 0 - Int32 - character_maximum_length - - - diff --git a/src/SqlSync.DbInformation/DatabaseItem.cs b/src/SqlSync.DbInformation/DatabaseItem.cs index 8a4dec8c..5cb27c18 100644 --- a/src/SqlSync.DbInformation/DatabaseItem.cs +++ b/src/SqlSync.DbInformation/DatabaseItem.cs @@ -1,12 +1,3 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ namespace SqlSync.DbInformation { using System; @@ -15,234 +6,24 @@ namespace SqlSync.DbInformation { [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] - public partial class DatabaseItem { - - private string _DatabaseName = string.Empty; - - private bool _IsManuallyEntered = false; - - private System.Collections.Hashtable _validationDict; - - public DatabaseItem() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("DatabaseName", false); - this._validationDict.Add("IsManuallyEntered", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string DatabaseName { - get { - return this._DatabaseName; - } - set { - this._DatabaseName = value; - this._validationDict["DatabaseName"] = true; - } - } - - public virtual bool IsManuallyEntered { - get { - return this._IsManuallyEntered; - } - set { - this._IsManuallyEntered = value; - this._validationDict["IsManuallyEntered"] = true; - } - } - - public virtual string StrDatabaseName { - get { - return this._DatabaseName.ToString(); - } - } - - public virtual string StrIsManuallyEntered { - get { - return this._IsManuallyEntered.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrDatabaseName); - sb.Append(delimiter); - sb.Append(this.StrIsManuallyEntered); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(DatabaseItem dataClass) { - try { - this.DatabaseName = dataClass.DatabaseName; - this.IsManuallyEntered = dataClass.IsManuallyEntered; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(DatabaseItem) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - if ((reader["DatabaseName"].Equals(System.DBNull.Value) == false)) { - this.DatabaseName = ((string)(System.Convert.ChangeType(reader["DatabaseName"], typeof(string)))); - } - if ((reader["IsManuallyEntered"].Equals(System.DBNull.Value) == false)) { - this.IsManuallyEntered = ((bool)(System.Convert.ChangeType(reader["IsManuallyEntered"], typeof(bool)))); - } - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - if ((sourceDataRow["DatabaseName"].Equals(System.DBNull.Value) == false)) { - this.DatabaseName = ((string)(System.Convert.ChangeType(sourceDataRow["DatabaseName"], typeof(string)))); - } - if ((sourceDataRow["IsManuallyEntered"].Equals(System.DBNull.Value) == false)) { - this.IsManuallyEntered = ((bool)(System.Convert.ChangeType(sourceDataRow["IsManuallyEntered"], typeof(bool)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("DatabaseName") != null)) { - this.DatabaseName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("DatabaseName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("IsManuallyEntered") != null)) { - this.IsManuallyEntered = ((bool)(System.Convert.ChangeType(nameValueColl.GetValues("IsManuallyEntered")[0], typeof(bool)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.DatabaseName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.IsManuallyEntered = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(bool)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.DatabaseName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.IsManuallyEntered = ((bool)(System.Convert.ChangeType(arrSplitString[1], typeof(bool)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.DatabaseName.ToString()); - sb.Append(delimiter); - sb.Append(this.IsManuallyEntered.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[2]; - try { - myArray[0] = this._DatabaseName.ToString(); - myArray[1] = this._IsManuallyEntered.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("DatabaseName", this.DatabaseName.ToString()); - nameValueColl.Add("IsManuallyEntered", this.IsManuallyEntered.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: DatabaseItem.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["DatabaseName"], typeof(bool)))) == false)) { - missingValues.Add("DatabaseName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["IsManuallyEntered"], typeof(bool)))) == false)) { - missingValues.Add("IsManuallyEntered"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + public class DatabaseItem { + + public DatabaseItem() + { + } + + public int? SequenceId { get; set; } = null; + + public string DatabaseName { get; set; } = string.Empty; + + public bool IsManuallyEntered { get; set; } = false; + + public override string ToString() + { + return DatabaseName; + } + + + } } diff --git a/src/SqlSync.DbInformation/DatabaseItem.xml b/src/SqlSync.DbInformation/DatabaseItem.xml deleted file mode 100644 index 0823e061..00000000 --- a/src/SqlSync.DbInformation/DatabaseItem.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - SqlSync.DbInformation - DatabaseItem - - - DatabaseName - string.Empty - DatabaseName - string - - - IsManuallyEntered - false - IsManuallyEntered - Boolean - - - diff --git a/src/SqlSync.DbInformation/DatabaseItem_partial.cs b/src/SqlSync.DbInformation/DatabaseItem_partial.cs deleted file mode 100644 index 1439dad8..00000000 --- a/src/SqlSync.DbInformation/DatabaseItem_partial.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace SqlSync.DbInformation -{ - public partial class DatabaseItem - { - public override string ToString() - { - return DatabaseName; - } - - public int? SequenceId { get; set; } = null; - } -} diff --git a/src/SqlSync.DbInformation/ObjectData.cs b/src/SqlSync.DbInformation/ObjectData.cs index aff83f18..a6639783 100644 --- a/src/SqlSync.DbInformation/ObjectData.cs +++ b/src/SqlSync.DbInformation/ObjectData.cs @@ -1,183 +1,30 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.DbInformation { - using System; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class ObjectData { - - private string _ObjectName = string.Empty; - - private string _ObjectType = string.Empty; - - private System.DateTime _CreateDate = DateTime.MinValue; - - private System.DateTime _AlteredDate = DateTime.MinValue; - - private string _SchemaOwner = "dbo"; - private string _ParentObject = ""; - - private System.Collections.Hashtable _validationDict; - - public ObjectData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("ObjectName", false); - this._validationDict.Add("ObjectType", false); - this._validationDict.Add("CreateDate", false); - this._validationDict.Add("AlteredDate", false); - this._validationDict.Add("SchemaOwner", false); - this._validationDict.Add("ParentObject", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string ObjectName { - get { - return this._ObjectName; - } - set { - this._ObjectName = value; - this._validationDict["ObjectName"] = true; - } - } - - public virtual string ObjectType { - get { - return this._ObjectType; - } - set { - this._ObjectType = value; - this._validationDict["ObjectType"] = true; - } - } - - public virtual System.DateTime CreateDate { - get { - return this._CreateDate; - } - set { - this._CreateDate = value; - this._validationDict["CreateDate"] = true; - } - } - - public virtual System.DateTime AlteredDate { - get { - return this._AlteredDate; - } - set { - this._AlteredDate = value; - this._validationDict["AlteredDate"] = true; - } - } - - public virtual string SchemaOwner { - get { - return this._SchemaOwner; - } - set { - this._SchemaOwner = value; - this._validationDict["SchemaOwner"] = true; - } - } - - public virtual string ParentObject + public ObjectData() { - get - { - return this._ParentObject; - } - set - { - this._ParentObject = value; - this._validationDict["ParentObject"] = true; - } - } - - public virtual string StrObjectName { - get { - return this._ObjectName.ToString(); - } - } - - public virtual string StrObjectType { - get { - return this._ObjectType.ToString(); - } - } - - public virtual string StrCreateDate { - get { - return this._CreateDate.ToString(); - } - } - - public virtual string StrAlteredDate { - get { - return this._AlteredDate.ToString(); - } } - - public virtual string StrSchemaOwner { - get { - return this._SchemaOwner.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrObjectName); - sb.Append(delimiter); - sb.Append(this.StrObjectType); - sb.Append(delimiter); - sb.Append(this.StrCreateDate); - sb.Append(delimiter); - sb.Append(this.StrAlteredDate); - sb.Append(delimiter); - sb.Append(this.StrSchemaOwner); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(ObjectData dataClass) { - try { - this.ObjectName = dataClass.ObjectName; - this.ObjectType = dataClass.ObjectType; - this.CreateDate = dataClass.CreateDate; - this.AlteredDate = dataClass.AlteredDate; - this.SchemaOwner = dataClass.SchemaOwner; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.Fill(ObjectData) Method", ex); - } - } - + + public string ObjectName { get; set; } = string.Empty; + + public string ObjectType { get; set; } = string.Empty; + + public System.DateTime CreateDate { get; set; } = DateTime.MinValue; + + public System.DateTime AlteredDate { get; set; } = DateTime.MinValue; + + public string SchemaOwner { get; set; } = "dbo"; + + public string ParentObject { get; set; } = ""; + + public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { try { if ((reader.Read() == false)) { @@ -212,173 +59,6 @@ public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool clo } } } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - if ((sourceDataRow["ObjectName"].Equals(System.DBNull.Value) == false)) { - this.ObjectName = ((string)(System.Convert.ChangeType(sourceDataRow["ObjectName"], typeof(string)))); - } - if ((sourceDataRow["ObjectType"].Equals(System.DBNull.Value) == false)) { - this.ObjectType = ((string)(System.Convert.ChangeType(sourceDataRow["ObjectType"], typeof(string)))); - } - if ((sourceDataRow["CreateDate"].Equals(System.DBNull.Value) == false)) { - this.CreateDate = ((System.DateTime)(System.Convert.ChangeType(sourceDataRow["CreateDate"], typeof(System.DateTime)))); - } - if ((sourceDataRow["AlteredDate"].Equals(System.DBNull.Value) == false)) { - this.AlteredDate = ((System.DateTime)(System.Convert.ChangeType(sourceDataRow["AlteredDate"], typeof(System.DateTime)))); - } - if ((sourceDataRow["SchemaOwner"].Equals(System.DBNull.Value) == false)) { - this.SchemaOwner = ((string)(System.Convert.ChangeType(sourceDataRow["SchemaOwner"], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("ObjectName") != null)) { - this.ObjectName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ObjectName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ObjectType") != null)) { - this.ObjectType = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ObjectType")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("CreateDate") != null)) { - this.CreateDate = ((System.DateTime)(System.Convert.ChangeType(nameValueColl.GetValues("CreateDate")[0], typeof(System.DateTime)))); - } - if ((nameValueColl.GetValues("AlteredDate") != null)) { - this.AlteredDate = ((System.DateTime)(System.Convert.ChangeType(nameValueColl.GetValues("AlteredDate")[0], typeof(System.DateTime)))); - } - if ((nameValueColl.GetValues("SchemaOwner") != null)) { - this.SchemaOwner = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("SchemaOwner")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.ObjectName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ObjectType = ((string)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string)))); - this.CreateDate = ((System.DateTime)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(System.DateTime)))); - this.AlteredDate = ((System.DateTime)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(System.DateTime)))); - this.SchemaOwner = ((string)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.ObjectName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ObjectType = ((string)(System.Convert.ChangeType(arrSplitString[1], typeof(string)))); - this.CreateDate = ((System.DateTime)(System.Convert.ChangeType(arrSplitString[2], typeof(System.DateTime)))); - this.AlteredDate = ((System.DateTime)(System.Convert.ChangeType(arrSplitString[3], typeof(System.DateTime)))); - this.SchemaOwner = ((string)(System.Convert.ChangeType(arrSplitString[4], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.ObjectName.ToString()); - sb.Append(delimiter); - sb.Append(this.ObjectType.ToString()); - sb.Append(delimiter); - sb.Append(this.CreateDate.ToString()); - sb.Append(delimiter); - sb.Append(this.AlteredDate.ToString()); - sb.Append(delimiter); - sb.Append(this.SchemaOwner.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[5]; - try { - myArray[0] = this._ObjectName.ToString(); - myArray[1] = this._ObjectType.ToString(); - myArray[2] = this._CreateDate.ToString(); - myArray[3] = this._AlteredDate.ToString(); - myArray[4] = this._SchemaOwner.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("ObjectName", this.ObjectName.ToString()); - nameValueColl.Add("ObjectType", this.ObjectType.ToString()); - nameValueColl.Add("CreateDate", this.CreateDate.ToString()); - nameValueColl.Add("AlteredDate", this.AlteredDate.ToString()); - nameValueColl.Add("SchemaOwner", this.SchemaOwner.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["ObjectName"], typeof(bool)))) == false)) { - missingValues.Add("ObjectName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ObjectType"], typeof(bool)))) == false)) { - missingValues.Add("ObjectType"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["CreateDate"], typeof(bool)))) == false)) { - missingValues.Add("CreateDate"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["AlteredDate"], typeof(bool)))) == false)) { - missingValues.Add("AlteredDate"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["SchemaOwner"], typeof(bool)))) == false)) { - missingValues.Add("SchemaOwner"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + } } diff --git a/src/SqlSync.DbInformation/ObjectData.xml b/src/SqlSync.DbInformation/ObjectData.xml deleted file mode 100644 index cf84544a..00000000 --- a/src/SqlSync.DbInformation/ObjectData.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - SqlSync.DbInformation - ObjectData - - - ObjectName - string.Empty - ObjectName - string - - - ObjectType - string.Empty - ObjectType - string - - - CreateDate - DateTime.MinValue - CreateDate - System.DateTime - - - AlteredDate - DateTime.MinValue - AlteredDate - System.DateTime - - - SchemaOwner - "dbo" - SchemaOwner - string - - - diff --git a/src/SqlSync.DbInformation/TableSize.cs b/src/SqlSync.DbInformation/TableSize.cs index 4563ea1a..73ef9ea4 100644 --- a/src/SqlSync.DbInformation/TableSize.cs +++ b/src/SqlSync.DbInformation/TableSize.cs @@ -1,236 +1,19 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.DbInformation { - using System; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class TableSize { - - private string _TableName = string.Empty; - - private int _RowCount = 0; - - private System.Collections.Hashtable _validationDict; - - public TableSize() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("RowCount", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - public virtual int RowCount { - get { - return this._RowCount; - } - set { - this._RowCount = value; - this._validationDict["RowCount"] = true; - } - } - - public virtual string StrTableName { - get { - return this._TableName.ToString(); - } - } - - public virtual string StrRowCount { - get { - return this._RowCount.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrTableName); - sb.Append(delimiter); - sb.Append(this.StrRowCount); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(TableSize dataClass) { - try { - this.TableName = dataClass.TableName; - this.RowCount = dataClass.RowCount; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(TableSize) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("TableName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("RowCount") != null)) { - this.RowCount = ((int)(System.Convert.ChangeType(nameValueColl.GetValues("RowCount")[0], typeof(int)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.RowCount = ((int)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(int)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.RowCount = ((int)(System.Convert.ChangeType(arrSplitString[1], typeof(int)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString()); - sb.Append(delimiter); - sb.Append(this.RowCount.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[2]; - try { - myArray[0] = this._TableName.ToString(); - myArray[1] = this._RowCount.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString()); - nameValueColl.Add("RowCount", this.RowCount.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableSize.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool)))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["RowCount"], typeof(bool)))) == false)) { - missingValues.Add("RowCount"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + public TableSize() + { + } + + public string TableName { get; set; } = string.Empty; + + public int RowCount { get; set; } = 0; + } } diff --git a/src/SqlSync.DbInformation/TableSize.xml b/src/SqlSync.DbInformation/TableSize.xml deleted file mode 100644 index 36f4a1d3..00000000 --- a/src/SqlSync.DbInformation/TableSize.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - SqlSync.DbInformation - TableSize - - - TableName - string.Empty - string - - - RowCount - 0 - System.Int32 - - - diff --git a/src/SqlSync.ObjectScript/AutoScriptList.cs b/src/SqlSync.ObjectScript/AutoScriptList.cs index b831be52..ee2805fa 100644 --- a/src/SqlSync.ObjectScript/AutoScriptList.cs +++ b/src/SqlSync.ObjectScript/AutoScriptList.cs @@ -1,36 +1,62 @@ //------------------------------------------------------------------------------ -// +// // This code was generated by a tool. -// Runtime Version: 1.1.4322.2032 +// Runtime Version:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if +// Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. -// +// //------------------------------------------------------------------------------ // -// This source code was auto-generated by xsd, Version=1.1.4322.2032. +// This source code was auto-generated by xsd, Version=4.8.3928.0. // namespace SqlSync.ObjectScript { using System.Xml.Serialization; /// - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mckechney.com/AutoScriptList.xsd")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.mckechney.com/AutoScriptList.xsd")] [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.mckechney.com/AutoScriptList.xsd", IsNullable=false)] - public class AutoScriptList { + public partial class AutoScriptList { + + private AutoScriptListRegistration[] itemsField; /// [System.Xml.Serialization.XmlElementAttribute("Registration")] - public AutoScriptListRegistration[] Items; + public AutoScriptListRegistration[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } } /// - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mckechney.com/AutoScriptList.xsd")] - public class AutoScriptListRegistration { + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.mckechney.com/AutoScriptList.xsd")] + public partial class AutoScriptListRegistration { + + private string fileField; /// [System.Xml.Serialization.XmlAttributeAttribute()] - public string File; + public string File { + get { + return this.fileField; + } + set { + this.fileField = value; + } + } } } diff --git a/src/SqlSync.ObjectScript/AutoScriptingConfig.Designer.cs b/src/SqlSync.ObjectScript/AutoScriptingConfig.Designer.cs index aa52e046..2b45c72e 100644 --- a/src/SqlSync.ObjectScript/AutoScriptingConfig.Designer.cs +++ b/src/SqlSync.ObjectScript/AutoScriptingConfig.Designer.cs @@ -37,7 +37,7 @@ public partial class AutoScriptingConfig : global::System.Data.DataSet { private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingConfig() { this.BeginInit(); this.InitClass(); @@ -48,7 +48,7 @@ public AutoScriptingConfig() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected AutoScriptingConfig(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context, false) { if ((this.IsBinarySerialized(info, context) == true)) { @@ -90,7 +90,7 @@ protected AutoScriptingConfig(global::System.Runtime.Serialization.Serialization } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public AutoScriptingDataTable AutoScripting { @@ -100,7 +100,7 @@ public AutoScriptingDataTable AutoScripting { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public DatabaseScriptConfigDataTable DatabaseScriptConfig { @@ -110,7 +110,7 @@ public DatabaseScriptConfigDataTable DatabaseScriptConfig { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public PostScriptingActionDataTable PostScriptingAction { @@ -120,7 +120,7 @@ public PostScriptingActionDataTable PostScriptingAction { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { @@ -133,7 +133,7 @@ public PostScriptingActionDataTable PostScriptingAction { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataTableCollection Tables { get { @@ -142,7 +142,7 @@ public PostScriptingActionDataTable PostScriptingAction { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataRelationCollection Relations { get { @@ -151,7 +151,7 @@ public PostScriptingActionDataTable PostScriptingAction { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void InitializeDerivedDataSet() { this.BeginInit(); this.InitClass(); @@ -159,7 +159,7 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataSet Clone() { AutoScriptingConfig cln = ((AutoScriptingConfig)(base.Clone())); cln.InitVars(); @@ -168,19 +168,19 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { this.Reset(); @@ -211,7 +211,7 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); @@ -220,13 +220,13 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars(bool initTable) { this.tableAutoScripting = ((AutoScriptingDataTable)(base.Tables["AutoScripting"])); if ((initTable == true)) { @@ -251,7 +251,7 @@ internal void InitVars(bool initTable) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.DataSetName = "AutoScriptingConfig"; this.Prefix = ""; @@ -293,25 +293,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeAutoScripting() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeDatabaseScriptConfig() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializePostScriptingAction() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { this.InitVars(); @@ -319,7 +319,7 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { AutoScriptingConfig ds = new AutoScriptingConfig(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); @@ -365,13 +365,13 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti return type; } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void AutoScriptingRowChangeEventHandler(object sender, AutoScriptingRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void DatabaseScriptConfigRowChangeEventHandler(object sender, DatabaseScriptConfigRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void PostScriptingActionRowChangeEventHandler(object sender, PostScriptingActionRowChangeEvent e); /// @@ -392,7 +392,7 @@ public partial class AutoScriptingDataTable : global::System.Data.TypedTableBase private global::System.Data.DataColumn columnAutoScripting_Id; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingDataTable() { this.TableName = "AutoScripting"; this.BeginInit(); @@ -401,7 +401,7 @@ public AutoScriptingDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal AutoScriptingDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -418,14 +418,14 @@ internal AutoScriptingDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected AutoScriptingDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn AllowManualSelectionColumn { get { return this.columnAllowManualSelection; @@ -433,7 +433,7 @@ protected AutoScriptingDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn IncludeFileHeadersColumn { get { return this.columnIncludeFileHeaders; @@ -441,7 +441,7 @@ protected AutoScriptingDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn DeletePreExistingFilesColumn { get { return this.columnDeletePreExistingFiles; @@ -449,7 +449,7 @@ protected AutoScriptingDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ZipScriptsColumn { get { return this.columnZipScripts; @@ -457,7 +457,7 @@ protected AutoScriptingDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn AutoScripting_IdColumn { get { return this.columnAutoScripting_Id; @@ -465,7 +465,7 @@ protected AutoScriptingDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -474,33 +474,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRow this[int index] { get { return ((AutoScriptingRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AutoScriptingRowChangeEventHandler AutoScriptingRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AutoScriptingRowChangeEventHandler AutoScriptingRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AutoScriptingRowChangeEventHandler AutoScriptingRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AutoScriptingRowChangeEventHandler AutoScriptingRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddAutoScriptingRow(AutoScriptingRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRow AddAutoScriptingRow(bool AllowManualSelection, bool IncludeFileHeaders, bool DeletePreExistingFiles, bool ZipScripts) { AutoScriptingRow rowAutoScriptingRow = ((AutoScriptingRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -515,7 +515,7 @@ public AutoScriptingRow AddAutoScriptingRow(bool AllowManualSelection, bool Incl } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { AutoScriptingDataTable cln = ((AutoScriptingDataTable)(base.Clone())); cln.InitVars(); @@ -523,13 +523,13 @@ public AutoScriptingRow AddAutoScriptingRow(bool AllowManualSelection, bool Incl } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new AutoScriptingDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnAllowManualSelection = base.Columns["AllowManualSelection"]; this.columnIncludeFileHeaders = base.Columns["IncludeFileHeaders"]; @@ -539,7 +539,7 @@ internal void InitVars() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnAllowManualSelection = new global::System.Data.DataColumn("AllowManualSelection", typeof(bool), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnAllowManualSelection); @@ -566,25 +566,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRow NewAutoScriptingRow() { return ((AutoScriptingRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new AutoScriptingRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(AutoScriptingRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.AutoScriptingRowChanged != null)) { @@ -593,7 +593,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.AutoScriptingRowChanging != null)) { @@ -602,7 +602,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.AutoScriptingRowDeleted != null)) { @@ -611,7 +611,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.AutoScriptingRowDeleting != null)) { @@ -620,13 +620,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemoveAutoScriptingRow(AutoScriptingRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -711,7 +711,7 @@ public partial class DatabaseScriptConfigDataTable : global::System.Data.TypedTa private global::System.Data.DataColumn columnAutoScripting_Id; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigDataTable() { this.TableName = "DatabaseScriptConfig"; this.BeginInit(); @@ -720,7 +720,7 @@ public DatabaseScriptConfigDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal DatabaseScriptConfigDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -737,14 +737,14 @@ internal DatabaseScriptConfigDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ServerNameColumn { get { return this.columnServerName; @@ -752,7 +752,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn DatabaseNameColumn { get { return this.columnDatabaseName; @@ -760,7 +760,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn UserNameColumn { get { return this.columnUserName; @@ -768,7 +768,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn PasswordColumn { get { return this.columnPassword; @@ -776,7 +776,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn AuthenticationTypeColumn { get { return this.columnAuthenticationType; @@ -784,7 +784,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ScriptToPathColumn { get { return this.columnScriptToPath; @@ -792,7 +792,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn AutoScripting_IdColumn { get { return this.columnAutoScripting_Id; @@ -800,7 +800,7 @@ protected DatabaseScriptConfigDataTable(global::System.Runtime.Serialization.Ser } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -809,33 +809,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigRow this[int index] { get { return ((DatabaseScriptConfigRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatabaseScriptConfigRowChangeEventHandler DatabaseScriptConfigRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatabaseScriptConfigRowChangeEventHandler DatabaseScriptConfigRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatabaseScriptConfigRowChangeEventHandler DatabaseScriptConfigRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatabaseScriptConfigRowChangeEventHandler DatabaseScriptConfigRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddDatabaseScriptConfigRow(DatabaseScriptConfigRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigRow AddDatabaseScriptConfigRow(string ServerName, string DatabaseName, string UserName, string Password, string AuthenticationType, string ScriptToPath, AutoScriptingRow parentAutoScriptingRowByAutoScripting_DatabaseScriptConfig) { DatabaseScriptConfigRow rowDatabaseScriptConfigRow = ((DatabaseScriptConfigRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -855,7 +855,7 @@ public DatabaseScriptConfigRow AddDatabaseScriptConfigRow(string ServerName, str } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { DatabaseScriptConfigDataTable cln = ((DatabaseScriptConfigDataTable)(base.Clone())); cln.InitVars(); @@ -863,13 +863,13 @@ public DatabaseScriptConfigRow AddDatabaseScriptConfigRow(string ServerName, str } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new DatabaseScriptConfigDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnServerName = base.Columns["ServerName"]; this.columnDatabaseName = base.Columns["DatabaseName"]; @@ -881,7 +881,7 @@ internal void InitVars() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnServerName = new global::System.Data.DataColumn("ServerName", typeof(string), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnServerName); @@ -907,25 +907,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigRow NewDatabaseScriptConfigRow() { return ((DatabaseScriptConfigRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new DatabaseScriptConfigRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(DatabaseScriptConfigRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.DatabaseScriptConfigRowChanged != null)) { @@ -934,7 +934,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.DatabaseScriptConfigRowChanging != null)) { @@ -943,7 +943,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.DatabaseScriptConfigRowDeleted != null)) { @@ -952,7 +952,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.DatabaseScriptConfigRowDeleting != null)) { @@ -961,13 +961,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemoveDatabaseScriptConfigRow(DatabaseScriptConfigRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -1046,7 +1046,7 @@ public partial class PostScriptingActionDataTable : global::System.Data.TypedTab private global::System.Data.DataColumn columnAutoScripting_Id; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionDataTable() { this.TableName = "PostScriptingAction"; this.BeginInit(); @@ -1055,7 +1055,7 @@ public PostScriptingActionDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal PostScriptingActionDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -1072,14 +1072,14 @@ internal PostScriptingActionDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected PostScriptingActionDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn NameColumn { get { return this.columnName; @@ -1087,7 +1087,7 @@ protected PostScriptingActionDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn CommandColumn { get { return this.columnCommand; @@ -1095,7 +1095,7 @@ protected PostScriptingActionDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ArgumentsColumn { get { return this.columnArguments; @@ -1103,7 +1103,7 @@ protected PostScriptingActionDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn AutoScripting_IdColumn { get { return this.columnAutoScripting_Id; @@ -1111,7 +1111,7 @@ protected PostScriptingActionDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -1120,33 +1120,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionRow this[int index] { get { return ((PostScriptingActionRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostScriptingActionRowChangeEventHandler PostScriptingActionRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostScriptingActionRowChangeEventHandler PostScriptingActionRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostScriptingActionRowChangeEventHandler PostScriptingActionRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostScriptingActionRowChangeEventHandler PostScriptingActionRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddPostScriptingActionRow(PostScriptingActionRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionRow AddPostScriptingActionRow(string Name, string Command, string Arguments, AutoScriptingRow parentAutoScriptingRowByAutoScripting_PostScriptingAction) { PostScriptingActionRow rowPostScriptingActionRow = ((PostScriptingActionRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -1163,7 +1163,7 @@ public PostScriptingActionRow AddPostScriptingActionRow(string Name, string Comm } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { PostScriptingActionDataTable cln = ((PostScriptingActionDataTable)(base.Clone())); cln.InitVars(); @@ -1171,13 +1171,13 @@ public PostScriptingActionRow AddPostScriptingActionRow(string Name, string Comm } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new PostScriptingActionDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnName = base.Columns["Name"]; this.columnCommand = base.Columns["Command"]; @@ -1186,7 +1186,7 @@ internal void InitVars() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnName); @@ -1202,25 +1202,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionRow NewPostScriptingActionRow() { return ((PostScriptingActionRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new PostScriptingActionRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(PostScriptingActionRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.PostScriptingActionRowChanged != null)) { @@ -1229,7 +1229,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.PostScriptingActionRowChanging != null)) { @@ -1238,7 +1238,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.PostScriptingActionRowDeleted != null)) { @@ -1247,7 +1247,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.PostScriptingActionRowDeleting != null)) { @@ -1256,13 +1256,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemovePostScriptingActionRow(PostScriptingActionRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -1333,14 +1333,14 @@ public partial class AutoScriptingRow : global::System.Data.DataRow { private AutoScriptingDataTable tableAutoScripting; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal AutoScriptingRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableAutoScripting = ((AutoScriptingDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool AllowManualSelection { get { if (this.IsAllowManualSelectionNull()) { @@ -1356,7 +1356,7 @@ public bool AllowManualSelection { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IncludeFileHeaders { get { if (this.IsIncludeFileHeadersNull()) { @@ -1372,7 +1372,7 @@ public bool IncludeFileHeaders { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool DeletePreExistingFiles { get { if (this.IsDeletePreExistingFilesNull()) { @@ -1388,7 +1388,7 @@ public bool DeletePreExistingFiles { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool ZipScripts { get { if (this.IsZipScriptsNull()) { @@ -1404,7 +1404,7 @@ public bool ZipScripts { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public int AutoScripting_Id { get { return ((int)(this[this.tableAutoScripting.AutoScripting_IdColumn])); @@ -1415,55 +1415,55 @@ public int AutoScripting_Id { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsAllowManualSelectionNull() { return this.IsNull(this.tableAutoScripting.AllowManualSelectionColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetAllowManualSelectionNull() { this[this.tableAutoScripting.AllowManualSelectionColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsIncludeFileHeadersNull() { return this.IsNull(this.tableAutoScripting.IncludeFileHeadersColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetIncludeFileHeadersNull() { this[this.tableAutoScripting.IncludeFileHeadersColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsDeletePreExistingFilesNull() { return this.IsNull(this.tableAutoScripting.DeletePreExistingFilesColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetDeletePreExistingFilesNull() { this[this.tableAutoScripting.DeletePreExistingFilesColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsZipScriptsNull() { return this.IsNull(this.tableAutoScripting.ZipScriptsColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetZipScriptsNull() { this[this.tableAutoScripting.ZipScriptsColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigRow[] GetDatabaseScriptConfigRows() { if ((this.Table.ChildRelations["AutoScripting_DatabaseScriptConfig"] == null)) { return new DatabaseScriptConfigRow[0]; @@ -1474,7 +1474,7 @@ public DatabaseScriptConfigRow[] GetDatabaseScriptConfigRows() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionRow[] GetPostScriptingActionRows() { if ((this.Table.ChildRelations["AutoScripting_PostScriptingAction"] == null)) { return new PostScriptingActionRow[0]; @@ -1493,14 +1493,14 @@ public partial class DatabaseScriptConfigRow : global::System.Data.DataRow { private DatabaseScriptConfigDataTable tableDatabaseScriptConfig; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal DatabaseScriptConfigRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDatabaseScriptConfig = ((DatabaseScriptConfigDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string ServerName { get { if (this.IsServerNameNull()) { @@ -1516,7 +1516,7 @@ public string ServerName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string DatabaseName { get { if (this.IsDatabaseNameNull()) { @@ -1532,7 +1532,7 @@ public string DatabaseName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string UserName { get { if (this.IsUserNameNull()) { @@ -1548,7 +1548,7 @@ public string UserName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Password { get { if (this.IsPasswordNull()) { @@ -1564,7 +1564,7 @@ public string Password { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string AuthenticationType { get { try { @@ -1581,7 +1581,7 @@ public string AuthenticationType { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string ScriptToPath { get { return ((string)(this[this.tableDatabaseScriptConfig.ScriptToPathColumn])); @@ -1592,7 +1592,7 @@ public string ScriptToPath { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public int AutoScripting_Id { get { try { @@ -1609,7 +1609,7 @@ public int AutoScripting_Id { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRow AutoScriptingRow { get { return ((AutoScriptingRow)(this.GetParentRow(this.Table.ParentRelations["AutoScripting_DatabaseScriptConfig"]))); @@ -1620,73 +1620,73 @@ public AutoScriptingRow AutoScriptingRow { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsServerNameNull() { return this.IsNull(this.tableDatabaseScriptConfig.ServerNameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetServerNameNull() { this[this.tableDatabaseScriptConfig.ServerNameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsDatabaseNameNull() { return this.IsNull(this.tableDatabaseScriptConfig.DatabaseNameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetDatabaseNameNull() { this[this.tableDatabaseScriptConfig.DatabaseNameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsUserNameNull() { return this.IsNull(this.tableDatabaseScriptConfig.UserNameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetUserNameNull() { this[this.tableDatabaseScriptConfig.UserNameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsPasswordNull() { return this.IsNull(this.tableDatabaseScriptConfig.PasswordColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetPasswordNull() { this[this.tableDatabaseScriptConfig.PasswordColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsAuthenticationTypeNull() { return this.IsNull(this.tableDatabaseScriptConfig.AuthenticationTypeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetAuthenticationTypeNull() { this[this.tableDatabaseScriptConfig.AuthenticationTypeColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsAutoScripting_IdNull() { return this.IsNull(this.tableDatabaseScriptConfig.AutoScripting_IdColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetAutoScripting_IdNull() { this[this.tableDatabaseScriptConfig.AutoScripting_IdColumn] = global::System.Convert.DBNull; } @@ -1700,14 +1700,14 @@ public partial class PostScriptingActionRow : global::System.Data.DataRow { private PostScriptingActionDataTable tablePostScriptingAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal PostScriptingActionRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePostScriptingAction = ((PostScriptingActionDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Name { get { if (this.IsNameNull()) { @@ -1723,7 +1723,7 @@ public string Name { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Command { get { if (this.IsCommandNull()) { @@ -1739,7 +1739,7 @@ public string Command { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Arguments { get { if (this.IsArgumentsNull()) { @@ -1755,7 +1755,7 @@ public string Arguments { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public int AutoScripting_Id { get { try { @@ -1772,7 +1772,7 @@ public int AutoScripting_Id { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRow AutoScriptingRow { get { return ((AutoScriptingRow)(this.GetParentRow(this.Table.ParentRelations["AutoScripting_PostScriptingAction"]))); @@ -1783,49 +1783,49 @@ public AutoScriptingRow AutoScriptingRow { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsNameNull() { return this.IsNull(this.tablePostScriptingAction.NameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetNameNull() { this[this.tablePostScriptingAction.NameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsCommandNull() { return this.IsNull(this.tablePostScriptingAction.CommandColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetCommandNull() { this[this.tablePostScriptingAction.CommandColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsArgumentsNull() { return this.IsNull(this.tablePostScriptingAction.ArgumentsColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetArgumentsNull() { this[this.tablePostScriptingAction.ArgumentsColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsAutoScripting_IdNull() { return this.IsNull(this.tablePostScriptingAction.AutoScripting_IdColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetAutoScripting_IdNull() { this[this.tablePostScriptingAction.AutoScripting_IdColumn] = global::System.Convert.DBNull; } @@ -1834,7 +1834,7 @@ public void SetAutoScripting_IdNull() { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class AutoScriptingRowChangeEvent : global::System.EventArgs { private AutoScriptingRow eventRow; @@ -1842,14 +1842,14 @@ public class AutoScriptingRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRowChangeEvent(AutoScriptingRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public AutoScriptingRow Row { get { return this.eventRow; @@ -1857,7 +1857,7 @@ public AutoScriptingRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -1868,7 +1868,7 @@ public AutoScriptingRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class DatabaseScriptConfigRowChangeEvent : global::System.EventArgs { private DatabaseScriptConfigRow eventRow; @@ -1876,14 +1876,14 @@ public class DatabaseScriptConfigRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigRowChangeEvent(DatabaseScriptConfigRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseScriptConfigRow Row { get { return this.eventRow; @@ -1891,7 +1891,7 @@ public DatabaseScriptConfigRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -1902,7 +1902,7 @@ public DatabaseScriptConfigRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class PostScriptingActionRowChangeEvent : global::System.EventArgs { private PostScriptingActionRow eventRow; @@ -1910,14 +1910,14 @@ public class PostScriptingActionRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionRowChangeEvent(PostScriptingActionRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PostScriptingActionRow Row { get { return this.eventRow; @@ -1925,7 +1925,7 @@ public PostScriptingActionRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; diff --git a/src/SqlSync.ObjectScript/ObjectSyncData.cs b/src/SqlSync.ObjectScript/ObjectSyncData.cs index ee3be83d..896037dd 100644 --- a/src/SqlSync.ObjectScript/ObjectSyncData.cs +++ b/src/SqlSync.ObjectScript/ObjectSyncData.cs @@ -1,406 +1,31 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.ObjectScript { - using System; - - + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class ObjectSyncData { - - private string _ObjectName = string.Empty; - - private string _ObjectType = string.Empty; - - private string _FullPath = string.Empty; - - private bool _IsInDatabase = false; - - private bool _IsInFileSystem = false; - - private string _FileName = string.Empty; - - private string _SchemaOwner = string.Empty; - - private System.Collections.Hashtable _validationDict; - - public ObjectSyncData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("ObjectName", false); - this._validationDict.Add("ObjectType", false); - this._validationDict.Add("FullPath", false); - this._validationDict.Add("IsInDatabase", false); - this._validationDict.Add("IsInFileSystem", false); - this._validationDict.Add("FileName", false); - this._validationDict.Add("SchemaOwner", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string ObjectName { - get { - return this._ObjectName; - } - set { - this._ObjectName = value; - this._validationDict["ObjectName"] = true; - } - } - - public virtual string ObjectType { - get { - return this._ObjectType; - } - set { - this._ObjectType = value; - this._validationDict["ObjectType"] = true; - } - } - - public virtual string FullPath { - get { - return this._FullPath; - } - set { - this._FullPath = value; - this._validationDict["FullPath"] = true; - } - } - - public virtual bool IsInDatabase { - get { - return this._IsInDatabase; - } - set { - this._IsInDatabase = value; - this._validationDict["IsInDatabase"] = true; - } - } - - public virtual bool IsInFileSystem { - get { - return this._IsInFileSystem; - } - set { - this._IsInFileSystem = value; - this._validationDict["IsInFileSystem"] = true; - } - } - - public virtual string FileName { - get { - return this._FileName; - } - set { - this._FileName = value; - this._validationDict["FileName"] = true; - } - } - - public virtual string SchemaOwner { - get { - return this._SchemaOwner; - } - set { - this._SchemaOwner = value; - this._validationDict["SchemaOwner"] = true; - } - } - - public virtual string StrObjectName { - get { - return this._ObjectName.ToString(); - } - } - - public virtual string StrObjectType { - get { - return this._ObjectType.ToString(); - } + public ObjectSyncData() + { + } + + public string ObjectName { get; set; } = string.Empty; - public virtual string StrFullPath { - get { - return this._FullPath.ToString(); - } - } - - public virtual string StrIsInDatabase { - get { - return this._IsInDatabase.ToString(); - } - } + public string ObjectType { get; set; } = string.Empty; - public virtual string StrIsInFileSystem { - get { - return this._IsInFileSystem.ToString(); - } - } + public string FullPath { get; set; } = string.Empty; - public virtual string StrFileName { - get { - return this._FileName.ToString(); - } - } + public bool IsInDatabase { get; set; } = false; - public virtual string StrSchemaOwner { - get { - return this._SchemaOwner.ToString(); - } - } + public bool IsInFileSystem { get; set; } = false; - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrObjectName); - sb.Append(delimiter); - sb.Append(this.StrObjectType); - sb.Append(delimiter); - sb.Append(this.StrFullPath); - sb.Append(delimiter); - sb.Append(this.StrIsInDatabase); - sb.Append(delimiter); - sb.Append(this.StrIsInFileSystem); - sb.Append(delimiter); - sb.Append(this.StrFileName); - sb.Append(delimiter); - sb.Append(this.StrSchemaOwner); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.GetCustomDelimitedString(string) Method", ex); - } - } + public string FileName { get; set; } = string.Empty; - public virtual bool Fill(ObjectSyncData dataClass) { - try { - this.ObjectName = dataClass.ObjectName; - this.ObjectType = dataClass.ObjectType; - this.FullPath = dataClass.FullPath; - this.IsInDatabase = dataClass.IsInDatabase; - this.IsInFileSystem = dataClass.IsInFileSystem; - this.FileName = dataClass.FileName; - this.SchemaOwner = dataClass.SchemaOwner; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(ObjectSyncData) Method", ex); - } - } + public string SchemaOwner { get; set; } = string.Empty; - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("ObjectName") != null)) { - this.ObjectName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ObjectName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ObjectType") != null)) { - this.ObjectType = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ObjectType")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("FullPath") != null)) { - this.FullPath = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("FullPath")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("IsInDatabase") != null)) { - this.IsInDatabase = ((bool)(System.Convert.ChangeType(nameValueColl.GetValues("IsInDatabase")[0], typeof(bool)))); - } - if ((nameValueColl.GetValues("IsInFileSystem") != null)) { - this.IsInFileSystem = ((bool)(System.Convert.ChangeType(nameValueColl.GetValues("IsInFileSystem")[0], typeof(bool)))); - } - if ((nameValueColl.GetValues("FileName") != null)) { - this.FileName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("FileName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("SchemaOwner") != null)) { - this.SchemaOwner = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("SchemaOwner")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.ObjectName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ObjectType = ((string)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string)))); - this.FullPath = ((string)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(string)))); - this.IsInDatabase = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(bool)))); - this.IsInFileSystem = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(bool)))); - this.FileName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(5), typeof(string)))); - this.SchemaOwner = ((string)(System.Convert.ChangeType(sourceArray.GetValue(6), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.ObjectName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ObjectType = ((string)(System.Convert.ChangeType(arrSplitString[1], typeof(string)))); - this.FullPath = ((string)(System.Convert.ChangeType(arrSplitString[2], typeof(string)))); - this.IsInDatabase = ((bool)(System.Convert.ChangeType(arrSplitString[3], typeof(bool)))); - this.IsInFileSystem = ((bool)(System.Convert.ChangeType(arrSplitString[4], typeof(bool)))); - this.FileName = ((string)(System.Convert.ChangeType(arrSplitString[5], typeof(string)))); - this.SchemaOwner = ((string)(System.Convert.ChangeType(arrSplitString[6], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.ObjectName.ToString()); - sb.Append(delimiter); - sb.Append(this.ObjectType.ToString()); - sb.Append(delimiter); - sb.Append(this.FullPath.ToString()); - sb.Append(delimiter); - sb.Append(this.IsInDatabase.ToString()); - sb.Append(delimiter); - sb.Append(this.IsInFileSystem.ToString()); - sb.Append(delimiter); - sb.Append(this.FileName.ToString()); - sb.Append(delimiter); - sb.Append(this.SchemaOwner.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[7]; - try { - myArray[0] = this._ObjectName.ToString(); - myArray[1] = this._ObjectType.ToString(); - myArray[2] = this._FullPath.ToString(); - myArray[3] = this._IsInDatabase.ToString(); - myArray[4] = this._IsInFileSystem.ToString(); - myArray[5] = this._FileName.ToString(); - myArray[6] = this._SchemaOwner.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("ObjectName", this.ObjectName.ToString()); - nameValueColl.Add("ObjectType", this.ObjectType.ToString()); - nameValueColl.Add("FullPath", this.FullPath.ToString()); - nameValueColl.Add("IsInDatabase", this.IsInDatabase.ToString()); - nameValueColl.Add("IsInFileSystem", this.IsInFileSystem.ToString()); - nameValueColl.Add("FileName", this.FileName.ToString()); - nameValueColl.Add("SchemaOwner", this.SchemaOwner.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ObjectSyncData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["ObjectName"], typeof(bool)))) == false)) { - missingValues.Add("ObjectName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ObjectType"], typeof(bool)))) == false)) { - missingValues.Add("ObjectType"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["FullPath"], typeof(bool)))) == false)) { - missingValues.Add("FullPath"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["IsInDatabase"], typeof(bool)))) == false)) { - missingValues.Add("IsInDatabase"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["IsInFileSystem"], typeof(bool)))) == false)) { - missingValues.Add("IsInFileSystem"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["FileName"], typeof(bool)))) == false)) { - missingValues.Add("FileName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["SchemaOwner"], typeof(bool)))) == false)) { - missingValues.Add("SchemaOwner"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + } } diff --git a/src/SqlSync.ObjectScript/ObjectSyncData.xml b/src/SqlSync.ObjectScript/ObjectSyncData.xml deleted file mode 100644 index 7170edd1..00000000 --- a/src/SqlSync.ObjectScript/ObjectSyncData.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - SqlSync.ObjectScript - ObjectSyncData - - - ObjectName - string.Empty - string - - - ObjectType - string.Empty - string - - - FullPath - string.Empty - string - - - IsInDatabase - false - Boolean - - - IsInFileSystem - false - Boolean - - - FileName - string.Empty - string - - - SchemaOwner - string.Empty - string - - - diff --git a/src/SqlSync.ObjectScript/SqlSync.ObjectScript.csproj b/src/SqlSync.ObjectScript/SqlSync.ObjectScript.csproj index 4fbd48b8..e0c36b3d 100644 --- a/src/SqlSync.ObjectScript/SqlSync.ObjectScript.csproj +++ b/src/SqlSync.ObjectScript/SqlSync.ObjectScript.csproj @@ -20,6 +20,19 @@ + + + True + True + AutoScriptingConfig.xsd + + + + + MSDataSetGenerator + AutoScriptingConfig.Designer.cs + + false false diff --git a/src/SqlSync.SprocTest/Configuration/SqlSyncSprocTest.cs b/src/SqlSync.SprocTest/Configuration/SqlSyncSprocTest.cs index 074b9ab1..ab986a41 100644 --- a/src/SqlSync.SprocTest/Configuration/SqlSyncSprocTest.cs +++ b/src/SqlSync.SprocTest/Configuration/SqlSyncSprocTest.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.1433 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -9,14 +9,14 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by xsd, Version=2.0.50727.42. +// This source code was auto-generated by xsd, Version=4.8.3928.0. // namespace SqlSync.SprocTest.Configuration { using System.Xml.Serialization; /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -57,7 +57,7 @@ public string Name { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -127,7 +127,7 @@ public string ID { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -300,7 +300,7 @@ public bool ModifiedDateSpecified { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -357,7 +357,7 @@ public bool UseAsQuery { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -425,7 +425,7 @@ public bool RowNumberSpecified { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -543,7 +543,7 @@ public bool ColumnCountSpecified { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SprocTest.xsd")] public enum RowCountOperator { @@ -559,7 +559,7 @@ public enum RowCountOperator { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SprocTest.xsd")] public enum ResultType { @@ -581,7 +581,7 @@ public enum ResultType { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SprocTest.xsd")] public enum ExecuteType { diff --git a/src/SqlSync.SqlBuild/BuildConnectData.cs b/src/SqlSync.SqlBuild/BuildConnectData.cs index 645dcbb3..5f07987b 100644 --- a/src/SqlSync.SqlBuild/BuildConnectData.cs +++ b/src/SqlSync.SqlBuild/BuildConnectData.cs @@ -1,340 +1,26 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.1.16443 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.SqlBuild { - using System; - using System.Data; - using System.Xml; + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] - public class BuildConnectData { - - private Microsoft.Data.SqlClient.SqlConnection _Connection = null; - - private Microsoft.Data.SqlClient.SqlTransaction _Transaction = null; - - private string _DatabaseName = String.Empty; - - private string _ServerName = String.Empty; - - private bool _HasLoggingTable = false; - - private System.Collections.Hashtable _validationDict; - - public BuildConnectData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("Connection", false); - this._validationDict.Add("Transaction", false); - this._validationDict.Add("DatabaseName", false); - this._validationDict.Add("ServerName", false); - this._validationDict.Add("HasLoggingTable", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual Microsoft.Data.SqlClient.SqlConnection Connection { - get { - return this._Connection; - } - set { - this._Connection = value; - this._validationDict["Connection"] = true; - } - } - - public virtual Microsoft.Data.SqlClient.SqlTransaction Transaction { - get { - return this._Transaction; - } - set { - this._Transaction = value; - this._validationDict["Transaction"] = true; - } - } - - public virtual string DatabaseName { - get { - return this._DatabaseName; - } - set { - this._DatabaseName = value; - this._validationDict["DatabaseName"] = true; - } - } - - public virtual string ServerName { - get { - return this._ServerName; - } - set { - this._ServerName = value; - this._validationDict["ServerName"] = true; - } - } - - public virtual bool HasLoggingTable { - get { - return this._HasLoggingTable; - } - set { - this._HasLoggingTable = value; - this._validationDict["HasLoggingTable"] = true; - } - } - - public virtual string StrConnection { - get { - return this._Connection.ToString(); - } - } - - public virtual string StrTransaction { - get { - return this._Transaction.ToString(); - } - } - - public virtual string StrDatabaseName { - get { - return this._DatabaseName.ToString(); - } - } - - public virtual string StrServerName { - get { - return this._ServerName.ToString(); - } - } - - public virtual string StrHasLoggingTable { - get { - return this._HasLoggingTable.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrConnection); - sb.Append(delimiter); - sb.Append(this.StrTransaction); - sb.Append(delimiter); - sb.Append(this.StrDatabaseName); - sb.Append(delimiter); - sb.Append(this.StrServerName); - sb.Append(delimiter); - sb.Append(this.StrHasLoggingTable); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(BuildConnectData dataClass) { - try { - this.Connection = dataClass.Connection; - this.Transaction = dataClass.Transaction; - this.DatabaseName = dataClass.DatabaseName; - this.ServerName = dataClass.ServerName; - this.HasLoggingTable = dataClass.HasLoggingTable; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(BuildConnectData) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("Connection") != null)) { - this.Connection = ((Microsoft.Data.SqlClient.SqlConnection)(System.Convert.ChangeType(nameValueColl.GetValues("Connection")[0], typeof(Microsoft.Data.SqlClient.SqlConnection)))); - } - if ((nameValueColl.GetValues("Transaction") != null)) { - this.Transaction = ((Microsoft.Data.SqlClient.SqlTransaction)(System.Convert.ChangeType(nameValueColl.GetValues("Transaction")[0], typeof(Microsoft.Data.SqlClient.SqlTransaction)))); - } - if ((nameValueColl.GetValues("DatabaseName") != null)) { - this.DatabaseName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("DatabaseName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ServerName") != null)) { - this.ServerName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ServerName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("HasLoggingTable") != null)) { - this.HasLoggingTable = ((bool)(System.Convert.ChangeType(nameValueColl.GetValues("HasLoggingTable")[0], typeof(bool)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.Connection = ((Microsoft.Data.SqlClient.SqlConnection)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(Microsoft.Data.SqlClient.SqlConnection)))); - this.Transaction = ((Microsoft.Data.SqlClient.SqlTransaction)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(Microsoft.Data.SqlClient.SqlTransaction)))); - this.DatabaseName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(string)))); - this.ServerName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - this.HasLoggingTable = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(bool)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.Connection = ((Microsoft.Data.SqlClient.SqlConnection)(System.Convert.ChangeType(arrSplitString[0], typeof(Microsoft.Data.SqlClient.SqlConnection)))); - this.Transaction = ((Microsoft.Data.SqlClient.SqlTransaction)(System.Convert.ChangeType(arrSplitString[1], typeof(Microsoft.Data.SqlClient.SqlTransaction)))); - this.DatabaseName = ((string)(System.Convert.ChangeType(arrSplitString[2], typeof(string)))); - this.ServerName = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - this.HasLoggingTable = ((bool)(System.Convert.ChangeType(arrSplitString[4], typeof(bool)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.Connection.ToString()); - sb.Append(delimiter); - sb.Append(this.Transaction.ToString()); - sb.Append(delimiter); - sb.Append(this.DatabaseName.ToString()); - sb.Append(delimiter); - sb.Append(this.ServerName.ToString()); - sb.Append(delimiter); - sb.Append(this.HasLoggingTable.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[5]; - try { - myArray[0] = this._Connection.ToString(); - myArray[1] = this._Transaction.ToString(); - myArray[2] = this._DatabaseName.ToString(); - myArray[3] = this._ServerName.ToString(); - myArray[4] = this._HasLoggingTable.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("Connection", this.Connection.ToString()); - nameValueColl.Add("Transaction", this.Transaction.ToString()); - nameValueColl.Add("DatabaseName", this.DatabaseName.ToString()); - nameValueColl.Add("ServerName", this.ServerName.ToString()); - nameValueColl.Add("HasLoggingTable", this.HasLoggingTable.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: BuildConnectData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["Connection"], typeof(bool)))) == false)) { - missingValues.Add("Connection"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["Transaction"], typeof(bool)))) == false)) { - missingValues.Add("Transaction"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["DatabaseName"], typeof(bool)))) == false)) { - missingValues.Add("DatabaseName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ServerName"], typeof(bool)))) == false)) { - missingValues.Add("ServerName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasLoggingTable"], typeof(bool)))) == false)) { - missingValues.Add("HasLoggingTable"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + public class BuildConnectData + { + public BuildConnectData() { } + + public Microsoft.Data.SqlClient.SqlConnection Connection { get; set; } = null; + + public Microsoft.Data.SqlClient.SqlTransaction Transaction { get; set; } = null; + + public string DatabaseName { get; set; } = string.Empty; + + public string ServerName { get; set; } = string.Empty; + + public bool HasLoggingTable { get; set; } = false; + } } diff --git a/src/SqlSync.SqlBuild/BuildConnectData.xml b/src/SqlSync.SqlBuild/BuildConnectData.xml deleted file mode 100644 index 5b2cd8fa..00000000 --- a/src/SqlSync.SqlBuild/BuildConnectData.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - SqlSync.SqlBuild - BuildConnectData - - System.Data - System.Xml - - - - Connection - null - Microsoft.Data.SqlClient.SqlConnection - - - Transaction - null - Microsoft.Data.SqlClient.SqlTransaction - - - DatabaseName - String.Empty - String - - - ServerName - String.Empty - String - - - HasLoggingTable - false - Boolean - - - diff --git a/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.cs b/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.cs index 02332ed0..c33deaa6 100644 --- a/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.cs +++ b/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.cs @@ -1,46 +1,12 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version: 1.1.4322.2032 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -// -// This source code was auto-generated by xsd, Version=1.1.4322.2032. -// -namespace SqlSync.SqlBuild.CodeTable { - using System.Xml.Serialization; - - - /// - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mckechney.com/ScriptUpdates.xsd")] - [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.mckechney.com/ScriptUpdates.xsd", IsNullable=false)] - public class ScriptUpdates { - - /// - public string Query; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string ShortFileName; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string SourceTable; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string SourceDatabase; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string SourceServer; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string KeyCheckColumns; +namespace SqlSync.SqlBuild.CodeTable +{ + public class ScriptUpdates + { + public string Query { get; set; } + public string ShortFileName { get; set; } + public string SourceTable { get; set; } + public string SourceDatabase { get; set; } + public string SourceServer { get; set; } + public string KeyCheckColumns { get; set; } } } diff --git a/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.xsd b/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.xsd deleted file mode 100644 index 85ccb4fc..00000000 --- a/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.xsd +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.xsx b/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.xsx deleted file mode 100644 index c7ed633b..00000000 --- a/src/SqlSync.SqlBuild/CodeTable/ScriptUpdates.xsx +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/SqlSync.SqlBuild/CommittedBuildData.cs b/src/SqlSync.SqlBuild/CommittedBuildData.cs index d92341b3..64d9067e 100644 --- a/src/SqlSync.SqlBuild/CommittedBuildData.cs +++ b/src/SqlSync.SqlBuild/CommittedBuildData.cs @@ -1,146 +1,32 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.0.2645 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.SqlBuild { - using System; - using System.Data; - using System.Xml; - - + + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class CommittedBuildData { - - private string _BuildFileName = String.Empty; - - private int _ScriptCount; - - private System.DateTime _CommitDate; - - private string _Database; - - private System.Collections.Hashtable _validationDict; - - public CommittedBuildData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("BuildFileName", false); - this._validationDict.Add("ScriptCount", false); - this._validationDict.Add("CommitDate", false); - this._validationDict.Add("Database", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string BuildFileName { - get { - return this._BuildFileName; - } - set { - this._BuildFileName = value; - this._validationDict["BuildFileName"] = true; - } - } - - public virtual int ScriptCount { - get { - return this._ScriptCount; - } - set { - this._ScriptCount = value; - this._validationDict["ScriptCount"] = true; - } - } - - public virtual System.DateTime CommitDate { - get { - return this._CommitDate; - } - set { - this._CommitDate = value; - this._validationDict["CommitDate"] = true; - } - } - - public virtual string Database { - get { - return this._Database; - } - set { - this._Database = value; - this._validationDict["Database"] = true; - } - } - - public virtual string StrBuildFileName { - get { - return this._BuildFileName.ToString(); - } - } - - public virtual string StrScriptCount { - get { - return this._ScriptCount.ToString(); - } - } - - public virtual string StrCommitDate { - get { - return this._CommitDate.ToString(); - } - } - - public virtual string StrDatabase { - get { - return this._Database.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrBuildFileName); - sb.Append(delimiter); - sb.Append(this.StrScriptCount); - sb.Append(delimiter); - sb.Append(this.StrCommitDate); - sb.Append(delimiter); - sb.Append(this.StrDatabase); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(CommittedBuildData dataClass) { - try { - this.BuildFileName = dataClass.BuildFileName; - this.ScriptCount = dataClass.ScriptCount; - this.CommitDate = dataClass.CommitDate; - this.Database = dataClass.Database; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.Fill(CommittedBuildData) Method", ex); - } - } + public CommittedBuildData() + { + } + public string BuildFileName { get; set; } = String.Empty; + + public int ScriptCount { get; set; } + + public System.DateTime CommitDate { get; set; } + + public string Database { get; set; } + + + + + + + + + public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { try { @@ -174,136 +60,6 @@ public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool clo } } - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("BuildFileName") != null)) { - this.BuildFileName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("BuildFileName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ScriptCount") != null)) { - this.ScriptCount = ((int)(System.Convert.ChangeType(nameValueColl.GetValues("ScriptCount")[0], typeof(int)))); - } - if ((nameValueColl.GetValues("CommitDate") != null)) { - this.CommitDate = ((System.DateTime)(System.Convert.ChangeType(nameValueColl.GetValues("CommitDate")[0], typeof(System.DateTime)))); - } - if ((nameValueColl.GetValues("Database") != null)) { - this.Database = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("Database")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.BuildFileName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ScriptCount = ((int)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(int)))); - this.CommitDate = ((System.DateTime)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(System.DateTime)))); - this.Database = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.BuildFileName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ScriptCount = ((int)(System.Convert.ChangeType(arrSplitString[1], typeof(int)))); - this.CommitDate = ((System.DateTime)(System.Convert.ChangeType(arrSplitString[2], typeof(System.DateTime)))); - this.Database = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.BuildFileName.ToString()); - sb.Append(delimiter); - sb.Append(this.ScriptCount.ToString()); - sb.Append(delimiter); - sb.Append(this.CommitDate.ToString()); - sb.Append(delimiter); - sb.Append(this.Database.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[4]; - try { - myArray[0] = this._BuildFileName.ToString(); - myArray[1] = this._ScriptCount.ToString(); - myArray[2] = this._CommitDate.ToString(); - myArray[3] = this._Database.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("BuildFileName", this.BuildFileName.ToString()); - nameValueColl.Add("ScriptCount", this.ScriptCount.ToString()); - nameValueColl.Add("CommitDate", this.CommitDate.ToString()); - nameValueColl.Add("Database", this.Database.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: CommittedBuildData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["BuildFileName"], typeof(bool)))) == false)) { - missingValues.Add("BuildFileName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptCount"], typeof(bool)))) == false)) { - missingValues.Add("ScriptCount"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["CommitDate"], typeof(bool)))) == false)) { - missingValues.Add("CommitDate"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["Database"], typeof(bool)))) == false)) { - missingValues.Add("Database"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + } } diff --git a/src/SqlSync.SqlBuild/CommittedBuildData.xml b/src/SqlSync.SqlBuild/CommittedBuildData.xml deleted file mode 100644 index f7f966db..00000000 --- a/src/SqlSync.SqlBuild/CommittedBuildData.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - SqlSync.SqlBuild - CommittedBuildData - - System.Data - System.Xml - - - - BuildFileName - String.Empty - String - BuildFileName - - - BuildFileHash - String.Empty - String - BuildProjectHash - - - ScriptCount - - Int32 - ScriptCount - - - CommitDate - - DateTime - commitDate - - - Database - - string - database - - - - diff --git a/src/SqlSync.SqlBuild/Objects/ObjectUpdates.cs b/src/SqlSync.SqlBuild/Objects/ObjectUpdates.cs index 092960b9..f73a16f5 100644 --- a/src/SqlSync.SqlBuild/Objects/ObjectUpdates.cs +++ b/src/SqlSync.SqlBuild/Objects/ObjectUpdates.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.5448 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -9,14 +9,14 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by xsd, Version=2.0.50727.3038. +// This source code was auto-generated by xsd, Version=4.8.3928.0. // namespace SqlSync.SqlBuild.Objects { using System.Xml.Serialization; /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] diff --git a/src/SqlSync.SqlBuild/RebuilderData.cs b/src/SqlSync.SqlBuild/RebuilderData.cs index 4aa5a020..6d8a8a22 100644 --- a/src/SqlSync.SqlBuild/RebuilderData.cs +++ b/src/SqlSync.SqlBuild/RebuilderData.cs @@ -1,190 +1,29 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.0.2645 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.SqlBuild { - using System; - using System.Data; - using System.Xml; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class RebuilderData { - - private string _ScriptFileName = String.Empty; - - private System.Guid _ScriptId; - - private int _Sequence = -1; - - private string _ScriptText = String.Empty; - - private string _Database = String.Empty; - - private string _Tag = String.Empty; - - private System.Collections.Hashtable _validationDict; - - public RebuilderData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("ScriptFileName", false); - this._validationDict.Add("ScriptId", false); - this._validationDict.Add("Sequence", false); - this._validationDict.Add("ScriptText", false); - this._validationDict.Add("Database", false); - this._validationDict.Add("Tag", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string ScriptFileName { - get { - return this._ScriptFileName; - } - set { - this._ScriptFileName = value; - this._validationDict["ScriptFileName"] = true; - } - } - - public virtual System.Guid ScriptId { - get { - return this._ScriptId; - } - set { - this._ScriptId = value; - this._validationDict["ScriptId"] = true; - } - } - - public virtual int Sequence { - get { - return this._Sequence; - } - set { - this._Sequence = value; - this._validationDict["Sequence"] = true; - } - } - - public virtual string ScriptText { - get { - return this._ScriptText; - } - set { - this._ScriptText = value; - this._validationDict["ScriptText"] = true; - } - } - - public virtual string Database { - get { - return this._Database; - } - set { - this._Database = value; - this._validationDict["Database"] = true; - } - } - - public virtual string Tag { - get { - return this._Tag; - } - set { - this._Tag = value; - this._validationDict["Tag"] = true; - } - } - - public virtual string StrScriptFileName { - get { - return this._ScriptFileName.ToString(); - } - } - - public virtual string StrScriptId { - get { - return this._ScriptId.ToString(); - } - } - - public virtual string StrSequence { - get { - return this._Sequence.ToString(); - } - } - - public virtual string StrScriptText { - get { - return this._ScriptText.ToString(); - } - } - - public virtual string StrDatabase { - get { - return this._Database.ToString(); - } - } - - public virtual string StrTag { - get { - return this._Tag.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrScriptFileName); - sb.Append(delimiter); - sb.Append(this.StrScriptId); - sb.Append(delimiter); - sb.Append(this.StrSequence); - sb.Append(delimiter); - sb.Append(this.StrScriptText); - sb.Append(delimiter); - sb.Append(this.StrDatabase); - sb.Append(delimiter); - sb.Append(this.StrTag); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(RebuilderData dataClass) { - try { - this.ScriptFileName = dataClass.ScriptFileName; - this.ScriptId = dataClass.ScriptId; - this.Sequence = dataClass.Sequence; - this.ScriptText = dataClass.ScriptText; - this.Database = dataClass.Database; - this.Tag = dataClass.Tag; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.Fill(RebuilderData) Method", ex); - } - } + + public RebuilderData() + { + + } + + public string ScriptFileName { get; set; } = String.Empty; + + public System.Guid ScriptId; + + public int Sequence { get; set; } = -1; + + public string ScriptText { get; set; } = String.Empty; + + public string Database { get; set; } = String.Empty; + + public string Tag { get; set; } = String.Empty; public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { try { @@ -223,161 +62,5 @@ public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool clo } } } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("ScriptFileName") != null)) { - this.ScriptFileName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ScriptFileName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ScriptId") != null)) { - this.ScriptId = new System.Guid(nameValueColl.GetValues("ScriptId")[0].ToString()); - } - if ((nameValueColl.GetValues("Sequence") != null)) { - this.Sequence = ((int)(System.Convert.ChangeType(nameValueColl.GetValues("Sequence")[0], typeof(int)))); - } - if ((nameValueColl.GetValues("ScriptText") != null)) { - this.ScriptText = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ScriptText")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("Database") != null)) { - this.Database = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("Database")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("Tag") != null)) { - this.Tag = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("Tag")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.ScriptFileName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ScriptId = new System.Guid(sourceArray.GetValue(1).ToString()); - this.Sequence = ((int)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(int)))); - this.ScriptText = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - this.Database = ((string)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(string)))); - this.Tag = ((string)(System.Convert.ChangeType(sourceArray.GetValue(5), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.ScriptFileName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ScriptId = new System.Guid(arrSplitString[1].ToString()); - this.Sequence = ((int)(System.Convert.ChangeType(arrSplitString[2], typeof(int)))); - this.ScriptText = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - this.Database = ((string)(System.Convert.ChangeType(arrSplitString[4], typeof(string)))); - this.Tag = ((string)(System.Convert.ChangeType(arrSplitString[5], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.ScriptFileName.ToString()); - sb.Append(delimiter); - sb.Append(this.ScriptId.ToString()); - sb.Append(delimiter); - sb.Append(this.Sequence.ToString()); - sb.Append(delimiter); - sb.Append(this.ScriptText.ToString()); - sb.Append(delimiter); - sb.Append(this.Database.ToString()); - sb.Append(delimiter); - sb.Append(this.Tag.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[6]; - try { - myArray[0] = this._ScriptFileName.ToString(); - myArray[1] = this._ScriptId.ToString(); - myArray[2] = this._Sequence.ToString(); - myArray[3] = this._ScriptText.ToString(); - myArray[4] = this._Database.ToString(); - myArray[5] = this._Tag.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("ScriptFileName", this.ScriptFileName.ToString()); - nameValueColl.Add("ScriptId", this.ScriptId.ToString()); - nameValueColl.Add("Sequence", this.Sequence.ToString()); - nameValueColl.Add("ScriptText", this.ScriptText.ToString()); - nameValueColl.Add("Database", this.Database.ToString()); - nameValueColl.Add("Tag", this.Tag.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: RebuilderData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptFileName"], typeof(bool)))) == false)) { - missingValues.Add("ScriptFileName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptId"], typeof(bool)))) == false)) { - missingValues.Add("ScriptId"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["Sequence"], typeof(bool)))) == false)) { - missingValues.Add("Sequence"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptText"], typeof(bool)))) == false)) { - missingValues.Add("ScriptText"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["Database"], typeof(bool)))) == false)) { - missingValues.Add("Database"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["Tag"], typeof(bool)))) == false)) { - missingValues.Add("Tag"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } } } diff --git a/src/SqlSync.SqlBuild/RebuilderData.xml b/src/SqlSync.SqlBuild/RebuilderData.xml deleted file mode 100644 index 4354e1e2..00000000 --- a/src/SqlSync.SqlBuild/RebuilderData.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - SqlSync.SqlBuild - RebuilderData - - System.Data - System.Xml - - - - ScriptFileName - String.Empty - String - ScriptFileName - - - ScriptId - - System.Guid - ScriptId - - - Sequence - -1 - Int32 - Sequence - - - ScriptText - String.Empty - String - ScriptText - - - Database - String.Empty - String - Database - - - Tag - String.Empty - String - Tag - - - diff --git a/src/SqlSync.SqlBuild/SQLSync.SqlBuild.csproj b/src/SqlSync.SqlBuild/SQLSync.SqlBuild.csproj index b447635c..d1db123f 100644 --- a/src/SqlSync.SqlBuild/SQLSync.SqlBuild.csproj +++ b/src/SqlSync.SqlBuild/SQLSync.SqlBuild.csproj @@ -18,7 +18,7 @@ - + @@ -30,8 +30,31 @@ + + + + True + True + ServerConnectConfig.xsd + + + True + True + SQLSyncBuildProject.xsd + + + + + MSDataSetGenerator + ServerConnectConfig.Designer.cs + + + MSDataSetGenerator + SQLSyncBuildProject.Designer.cs + + false false diff --git a/src/SqlSync.SqlBuild/SQLSyncBuildProject.Designer.cs b/src/SqlSync.SqlBuild/SQLSyncBuildProject.Designer.cs index 2b51845c..f144364a 100644 --- a/src/SqlSync.SqlBuild/SQLSyncBuildProject.Designer.cs +++ b/src/SqlSync.SqlBuild/SQLSyncBuildProject.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.17929 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -57,7 +57,7 @@ public partial class SqlSyncBuildData : global::System.Data.DataSet { private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildData() { this.BeginInit(); this.InitClass(); @@ -68,7 +68,7 @@ public SqlSyncBuildData() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected SqlSyncBuildData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context, false) { if ((this.IsBinarySerialized(info, context) == true)) { @@ -125,7 +125,7 @@ protected SqlSyncBuildData(global::System.Runtime.Serialization.SerializationInf } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public SqlSyncBuildProjectDataTable SqlSyncBuildProject { @@ -135,7 +135,7 @@ public SqlSyncBuildProjectDataTable SqlSyncBuildProject { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public ScriptsDataTable Scripts { @@ -145,7 +145,7 @@ public ScriptsDataTable Scripts { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public ScriptDataTable Script { @@ -155,7 +155,7 @@ public ScriptDataTable Script { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public BuildsDataTable Builds { @@ -165,7 +165,7 @@ public BuildsDataTable Builds { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public BuildDataTable Build { @@ -175,7 +175,7 @@ public BuildDataTable Build { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public ScriptRunDataTable ScriptRun { @@ -185,7 +185,7 @@ public ScriptRunDataTable ScriptRun { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public CommittedScriptDataTable CommittedScript { @@ -195,7 +195,7 @@ public CommittedScriptDataTable CommittedScript { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public CodeReviewDataTable CodeReview { @@ -205,7 +205,7 @@ public CodeReviewDataTable CodeReview { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { @@ -218,7 +218,7 @@ public CodeReviewDataTable CodeReview { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataTableCollection Tables { get { @@ -227,7 +227,7 @@ public CodeReviewDataTable CodeReview { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataRelationCollection Relations { get { @@ -236,7 +236,7 @@ public CodeReviewDataTable CodeReview { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void InitializeDerivedDataSet() { this.BeginInit(); this.InitClass(); @@ -244,7 +244,7 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataSet Clone() { SqlSyncBuildData cln = ((SqlSyncBuildData)(base.Clone())); cln.InitVars(); @@ -253,19 +253,19 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { this.Reset(); @@ -311,7 +311,7 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); @@ -320,13 +320,13 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars(bool initTable) { this.tableSqlSyncBuildProject = ((SqlSyncBuildProjectDataTable)(base.Tables["SqlSyncBuildProject"])); if ((initTable == true)) { @@ -386,7 +386,7 @@ internal void InitVars(bool initTable) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.DataSetName = "SqlSyncBuildData"; this.Prefix = ""; @@ -489,55 +489,55 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeSqlSyncBuildProject() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeScripts() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeScript() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeBuilds() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeBuild() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeScriptRun() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeCommittedScript() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeCodeReview() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { this.InitVars(); @@ -545,7 +545,7 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { SqlSyncBuildData ds = new SqlSyncBuildData(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); @@ -591,28 +591,28 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti return type; } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void SqlSyncBuildProjectRowChangeEventHandler(object sender, SqlSyncBuildProjectRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ScriptsRowChangeEventHandler(object sender, ScriptsRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ScriptRowChangeEventHandler(object sender, ScriptRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void BuildsRowChangeEventHandler(object sender, BuildsRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void BuildRowChangeEventHandler(object sender, BuildRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ScriptRunRowChangeEventHandler(object sender, ScriptRunRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void CommittedScriptRowChangeEventHandler(object sender, CommittedScriptRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void CodeReviewRowChangeEventHandler(object sender, CodeReviewRowChangeEvent e); /// @@ -629,7 +629,7 @@ public partial class SqlSyncBuildProjectDataTable : global::System.Data.TypedTab private global::System.Data.DataColumn columnScriptTagRequired; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildProjectDataTable() { this.TableName = "SqlSyncBuildProject"; this.BeginInit(); @@ -638,7 +638,7 @@ public SqlSyncBuildProjectDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal SqlSyncBuildProjectDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -655,14 +655,14 @@ internal SqlSyncBuildProjectDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected SqlSyncBuildProjectDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ProjectNameColumn { get { return this.columnProjectName; @@ -670,7 +670,7 @@ protected SqlSyncBuildProjectDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn SqlSyncBuildProject_IdColumn { get { return this.columnSqlSyncBuildProject_Id; @@ -678,7 +678,7 @@ protected SqlSyncBuildProjectDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ScriptTagRequiredColumn { get { return this.columnScriptTagRequired; @@ -686,7 +686,7 @@ protected SqlSyncBuildProjectDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -695,33 +695,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildProjectRow this[int index] { get { return ((SqlSyncBuildProjectRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event SqlSyncBuildProjectRowChangeEventHandler SqlSyncBuildProjectRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event SqlSyncBuildProjectRowChangeEventHandler SqlSyncBuildProjectRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event SqlSyncBuildProjectRowChangeEventHandler SqlSyncBuildProjectRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event SqlSyncBuildProjectRowChangeEventHandler SqlSyncBuildProjectRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddSqlSyncBuildProjectRow(SqlSyncBuildProjectRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildProjectRow AddSqlSyncBuildProjectRow(string ProjectName, bool ScriptTagRequired) { SqlSyncBuildProjectRow rowSqlSyncBuildProjectRow = ((SqlSyncBuildProjectRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -734,7 +734,7 @@ public SqlSyncBuildProjectRow AddSqlSyncBuildProjectRow(string ProjectName, bool } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { SqlSyncBuildProjectDataTable cln = ((SqlSyncBuildProjectDataTable)(base.Clone())); cln.InitVars(); @@ -742,13 +742,13 @@ public SqlSyncBuildProjectRow AddSqlSyncBuildProjectRow(string ProjectName, bool } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new SqlSyncBuildProjectDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnProjectName = base.Columns["ProjectName"]; this.columnSqlSyncBuildProject_Id = base.Columns["SqlSyncBuildProject_Id"]; @@ -756,7 +756,7 @@ internal void InitVars() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnProjectName = new global::System.Data.DataColumn("ProjectName", typeof(string), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnProjectName); @@ -776,25 +776,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildProjectRow NewSqlSyncBuildProjectRow() { return ((SqlSyncBuildProjectRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new SqlSyncBuildProjectRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(SqlSyncBuildProjectRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.SqlSyncBuildProjectRowChanged != null)) { @@ -803,7 +803,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.SqlSyncBuildProjectRowChanging != null)) { @@ -812,7 +812,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.SqlSyncBuildProjectRowDeleted != null)) { @@ -821,7 +821,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.SqlSyncBuildProjectRowDeleting != null)) { @@ -830,13 +830,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemoveSqlSyncBuildProjectRow(SqlSyncBuildProjectRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -911,7 +911,7 @@ public partial class ScriptsDataTable : global::System.Data.TypedTableBase ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class SqlSyncBuildProjectRowChangeEvent : global::System.EventArgs { private SqlSyncBuildProjectRow eventRow; @@ -5250,14 +5250,14 @@ public class SqlSyncBuildProjectRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildProjectRowChangeEvent(SqlSyncBuildProjectRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SqlSyncBuildProjectRow Row { get { return this.eventRow; @@ -5265,7 +5265,7 @@ public SqlSyncBuildProjectRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5276,7 +5276,7 @@ public SqlSyncBuildProjectRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class ScriptsRowChangeEvent : global::System.EventArgs { private ScriptsRow eventRow; @@ -5284,14 +5284,14 @@ public class ScriptsRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ScriptsRowChangeEvent(ScriptsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ScriptsRow Row { get { return this.eventRow; @@ -5299,7 +5299,7 @@ public ScriptsRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5310,7 +5310,7 @@ public ScriptsRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class ScriptRowChangeEvent : global::System.EventArgs { private ScriptRow eventRow; @@ -5318,14 +5318,14 @@ public class ScriptRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ScriptRowChangeEvent(ScriptRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ScriptRow Row { get { return this.eventRow; @@ -5333,7 +5333,7 @@ public ScriptRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5344,7 +5344,7 @@ public ScriptRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class BuildsRowChangeEvent : global::System.EventArgs { private BuildsRow eventRow; @@ -5352,14 +5352,14 @@ public class BuildsRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public BuildsRowChangeEvent(BuildsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public BuildsRow Row { get { return this.eventRow; @@ -5367,7 +5367,7 @@ public BuildsRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5378,7 +5378,7 @@ public BuildsRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class BuildRowChangeEvent : global::System.EventArgs { private BuildRow eventRow; @@ -5386,14 +5386,14 @@ public class BuildRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public BuildRowChangeEvent(BuildRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public BuildRow Row { get { return this.eventRow; @@ -5401,7 +5401,7 @@ public BuildRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5412,7 +5412,7 @@ public BuildRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class ScriptRunRowChangeEvent : global::System.EventArgs { private ScriptRunRow eventRow; @@ -5420,14 +5420,14 @@ public class ScriptRunRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ScriptRunRowChangeEvent(ScriptRunRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ScriptRunRow Row { get { return this.eventRow; @@ -5435,7 +5435,7 @@ public ScriptRunRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5446,7 +5446,7 @@ public ScriptRunRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class CommittedScriptRowChangeEvent : global::System.EventArgs { private CommittedScriptRow eventRow; @@ -5454,14 +5454,14 @@ public class CommittedScriptRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public CommittedScriptRowChangeEvent(CommittedScriptRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public CommittedScriptRow Row { get { return this.eventRow; @@ -5469,7 +5469,7 @@ public CommittedScriptRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -5480,7 +5480,7 @@ public CommittedScriptRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class CodeReviewRowChangeEvent : global::System.EventArgs { private CodeReviewRow eventRow; @@ -5488,14 +5488,14 @@ public class CodeReviewRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public CodeReviewRowChangeEvent(CodeReviewRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public CodeReviewRow Row { get { return this.eventRow; @@ -5503,7 +5503,7 @@ public CodeReviewRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; diff --git a/src/SqlSync.SqlBuild/SQLSyncBuildProject.xsd b/src/SqlSync.SqlBuild/SQLSyncBuildProject.xsd index 11181f0a..a46acae1 100644 --- a/src/SqlSync.SqlBuild/SQLSyncBuildProject.xsd +++ b/src/SqlSync.SqlBuild/SQLSyncBuildProject.xsd @@ -15,109 +15,109 @@ - + - + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - + + - + - + - + - - + + - - - - - - - - + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - + + - + - - - - - - + + + + + + - - - + + + - + - + - - - - - - - - - + + + + + + + + + @@ -139,34 +139,34 @@ - + - + - + - + - + - + - + \ No newline at end of file diff --git a/src/SqlSync.SqlBuild/SQLSyncBuildProject.xss b/src/SqlSync.SqlBuild/SQLSyncBuildProject.xss index 5b701046..3d7b35b8 100644 --- a/src/SqlSync.SqlBuild/SQLSyncBuildProject.xss +++ b/src/SqlSync.SqlBuild/SQLSyncBuildProject.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + diff --git a/src/SqlSync.SqlBuild/ServerConnectConfig.Designer.cs b/src/SqlSync.SqlBuild/ServerConnectConfig.Designer.cs index 5d290d2a..7794cebe 100644 --- a/src/SqlSync.SqlBuild/ServerConnectConfig.Designer.cs +++ b/src/SqlSync.SqlBuild/ServerConnectConfig.Designer.cs @@ -33,7 +33,7 @@ public partial class ServerConnectConfig : global::System.Data.DataSet { private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConnectConfig() { this.BeginInit(); this.InitClass(); @@ -44,7 +44,7 @@ public ServerConnectConfig() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected ServerConnectConfig(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context, false) { if ((this.IsBinarySerialized(info, context) == true)) { @@ -86,7 +86,7 @@ protected ServerConnectConfig(global::System.Runtime.Serialization.Serialization } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public ServerConfigurationDataTable ServerConfiguration { @@ -96,7 +96,7 @@ public ServerConfigurationDataTable ServerConfiguration { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public LastProgramUpdateCheckDataTable LastProgramUpdateCheck { @@ -106,7 +106,7 @@ public LastProgramUpdateCheckDataTable LastProgramUpdateCheck { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public LastDirectoryDataTable LastDirectory { @@ -116,7 +116,7 @@ public LastDirectoryDataTable LastDirectory { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { @@ -129,7 +129,7 @@ public LastDirectoryDataTable LastDirectory { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataTableCollection Tables { get { @@ -138,7 +138,7 @@ public LastDirectoryDataTable LastDirectory { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataRelationCollection Relations { get { @@ -147,7 +147,7 @@ public LastDirectoryDataTable LastDirectory { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void InitializeDerivedDataSet() { this.BeginInit(); this.InitClass(); @@ -155,7 +155,7 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataSet Clone() { ServerConnectConfig cln = ((ServerConnectConfig)(base.Clone())); cln.InitVars(); @@ -164,19 +164,19 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { this.Reset(); @@ -207,7 +207,7 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); @@ -216,13 +216,13 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars(bool initTable) { this.tableServerConfiguration = ((ServerConfigurationDataTable)(base.Tables["ServerConfiguration"])); if ((initTable == true)) { @@ -245,7 +245,7 @@ internal void InitVars(bool initTable) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.DataSetName = "ServerConnectConfig"; this.Prefix = ""; @@ -261,25 +261,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeServerConfiguration() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeLastProgramUpdateCheck() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeLastDirectory() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { this.InitVars(); @@ -287,7 +287,7 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { ServerConnectConfig ds = new ServerConnectConfig(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); @@ -333,13 +333,13 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti return type; } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ServerConfigurationRowChangeEventHandler(object sender, ServerConfigurationRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void LastProgramUpdateCheckRowChangeEventHandler(object sender, LastProgramUpdateCheckRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void LastDirectoryRowChangeEventHandler(object sender, LastDirectoryRowChangeEvent e); /// @@ -360,7 +360,7 @@ public partial class ServerConfigurationDataTable : global::System.Data.TypedTab private global::System.Data.DataColumn columnAuthenticationType; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConfigurationDataTable() { this.TableName = "ServerConfiguration"; this.BeginInit(); @@ -369,7 +369,7 @@ public ServerConfigurationDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal ServerConfigurationDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -386,14 +386,14 @@ internal ServerConfigurationDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected ServerConfigurationDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn NameColumn { get { return this.columnName; @@ -401,7 +401,7 @@ protected ServerConfigurationDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn LastAccessedColumn { get { return this.columnLastAccessed; @@ -409,7 +409,7 @@ protected ServerConfigurationDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn UserNameColumn { get { return this.columnUserName; @@ -417,7 +417,7 @@ protected ServerConfigurationDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn PasswordColumn { get { return this.columnPassword; @@ -425,7 +425,7 @@ protected ServerConfigurationDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn AuthenticationTypeColumn { get { return this.columnAuthenticationType; @@ -433,7 +433,7 @@ protected ServerConfigurationDataTable(global::System.Runtime.Serialization.Seri } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -442,33 +442,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConfigurationRow this[int index] { get { return ((ServerConfigurationRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ServerConfigurationRowChangeEventHandler ServerConfigurationRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ServerConfigurationRowChangeEventHandler ServerConfigurationRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ServerConfigurationRowChangeEventHandler ServerConfigurationRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ServerConfigurationRowChangeEventHandler ServerConfigurationRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddServerConfigurationRow(ServerConfigurationRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConfigurationRow AddServerConfigurationRow(string Name, System.DateTime LastAccessed, string UserName, string Password, string AuthenticationType) { ServerConfigurationRow rowServerConfigurationRow = ((ServerConfigurationRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -483,7 +483,7 @@ public ServerConfigurationRow AddServerConfigurationRow(string Name, System.Date } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { ServerConfigurationDataTable cln = ((ServerConfigurationDataTable)(base.Clone())); cln.InitVars(); @@ -491,13 +491,13 @@ public ServerConfigurationRow AddServerConfigurationRow(string Name, System.Date } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new ServerConfigurationDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnName = base.Columns["Name"]; this.columnLastAccessed = base.Columns["LastAccessed"]; @@ -507,7 +507,7 @@ internal void InitVars() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnName); @@ -524,25 +524,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConfigurationRow NewServerConfigurationRow() { return ((ServerConfigurationRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new ServerConfigurationRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(ServerConfigurationRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.ServerConfigurationRowChanged != null)) { @@ -551,7 +551,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.ServerConfigurationRowChanging != null)) { @@ -560,7 +560,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.ServerConfigurationRowDeleted != null)) { @@ -569,7 +569,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.ServerConfigurationRowDeleting != null)) { @@ -578,13 +578,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemoveServerConfigurationRow(ServerConfigurationRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -657,7 +657,7 @@ public partial class LastProgramUpdateCheckDataTable : global::System.Data.Typed private global::System.Data.DataColumn columnCheckTime; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastProgramUpdateCheckDataTable() { this.TableName = "LastProgramUpdateCheck"; this.BeginInit(); @@ -666,7 +666,7 @@ public LastProgramUpdateCheckDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal LastProgramUpdateCheckDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -683,14 +683,14 @@ internal LastProgramUpdateCheckDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected LastProgramUpdateCheckDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn CheckTimeColumn { get { return this.columnCheckTime; @@ -698,7 +698,7 @@ protected LastProgramUpdateCheckDataTable(global::System.Runtime.Serialization.S } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -707,33 +707,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastProgramUpdateCheckRow this[int index] { get { return ((LastProgramUpdateCheckRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastProgramUpdateCheckRowChangeEventHandler LastProgramUpdateCheckRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastProgramUpdateCheckRowChangeEventHandler LastProgramUpdateCheckRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastProgramUpdateCheckRowChangeEventHandler LastProgramUpdateCheckRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastProgramUpdateCheckRowChangeEventHandler LastProgramUpdateCheckRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddLastProgramUpdateCheckRow(LastProgramUpdateCheckRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastProgramUpdateCheckRow AddLastProgramUpdateCheckRow(System.DateTime CheckTime) { LastProgramUpdateCheckRow rowLastProgramUpdateCheckRow = ((LastProgramUpdateCheckRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -744,7 +744,7 @@ public LastProgramUpdateCheckRow AddLastProgramUpdateCheckRow(System.DateTime Ch } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { LastProgramUpdateCheckDataTable cln = ((LastProgramUpdateCheckDataTable)(base.Clone())); cln.InitVars(); @@ -752,19 +752,19 @@ public LastProgramUpdateCheckRow AddLastProgramUpdateCheckRow(System.DateTime Ch } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new LastProgramUpdateCheckDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnCheckTime = base.Columns["CheckTime"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnCheckTime = new global::System.Data.DataColumn("CheckTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnCheckTime); @@ -772,25 +772,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastProgramUpdateCheckRow NewLastProgramUpdateCheckRow() { return ((LastProgramUpdateCheckRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new LastProgramUpdateCheckRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(LastProgramUpdateCheckRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.LastProgramUpdateCheckRowChanged != null)) { @@ -799,7 +799,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.LastProgramUpdateCheckRowChanging != null)) { @@ -808,7 +808,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.LastProgramUpdateCheckRowDeleted != null)) { @@ -817,7 +817,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.LastProgramUpdateCheckRowDeleting != null)) { @@ -826,13 +826,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemoveLastProgramUpdateCheckRow(LastProgramUpdateCheckRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -907,7 +907,7 @@ public partial class LastDirectoryDataTable : global::System.Data.TypedTableBase private global::System.Data.DataColumn columnDirectory; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastDirectoryDataTable() { this.TableName = "LastDirectory"; this.BeginInit(); @@ -916,7 +916,7 @@ public LastDirectoryDataTable() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal LastDirectoryDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { @@ -933,14 +933,14 @@ internal LastDirectoryDataTable(global::System.Data.DataTable table) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected LastDirectoryDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn ComponentNameColumn { get { return this.columnComponentName; @@ -948,7 +948,7 @@ protected LastDirectoryDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataColumn DirectoryColumn { get { return this.columnDirectory; @@ -956,7 +956,7 @@ protected LastDirectoryDataTable(global::System.Runtime.Serialization.Serializat } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int Count { get { @@ -965,33 +965,33 @@ public int Count { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastDirectoryRow this[int index] { get { return ((LastDirectoryRow)(this.Rows[index])); } } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastDirectoryRowChangeEventHandler LastDirectoryRowChanging; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastDirectoryRowChangeEventHandler LastDirectoryRowChanged; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastDirectoryRowChangeEventHandler LastDirectoryRowDeleting; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event LastDirectoryRowChangeEventHandler LastDirectoryRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void AddLastDirectoryRow(LastDirectoryRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastDirectoryRow AddLastDirectoryRow(string ComponentName, string Directory) { LastDirectoryRow rowLastDirectoryRow = ((LastDirectoryRow)(this.NewRow())); object[] columnValuesArray = new object[] { @@ -1003,7 +1003,7 @@ public LastDirectoryRow AddLastDirectoryRow(string ComponentName, string Directo } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataTable Clone() { LastDirectoryDataTable cln = ((LastDirectoryDataTable)(base.Clone())); cln.InitVars(); @@ -1011,20 +1011,20 @@ public LastDirectoryRow AddLastDirectoryRow(string ComponentName, string Directo } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new LastDirectoryDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.columnComponentName = base.Columns["ComponentName"]; this.columnDirectory = base.Columns["Directory"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.columnComponentName = new global::System.Data.DataColumn("ComponentName", typeof(string), null, global::System.Data.MappingType.Attribute); base.Columns.Add(this.columnComponentName); @@ -1035,25 +1035,25 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastDirectoryRow NewLastDirectoryRow() { return ((LastDirectoryRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new LastDirectoryRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Type GetRowType() { return typeof(LastDirectoryRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.LastDirectoryRowChanged != null)) { @@ -1062,7 +1062,7 @@ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.LastDirectoryRowChanging != null)) { @@ -1071,7 +1071,7 @@ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.LastDirectoryRowDeleted != null)) { @@ -1080,7 +1080,7 @@ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.LastDirectoryRowDeleting != null)) { @@ -1089,13 +1089,13 @@ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void RemoveLastDirectoryRow(LastDirectoryRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -1166,14 +1166,14 @@ public partial class ServerConfigurationRow : global::System.Data.DataRow { private ServerConfigurationDataTable tableServerConfiguration; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal ServerConfigurationRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableServerConfiguration = ((ServerConfigurationDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Name { get { if (this.IsNameNull()) { @@ -1189,7 +1189,7 @@ public string Name { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public System.DateTime LastAccessed { get { try { @@ -1205,7 +1205,7 @@ public System.DateTime LastAccessed { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string UserName { get { if (this.IsUserNameNull()) { @@ -1221,7 +1221,7 @@ public string UserName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Password { get { if (this.IsPasswordNull()) { @@ -1237,7 +1237,7 @@ public string Password { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string AuthenticationType { get { if (this.IsAuthenticationTypeNull()) { @@ -1253,61 +1253,61 @@ public string AuthenticationType { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsNameNull() { return this.IsNull(this.tableServerConfiguration.NameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetNameNull() { this[this.tableServerConfiguration.NameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsLastAccessedNull() { return this.IsNull(this.tableServerConfiguration.LastAccessedColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetLastAccessedNull() { this[this.tableServerConfiguration.LastAccessedColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsUserNameNull() { return this.IsNull(this.tableServerConfiguration.UserNameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetUserNameNull() { this[this.tableServerConfiguration.UserNameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsPasswordNull() { return this.IsNull(this.tableServerConfiguration.PasswordColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetPasswordNull() { this[this.tableServerConfiguration.PasswordColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsAuthenticationTypeNull() { return this.IsNull(this.tableServerConfiguration.AuthenticationTypeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetAuthenticationTypeNull() { this[this.tableServerConfiguration.AuthenticationTypeColumn] = global::System.Convert.DBNull; } @@ -1321,14 +1321,14 @@ public partial class LastProgramUpdateCheckRow : global::System.Data.DataRow { private LastProgramUpdateCheckDataTable tableLastProgramUpdateCheck; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal LastProgramUpdateCheckRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLastProgramUpdateCheck = ((LastProgramUpdateCheckDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public System.DateTime CheckTime { get { try { @@ -1344,13 +1344,13 @@ public System.DateTime CheckTime { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsCheckTimeNull() { return this.IsNull(this.tableLastProgramUpdateCheck.CheckTimeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetCheckTimeNull() { this[this.tableLastProgramUpdateCheck.CheckTimeColumn] = global::System.Convert.DBNull; } @@ -1364,14 +1364,14 @@ public partial class LastDirectoryRow : global::System.Data.DataRow { private LastDirectoryDataTable tableLastDirectory; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal LastDirectoryRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLastDirectory = ((LastDirectoryDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string ComponentName { get { if (this.IsComponentNameNull()) { @@ -1387,7 +1387,7 @@ public string ComponentName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public string Directory { get { if (this.IsDirectoryNull()) { @@ -1403,25 +1403,25 @@ public string Directory { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsComponentNameNull() { return this.IsNull(this.tableLastDirectory.ComponentNameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetComponentNameNull() { this[this.tableLastDirectory.ComponentNameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool IsDirectoryNull() { return this.IsNull(this.tableLastDirectory.DirectoryColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public void SetDirectoryNull() { this[this.tableLastDirectory.DirectoryColumn] = global::System.Convert.DBNull; } @@ -1430,7 +1430,7 @@ public void SetDirectoryNull() { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class ServerConfigurationRowChangeEvent : global::System.EventArgs { private ServerConfigurationRow eventRow; @@ -1438,14 +1438,14 @@ public class ServerConfigurationRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConfigurationRowChangeEvent(ServerConfigurationRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ServerConfigurationRow Row { get { return this.eventRow; @@ -1453,7 +1453,7 @@ public ServerConfigurationRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -1464,7 +1464,7 @@ public ServerConfigurationRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class LastProgramUpdateCheckRowChangeEvent : global::System.EventArgs { private LastProgramUpdateCheckRow eventRow; @@ -1472,14 +1472,14 @@ public class LastProgramUpdateCheckRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastProgramUpdateCheckRowChangeEvent(LastProgramUpdateCheckRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastProgramUpdateCheckRow Row { get { return this.eventRow; @@ -1487,7 +1487,7 @@ public LastProgramUpdateCheckRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -1498,7 +1498,7 @@ public LastProgramUpdateCheckRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class LastDirectoryRowChangeEvent : global::System.EventArgs { private LastDirectoryRow eventRow; @@ -1506,14 +1506,14 @@ public class LastDirectoryRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastDirectoryRowChangeEvent(LastDirectoryRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LastDirectoryRow Row { get { return this.eventRow; @@ -1521,7 +1521,7 @@ public LastDirectoryRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; diff --git a/src/SqlSync.SqlBuild/SqlSync.SqlBuild.csproj b/src/SqlSync.SqlBuild/SqlSync.SqlBuild.csproj index b447635c..d1db123f 100644 --- a/src/SqlSync.SqlBuild/SqlSync.SqlBuild.csproj +++ b/src/SqlSync.SqlBuild/SqlSync.SqlBuild.csproj @@ -18,7 +18,7 @@ - + @@ -30,8 +30,31 @@ + + + + True + True + ServerConnectConfig.xsd + + + True + True + SQLSyncBuildProject.xsd + + + + + MSDataSetGenerator + ServerConnectConfig.Designer.cs + + + MSDataSetGenerator + SQLSyncBuildProject.Designer.cs + + false false diff --git a/src/SqlSync.SqlBuild/Status/ScriptStatusData.cs b/src/SqlSync.SqlBuild/Status/ScriptStatusData.cs index 323398f0..9bd73b2b 100644 --- a/src/SqlSync.SqlBuild/Status/ScriptStatusData.cs +++ b/src/SqlSync.SqlBuild/Status/ScriptStatusData.cs @@ -1,240 +1,33 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 4.0.1.17856 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.SqlBuild.Status { - using System; - using System.Data; - using System.Xml; - + + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignTimeVisible(true)] public partial class ScriptStatusData { - - private string _ScriptName = string.Empty; - - private string _ScriptId = string.Empty; - - private SqlSync.SqlBuild.ScriptStatusType _ScriptStatus = SqlSync.SqlBuild.ScriptStatusType.Unknown; - - private string _ServerName = String.Empty; - - private string _DatabaseName = String.Empty; - - private System.DateTime _LastCommitDate; - - private System.DateTime _ServerChangeDate; - - private System.Collections.Hashtable _validationDict; - + + public string ScriptName { get; set; } = string.Empty; + + public string ScriptId { get; set; } = string.Empty; + + public SqlSync.SqlBuild.ScriptStatusType ScriptStatus { get; set; } = SqlSync.SqlBuild.ScriptStatusType.Unknown; + + public string ServerName { get; set; } = string.Empty; + + public string DatabaseName { get; set; } = string.Empty; + + public System.DateTime LastCommitDate { get; set; } + + public System.DateTime ServerChangeDate { get; set; } + + public ScriptStatusData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("ScriptName", false); - this._validationDict.Add("ScriptId", false); - this._validationDict.Add("ScriptStatus", false); - this._validationDict.Add("ServerName", false); - this._validationDict.Add("DatabaseName", false); - this._validationDict.Add("LastCommitDate", false); - this._validationDict.Add("ServerChangeDate", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string ScriptName { - get { - return this._ScriptName; - } - set { - this._ScriptName = value; - this._validationDict["ScriptName"] = true; - } - } - - public virtual string ScriptId { - get { - return this._ScriptId; - } - set { - this._ScriptId = value; - this._validationDict["ScriptId"] = true; - } - } - - public virtual SqlSync.SqlBuild.ScriptStatusType ScriptStatus { - get { - return this._ScriptStatus; - } - set { - this._ScriptStatus = value; - this._validationDict["ScriptStatus"] = true; - } - } - - public virtual string ServerName { - get { - return this._ServerName; - } - set { - this._ServerName = value; - this._validationDict["ServerName"] = true; - } - } - - public virtual string DatabaseName { - get { - return this._DatabaseName; - } - set { - this._DatabaseName = value; - this._validationDict["DatabaseName"] = true; - } - } - - public virtual System.DateTime LastCommitDate { - get { - return this._LastCommitDate; - } - set { - this._LastCommitDate = value; - this._validationDict["LastCommitDate"] = true; - } - } - - public virtual System.DateTime ServerChangeDate { - get { - return this._ServerChangeDate; - } - set { - this._ServerChangeDate = value; - this._validationDict["ServerChangeDate"] = true; - } - } - - public virtual string StrScriptName { - get { - return this._ScriptName.ToString(); - } - } - - public virtual string StrScriptId { - get { - return this._ScriptId.ToString(); - } - } - - public virtual string StrScriptStatus { - get { - return this._ScriptStatus.ToString(); - } - } - - public virtual string StrServerName { - get { - return this._ServerName.ToString(); - } - } - - public virtual string StrDatabaseName { - get { - return this._DatabaseName.ToString(); - } - } - - public virtual string StrLastCommitDate { - get { - return this._LastCommitDate.ToString(); - } - } - - public virtual string StrServerChangeDate { - get { - return this._ServerChangeDate.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrScriptName); - sb.Append(delimiter); - sb.Append(this.StrScriptId); - sb.Append(delimiter); - sb.Append(this.StrScriptStatus); - sb.Append(delimiter); - sb.Append(this.StrServerName); - sb.Append(delimiter); - sb.Append(this.StrDatabaseName); - sb.Append(delimiter); - sb.Append(this.StrLastCommitDate); - sb.Append(delimiter); - sb.Append(this.StrServerChangeDate); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(ScriptStatusData dataClass) { - try { - this.ScriptName = dataClass.ScriptName; - this.ScriptId = dataClass.ScriptId; - this.ScriptStatus = dataClass.ScriptStatus; - this.ServerName = dataClass.ServerName; - this.DatabaseName = dataClass.DatabaseName; - this.LastCommitDate = dataClass.LastCommitDate; - this.ServerChangeDate = dataClass.ServerChangeDate; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(ScriptStatusData) Method", ex); - } + } - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - if ((reader["FileName"].Equals(System.DBNull.Value) == false)) { - this.ScriptName = ((string)(System.Convert.ChangeType(reader["FileName"], typeof(string)))); - } - if ((reader["ScriptId"].Equals(System.DBNull.Value) == false)) { - this.ScriptId = ((string)(System.Convert.ChangeType(reader["ScriptId"], typeof(string)))); - } - if ((reader["Database"].Equals(System.DBNull.Value) == false)) { - this.DatabaseName = ((string)(System.Convert.ChangeType(reader["Database"], typeof(string)))); - } - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } public virtual bool Fill(System.Data.DataRow sourceDataRow) { try { @@ -253,173 +46,5 @@ public virtual bool Fill(System.Data.DataRow sourceDataRow) { throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(System.Data.DataRow sourceDataRow) Method", ex); } } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("ScriptName") != null)) { - this.ScriptName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ScriptName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ScriptId") != null)) { - this.ScriptId = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ScriptId")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ScriptStatus") != null)) { - this.ScriptStatus = ((SqlSync.SqlBuild.ScriptStatusType)(System.Convert.ChangeType(nameValueColl.GetValues("ScriptStatus")[0], typeof(SqlSync.SqlBuild.ScriptStatusType)))); - } - if ((nameValueColl.GetValues("ServerName") != null)) { - this.ServerName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("ServerName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("DatabaseName") != null)) { - this.DatabaseName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("DatabaseName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("LastCommitDate") != null)) { - this.LastCommitDate = ((System.DateTime)(System.Convert.ChangeType(nameValueColl.GetValues("LastCommitDate")[0], typeof(System.DateTime)))); - } - if ((nameValueColl.GetValues("ServerChangeDate") != null)) { - this.ServerChangeDate = ((System.DateTime)(System.Convert.ChangeType(nameValueColl.GetValues("ServerChangeDate")[0], typeof(System.DateTime)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.ScriptName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ScriptId = ((string)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string)))); - this.ScriptStatus = ((SqlSync.SqlBuild.ScriptStatusType)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(SqlSync.SqlBuild.ScriptStatusType)))); - this.ServerName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - this.DatabaseName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(string)))); - this.LastCommitDate = ((System.DateTime)(System.Convert.ChangeType(sourceArray.GetValue(5), typeof(System.DateTime)))); - this.ServerChangeDate = ((System.DateTime)(System.Convert.ChangeType(sourceArray.GetValue(6), typeof(System.DateTime)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.ScriptName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ScriptId = ((string)(System.Convert.ChangeType(arrSplitString[1], typeof(string)))); - this.ScriptStatus = ((SqlSync.SqlBuild.ScriptStatusType)(System.Convert.ChangeType(arrSplitString[2], typeof(SqlSync.SqlBuild.ScriptStatusType)))); - this.ServerName = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - this.DatabaseName = ((string)(System.Convert.ChangeType(arrSplitString[4], typeof(string)))); - this.LastCommitDate = ((System.DateTime)(System.Convert.ChangeType(arrSplitString[5], typeof(System.DateTime)))); - this.ServerChangeDate = ((System.DateTime)(System.Convert.ChangeType(arrSplitString[6], typeof(System.DateTime)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.ScriptName.ToString()); - sb.Append(delimiter); - sb.Append(this.ScriptId.ToString()); - sb.Append(delimiter); - sb.Append(this.ScriptStatus.ToString()); - sb.Append(delimiter); - sb.Append(this.ServerName.ToString()); - sb.Append(delimiter); - sb.Append(this.DatabaseName.ToString()); - sb.Append(delimiter); - sb.Append(this.LastCommitDate.ToString()); - sb.Append(delimiter); - sb.Append(this.ServerChangeDate.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[7]; - try { - myArray[0] = this._ScriptName.ToString(); - myArray[1] = this._ScriptId.ToString(); - myArray[2] = this._ScriptStatus.ToString(); - myArray[3] = this._ServerName.ToString(); - myArray[4] = this._DatabaseName.ToString(); - myArray[5] = this._LastCommitDate.ToString(); - myArray[6] = this._ServerChangeDate.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("ScriptName", this.ScriptName.ToString()); - nameValueColl.Add("ScriptId", this.ScriptId.ToString()); - nameValueColl.Add("ScriptStatus", this.ScriptStatus.ToString()); - nameValueColl.Add("ServerName", this.ServerName.ToString()); - nameValueColl.Add("DatabaseName", this.DatabaseName.ToString()); - nameValueColl.Add("LastCommitDate", this.LastCommitDate.ToString()); - nameValueColl.Add("ServerChangeDate", this.ServerChangeDate.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: ScriptStatusData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptName"], typeof(bool)))) == false)) { - missingValues.Add("ScriptName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptId"], typeof(bool)))) == false)) { - missingValues.Add("ScriptId"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ScriptStatus"], typeof(bool)))) == false)) { - missingValues.Add("ScriptStatus"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ServerName"], typeof(bool)))) == false)) { - missingValues.Add("ServerName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["DatabaseName"], typeof(bool)))) == false)) { - missingValues.Add("DatabaseName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["LastCommitDate"], typeof(bool)))) == false)) { - missingValues.Add("LastCommitDate"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ServerChangeDate"], typeof(bool)))) == false)) { - missingValues.Add("ServerChangeDate"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } } } diff --git a/src/SqlSync.SqlBuild/Status/ScriptStatusData.xml b/src/SqlSync.SqlBuild/Status/ScriptStatusData.xml deleted file mode 100644 index 204bd7ed..00000000 --- a/src/SqlSync.SqlBuild/Status/ScriptStatusData.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - SqlSync.SqlBuild.Status - ScriptStatusData - - System.Data - System.Xml - - - - ScriptName - string.Empty - string - FileName - - - ScriptId - string.Empty - string - ScriptId - - - ScriptStatus - SqlSync.SqlBuild.ScriptStatusType.Unknown - SqlSync.SqlBuild.ScriptStatusType - - - ServerName - String.Empty - String - - - DatabaseName - String.Empty - String - Database - - - LastCommitDate - - DateTime - - - ServerChangeDate - - DateTime - - - diff --git a/src/SqlSync.TableScript/Audit/AuditAutoDetectData.cs b/src/SqlSync.TableScript/Audit/AuditAutoDetectData.cs index 015fd8bf..5d0b57ee 100644 --- a/src/SqlSync.TableScript/Audit/AuditAutoDetectData.cs +++ b/src/SqlSync.TableScript/Audit/AuditAutoDetectData.cs @@ -1,504 +1,27 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 8.4.3.0 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ -namespace SqlSync.TableScript.Audit { - using System; - using System.Globalization; - - +using System; + +namespace SqlSync.TableScript.Audit +{ [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignTimeVisible(true)] - public partial class AuditAutoDetectData : IAuditInfo { - - private string _TableName = string.Empty; - - private int _RowCount = 0; - - private bool _HasAuditTable = false; - - private bool _HasAuditUpdateTrigger = false; - - private bool _HasAuditInsertTrigger = false; - - private bool _HasAuditDeleteTrigger = false; - - private int fillCount; - - private System.Collections.Hashtable _validationDict; - - public AuditAutoDetectData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("RowCount", false); - this._validationDict.Add("HasAuditTable", false); - this._validationDict.Add("HasAuditUpdateTrigger", false); - this._validationDict.Add("HasAuditInsertTrigger", false); - this._validationDict.Add("HasAuditDeleteTrigger", false); - } - - /// - ///Reflects how many times a "Fill" method had been successfully called on the object: - ///0 = Fill has never been called; - ///1 = Fill has been successful; - ///Greater then 1 means Fill has been called more than once and you may have overwritten data. - /// - public virtual int FillCount { - get { - return this.fillCount; - } - } - - /// - ///Will return true if all data fields have been set with non-Null values - /// - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - /// - ///Storage property for "TableName" data - /// - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - /// - ///Storage property for "RowCount" data - /// - public virtual int RowCount { - get { - return this._RowCount; - } - set { - this._RowCount = value; - this._validationDict["RowCount"] = true; - } - } - - /// - ///Storage property for "HasAuditTable" data - /// - public virtual bool HasAuditTable { - get { - return this._HasAuditTable; - } - set { - this._HasAuditTable = value; - this._validationDict["HasAuditTable"] = true; - } - } - - /// - ///Storage property for "HasAuditUpdateTrigger" data - /// - public virtual bool HasAuditUpdateTrigger { - get { - return this._HasAuditUpdateTrigger; - } - set { - this._HasAuditUpdateTrigger = value; - this._validationDict["HasAuditUpdateTrigger"] = true; - } - } - - /// - ///Storage property for "HasAuditInsertTrigger" data - /// - public virtual bool HasAuditInsertTrigger { - get { - return this._HasAuditInsertTrigger; - } - set { - this._HasAuditInsertTrigger = value; - this._validationDict["HasAuditInsertTrigger"] = true; - } - } - - /// - ///Storage property for "HasAuditDeleteTrigger" data - /// - public virtual bool HasAuditDeleteTrigger { - get { - return this._HasAuditDeleteTrigger; - } - set { - this._HasAuditDeleteTrigger = value; - this._validationDict["HasAuditDeleteTrigger"] = true; - } - } - - /// - ///Retrieves a .ToString(System.Globalization.CultureInfo.CurrentCulture) value for the "TableName" data value - /// - public virtual string StringTableName { - get { - return this._TableName.ToString(System.Globalization.CultureInfo.CurrentCulture); - } - } - - /// - ///Retrieves a .ToString(System.Globalization.CultureInfo.CurrentCulture) value for the "RowCount" data value - /// - public virtual string StringRowCount { - get { - return this._RowCount.ToString(System.Globalization.CultureInfo.CurrentCulture); - } - } - - /// - ///Retrieves a .ToString(System.Globalization.CultureInfo.CurrentCulture) value for the "HasAuditTable" data value - /// - public virtual string StringHasAuditTable { - get { - return this._HasAuditTable.ToString(System.Globalization.CultureInfo.CurrentCulture); - } - } - - /// - ///Retrieves a .ToString(System.Globalization.CultureInfo.CurrentCulture) value for the "HasAuditUpdateTrigger" data value - /// - public virtual string StringHasAuditUpdateTrigger { - get { - return this._HasAuditUpdateTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture); - } - } - - /// - ///Retrieves a .ToString(System.Globalization.CultureInfo.CurrentCulture) value for the "HasAuditInsertTrigger" data value - /// - public virtual string StringHasAuditInsertTrigger { - get { - return this._HasAuditInsertTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture); - } - } - - /// - ///Retrieves a .ToString(System.Globalization.CultureInfo.CurrentCulture) value for the "HasAuditDeleteTrigger" data value - /// - public virtual string StringHasAuditDeleteTrigger { - get { - return this._HasAuditDeleteTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture); - } - } - - /// - ///Retrieves a delimited string of the current data class property values - /// - /// The delimiter string to use to create the delimited string - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StringTableName); - sb.Append(delimiter); - sb.Append(this.StringRowCount); - sb.Append(delimiter); - sb.Append(this.StringHasAuditTable); - sb.Append(delimiter); - sb.Append(this.StringHasAuditUpdateTrigger); - sb.Append(delimiter); - sb.Append(this.StringHasAuditInsertTrigger); - sb.Append(delimiter); - sb.Append(this.StringHasAuditDeleteTrigger); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.GetCustomDelimitedString(string) Method", ex); - } - } - - /// - ///Populates the data class using matching data class object as a source. Simulates a "deep copy" action - /// - /// A populated data class that you want to copy the data from - public virtual bool Fill(AuditAutoDetectData dataClass) { - try { - this.TableName = dataClass.TableName; - this.RowCount = dataClass.RowCount; - this.HasAuditTable = dataClass.HasAuditTable; - this.HasAuditUpdateTrigger = dataClass.HasAuditUpdateTrigger; - this.HasAuditInsertTrigger = dataClass.HasAuditInsertTrigger; - this.HasAuditDeleteTrigger = dataClass.HasAuditDeleteTrigger; - this.fillCount = fillCount + 1; - return true; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(AuditAutoDetectData) Method", ex); - } - } - - /// - ///Populates the data class using a DbDataReader as a source. - /// - /// The DbDataReader object. This should be an open DbDataReader with at least 1 row to read - /// Use false to keep the DbDataReader open if you need to fill more than one data class with the same DbDataReader - public virtual bool Fill(System.Data.Common.DbDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - this.fillCount = fillCount + 1; - return true; - } - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - /// - ///Populates the data class using a DataRow object as a source. - /// - /// A DataRow with the matching columns for this data class - public virtual bool Fill(System.Data.DataRow sourceDataRow) { - try { - this.fillCount = fillCount + 1; - return true; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(System.Data.DataRow sourceDataRow) Method", ex); - } - } - - /// - ///Populates the data class using a System.Collections.Specialized.NameValueCollection object as a source. Useful for populating via a web Request.QueryString - /// - /// A System.Collections.Specialized.NameValueCollection with keys matching the data class - public virtual bool Fill(System.Collections.Specialized.NameValueCollection collection) { - try { - if ((collection.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(collection.GetValues("TableName")[0], typeof(string), System.Globalization.CultureInfo.CurrentCulture))); - } - if ((collection.GetValues("RowCount") != null)) { - this.RowCount = ((int)(System.Convert.ChangeType(collection.GetValues("RowCount")[0], typeof(int), System.Globalization.CultureInfo.CurrentCulture))); - } - if ((collection.GetValues("HasAuditTable") != null)) { - this.HasAuditTable = ((bool)(System.Convert.ChangeType(collection.GetValues("HasAuditTable")[0], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - } - if ((collection.GetValues("HasAuditUpdateTrigger") != null)) { - this.HasAuditUpdateTrigger = ((bool)(System.Convert.ChangeType(collection.GetValues("HasAuditUpdateTrigger")[0], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - } - if ((collection.GetValues("HasAuditInsertTrigger") != null)) { - this.HasAuditInsertTrigger = ((bool)(System.Convert.ChangeType(collection.GetValues("HasAuditInsertTrigger")[0], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - } - if ((collection.GetValues("HasAuditDeleteTrigger") != null)) { - this.HasAuditDeleteTrigger = ((bool)(System.Convert.ChangeType(collection.GetValues("HasAuditDeleteTrigger")[0], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - } - this.fillCount = fillCount + 1; - return true; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(collectionection) Method", ex); - } - } - - /// - ///Populates the data class using a System.Array object as a source. - /// - /// A System.Array object with the matching ordered list of values as the data object - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string), System.Globalization.CultureInfo.CurrentCulture))); - this.RowCount = ((int)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(int), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditTable = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditUpdateTrigger = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditInsertTrigger = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(4), typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditDeleteTrigger = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(5), typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.fillCount = fillCount + 1; - return true; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(System.Array) Method", ex); - } - } - - /// - ///Populates the data class using a delimited string as a source. - /// - /// A delimited string with the matching ordered list of values as the data object - /// The delimiter chararcter to use to 'split' the string - public virtual bool Fill(string delimitedValue, char delimiter) { - string[] arrSplitString; - arrSplitString = delimitedValue.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string), System.Globalization.CultureInfo.CurrentCulture))); - this.RowCount = ((int)(System.Convert.ChangeType(arrSplitString[1], typeof(int), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditTable = ((bool)(System.Convert.ChangeType(arrSplitString[2], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditUpdateTrigger = ((bool)(System.Convert.ChangeType(arrSplitString[3], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditInsertTrigger = ((bool)(System.Convert.ChangeType(arrSplitString[4], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.HasAuditDeleteTrigger = ((bool)(System.Convert.ChangeType(arrSplitString[5], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))); - this.fillCount = fillCount + 1; - return true; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(string,char) Method", ex); - } - } - - /// - ///Populates the data class using a fixed length string as a source. - /// - public virtual bool Fill(string fixedLength) { - try { - throw new System.NotImplementedException("The AuditAutoDetectData.Fill(string) method had not been implemented. No properti" + - "es have a subStringLength value set"); - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.Fill(string) Method", ex); - } - } - - /// - ///Retrieves a delimited string of the current data class property values - /// - /// The delimiter string to use to create the delimited string - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString(System.Globalization.CultureInfo.CurrentCulture)); - sb.Append(delimiter); - sb.Append(this.RowCount.ToString(System.Globalization.CultureInfo.CurrentCulture)); - sb.Append(delimiter); - sb.Append(this.HasAuditTable.ToString(System.Globalization.CultureInfo.CurrentCulture)); - sb.Append(delimiter); - sb.Append(this.HasAuditUpdateTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture)); - sb.Append(delimiter); - sb.Append(this.HasAuditInsertTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture)); - sb.Append(delimiter); - sb.Append(this.HasAuditDeleteTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture)); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.GetDelimitedString(string) Method", ex); - } - } - - /// - ///Retrieves a System.String[] array of the current data class property values - /// - public virtual string[] GetStringArray() { - string[] myArray = new string[6]; - try { - myArray[0] = this._TableName.ToString(System.Globalization.CultureInfo.CurrentCulture); - myArray[1] = this._RowCount.ToString(System.Globalization.CultureInfo.CurrentCulture); - myArray[2] = this._HasAuditTable.ToString(System.Globalization.CultureInfo.CurrentCulture); - myArray[3] = this._HasAuditUpdateTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture); - myArray[4] = this._HasAuditInsertTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture); - myArray[5] = this._HasAuditDeleteTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture); - return myArray; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.GetStringArray() Method", ex); - } - } - - /// - ///Retrieves a fixed length string of the current data class values - /// - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + - "tringLength value set"); - } - - /// - ///Retrieves a System.Collections.Specialized.NameValueCollection object populated with matching keys and values of the current data class - /// - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString(System.Globalization.CultureInfo.CurrentCulture)); - nameValueColl.Add("RowCount", this.RowCount.ToString(System.Globalization.CultureInfo.CurrentCulture)); - nameValueColl.Add("HasAuditTable", this.HasAuditTable.ToString(System.Globalization.CultureInfo.CurrentCulture)); - nameValueColl.Add("HasAuditUpdateTrigger", this.HasAuditUpdateTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture)); - nameValueColl.Add("HasAuditInsertTrigger", this.HasAuditInsertTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture)); - nameValueColl.Add("HasAuditDeleteTrigger", this.HasAuditDeleteTrigger.ToString(System.Globalization.CultureInfo.CurrentCulture)); - return nameValueColl; - } - catch (System.Exception ex) { - throw new AuditAutoDetectDataException("Error in the Auto-Generated: AuditAutoDetectData.GetNameValueCollection() Method", ex); - } - } - - /// - ///Returns an array of property names for properties that have not had their values set with non-Null values. - ///**NOTE: Will return null if all property values have been set. - /// - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["RowCount"], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))) == false)) { - missingValues.Add("RowCount"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasAuditTable"], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))) == false)) { - missingValues.Add("HasAuditTable"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasAuditUpdateTrigger"], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))) == false)) { - missingValues.Add("HasAuditUpdateTrigger"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasAuditInsertTrigger"], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))) == false)) { - missingValues.Add("HasAuditInsertTrigger"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasAuditDeleteTrigger"], typeof(bool), System.Globalization.CultureInfo.CurrentCulture))) == false)) { - missingValues.Add("HasAuditDeleteTrigger"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } - } - - [Serializable()] - public partial class AuditAutoDetectDataException : System.Exception { - - public AuditAutoDetectDataException() : - base() { - } - - public AuditAutoDetectDataException(string message) : - base(message) { - } - - public AuditAutoDetectDataException(string message, System.Exception innerException) : - base(message, innerException) { - } - - protected AuditAutoDetectDataException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - } + public class AuditAutoDetectData : IAuditInfo + { + public AuditAutoDetectData() + { + + } + public string TableName { get; set; } = string.Empty; + + public int RowCount { get; set; } = 0; + + public bool HasAuditTable { get; set; } = false; + + public bool HasAuditUpdateTrigger { get; set; } = false; + + public bool HasAuditInsertTrigger { get; set; } = false; + + public bool HasAuditDeleteTrigger { get; set; } = false; + } -} +} \ No newline at end of file diff --git a/src/SqlSync.TableScript/Audit/AuditAutoDetectData.xml b/src/SqlSync.TableScript/Audit/AuditAutoDetectData.xml deleted file mode 100644 index a02aa3b7..00000000 --- a/src/SqlSync.TableScript/Audit/AuditAutoDetectData.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - SqlSync.TableScript.Audit - AuditAutoDetectData - IAuditInfo - - - TableName - string.Empty - string - - - RowCount - 0 - System.Int32 - - - HasAuditTable - false - System.Boolean - - - HasAuditUpdateTrigger - false - System.Boolean - - - HasAuditInsertTrigger - false - System.Boolean - - - HasAuditDeleteTrigger - false - System.Boolean - - - diff --git a/src/SqlSync.TableScript/Audit/AuditTables.cs b/src/SqlSync.TableScript/Audit/AuditTables.cs index 02fe9235..8f46cb8f 100644 --- a/src/SqlSync.TableScript/Audit/AuditTables.cs +++ b/src/SqlSync.TableScript/Audit/AuditTables.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.42 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -9,18 +9,18 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by xsd, Version=2.0.50727.42. +// This source code was auto-generated by xsd, Version=4.8.3928.0. // namespace SqlSync.TableScript.Audit { using System.Xml.Serialization; /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.mckechney.com/AuditTables.xsd")] [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.mckechney.com/AuditTables.xsd", IsNullable=false)] public partial class SQLSyncAuditing { @@ -39,11 +39,11 @@ public SQLSyncAuditingDatabase[] Items { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.mckechney.com/AuditTables.xsd")] public partial class SQLSyncAuditingDatabase { private SQLSyncAuditingDatabaseTableToAudit[] tableToAuditField; @@ -74,11 +74,11 @@ public string Name { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.mckechney.com/AuditTables.xsd")] public partial class SQLSyncAuditingDatabaseTableToAudit { private string nameField; diff --git a/src/SqlSync.TableScript/LookUpTables.Designer.cs b/src/SqlSync.TableScript/LookUpTables.Designer.cs index 12f4096c..d721b815 100644 --- a/src/SqlSync.TableScript/LookUpTables.Designer.cs +++ b/src/SqlSync.TableScript/LookUpTables.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.269 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -33,7 +33,7 @@ public partial class SQLSyncData : global::System.Data.DataSet { private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public SQLSyncData() { this.BeginInit(); this.InitClass(); @@ -44,7 +44,7 @@ public SQLSyncData() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected SQLSyncData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context, false) { if ((this.IsBinarySerialized(info, context) == true)) { @@ -83,7 +83,7 @@ protected SQLSyncData(global::System.Runtime.Serialization.SerializationInfo inf } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public DatabaseDataTable Database { @@ -93,7 +93,7 @@ public DatabaseDataTable Database { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public LookUpTableDataTable LookUpTable { @@ -103,7 +103,7 @@ public LookUpTableDataTable LookUpTable { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { @@ -116,7 +116,7 @@ public LookUpTableDataTable LookUpTable { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataTableCollection Tables { get { @@ -125,7 +125,7 @@ public LookUpTableDataTable LookUpTable { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataRelationCollection Relations { get { @@ -134,7 +134,7 @@ public LookUpTableDataTable LookUpTable { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void InitializeDerivedDataSet() { this.BeginInit(); this.InitClass(); @@ -142,7 +142,7 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public override global::System.Data.DataSet Clone() { SQLSyncData cln = ((SQLSyncData)(base.Clone())); cln.InitVars(); @@ -151,19 +151,19 @@ protected override void InitializeDerivedDataSet() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { this.Reset(); @@ -191,7 +191,7 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); @@ -200,13 +200,13 @@ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] internal void InitVars(bool initTable) { this.tableDatabase = ((DatabaseDataTable)(base.Tables["Database"])); if ((initTable == true)) { @@ -224,7 +224,7 @@ internal void InitVars(bool initTable) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void InitClass() { this.DataSetName = "SQLSyncData"; this.Prefix = ""; @@ -251,19 +251,19 @@ private void InitClass() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeDatabase() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeLookUpTable() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { this.InitVars(); @@ -271,7 +271,7 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { SQLSyncData ds = new SQLSyncData(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); @@ -317,10 +317,10 @@ private void SchemaChanged(object sender, global::System.ComponentModel.Collecti return type; } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void DatabaseRowChangeEventHandler(object sender, DatabaseRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void LookUpTableRowChangeEventHandler(object sender, LookUpTableRowChangeEvent e); /// @@ -335,7 +335,7 @@ public partial class DatabaseDataTable : global::System.Data.TypedTableBase ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class DatabaseRowChangeEvent : global::System.EventArgs { private DatabaseRow eventRow; @@ -1145,14 +1145,14 @@ public class DatabaseRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseRowChangeEvent(DatabaseRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatabaseRow Row { get { return this.eventRow; @@ -1160,7 +1160,7 @@ public DatabaseRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; @@ -1171,7 +1171,7 @@ public DatabaseRow Row { /// ///Row event argument class /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public class LookUpTableRowChangeEvent : global::System.EventArgs { private LookUpTableRow eventRow; @@ -1179,14 +1179,14 @@ public class LookUpTableRowChangeEvent : global::System.EventArgs { private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LookUpTableRowChangeEvent(LookUpTableRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public LookUpTableRow Row { get { return this.eventRow; @@ -1194,7 +1194,7 @@ public LookUpTableRow Row { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; diff --git a/src/SqlSync.TableScript/LookUpTables.xsd b/src/SqlSync.TableScript/LookUpTables.xsd index 240161b0..a67e19bd 100644 --- a/src/SqlSync.TableScript/LookUpTables.xsd +++ b/src/SqlSync.TableScript/LookUpTables.xsd @@ -12,21 +12,21 @@ - + - + - - - - - + + + + + - - + + @@ -35,7 +35,7 @@ - + diff --git a/src/SqlSync.TableScript/LookUpTables.xss b/src/SqlSync.TableScript/LookUpTables.xss index 22acc880..60c1a2f6 100644 --- a/src/SqlSync.TableScript/LookUpTables.xss +++ b/src/SqlSync.TableScript/LookUpTables.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + diff --git a/src/SqlSync.TableScript/SqlSync.TableScript.csproj b/src/SqlSync.TableScript/SqlSync.TableScript.csproj index 1743ca07..17eae3b1 100644 --- a/src/SqlSync.TableScript/SqlSync.TableScript.csproj +++ b/src/SqlSync.TableScript/SqlSync.TableScript.csproj @@ -58,6 +58,19 @@ + + + True + True + LookUpTables.xsd + + + + + MSDataSetGenerator + LookUpTables.Designer.cs + + false false diff --git a/src/SqlSync.TableScript/TableScriptData.cs b/src/SqlSync.TableScript/TableScriptData.cs new file mode 100644 index 00000000..e6d4d46c --- /dev/null +++ b/src/SqlSync.TableScript/TableScriptData.cs @@ -0,0 +1,28 @@ +using System; + +namespace SqlSync { + + [Serializable()] + [System.ComponentModel.ToolboxItem(true)] + [System.ComponentModel.DesignerCategory("Component")] + [System.ComponentModel.DesignTimeVisible(true)] + public class TableScriptData { + + public TableScriptData() + { + + } + + public string TableName { get; set; } = string.Empty; + + public System.Data.DataTable ValuesTable { get; set; } = null; + + public string InsertScript { get; set; } = string.Empty; + + public string SelectStatement { get; set; } = string.Empty; + + + + + } +} diff --git a/src/SqlSync.TableScript/TableScriptData.xml b/src/SqlSync.TableScript/TableScriptData.xml deleted file mode 100644 index 5745000e..00000000 --- a/src/SqlSync.TableScript/TableScriptData.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - SqlSync - TableScriptData - - - TableName - string.Empty - string - - - ValuesTable - null - System.Data.DataTable - - - InsertScript - string.Empty - string - - - SelectStatement - string.Empty - string - - - \ No newline at end of file diff --git a/src/SqlSync.TableScript/TableScriptData1.cs b/src/SqlSync.TableScript/TableScriptData1.cs deleted file mode 100644 index 24e95120..00000000 --- a/src/SqlSync.TableScript/TableScriptData1.cs +++ /dev/null @@ -1,295 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.0.2645 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ -namespace SqlSync { - using System; - - - [Serializable()] - [System.ComponentModel.ToolboxItem(true)] - [System.ComponentModel.DesignerCategory("Component")] - [System.ComponentModel.DesignTimeVisible(true)] - public class TableScriptData { - - private string _TableName = string.Empty; - - private System.Data.DataTable _ValuesTable = null; - - private string _InsertScript = string.Empty; - - private string _SelectStatement = string.Empty; - - private System.Collections.Hashtable _validationDict; - - public TableScriptData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("ValuesTable", false); - this._validationDict.Add("InsertScript", false); - this._validationDict.Add("SelectStatement", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - public virtual System.Data.DataTable ValuesTable { - get { - return this._ValuesTable; - } - set { - this._ValuesTable = value; - this._validationDict["ValuesTable"] = true; - } - } - - public virtual string InsertScript { - get { - return this._InsertScript; - } - set { - this._InsertScript = value; - this._validationDict["InsertScript"] = true; - } - } - - public virtual string SelectStatement { - get { - return this._SelectStatement; - } - set { - this._SelectStatement = value; - this._validationDict["SelectStatement"] = true; - } - } - - public virtual string StrTableName { - get { - return this._TableName.ToString(); - } - } - - public virtual string StrValuesTable { - get { - return this._ValuesTable.ToString(); - } - } - - public virtual string StrInsertScript { - get { - return this._InsertScript.ToString(); - } - } - - public virtual string StrSelectStatement { - get { - return this._SelectStatement.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrTableName); - sb.Append(delimiter); - sb.Append(this.StrValuesTable); - sb.Append(delimiter); - sb.Append(this.StrInsertScript); - sb.Append(delimiter); - sb.Append(this.StrSelectStatement); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(TableScriptData dataClass) { - try { - this.TableName = dataClass.TableName; - this.ValuesTable = dataClass.ValuesTable; - this.InsertScript = dataClass.InsertScript; - this.SelectStatement = dataClass.SelectStatement; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(TableScriptData) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("TableName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ValuesTable") != null)) { - this.ValuesTable = ((System.Data.DataTable)(System.Convert.ChangeType(nameValueColl.GetValues("ValuesTable")[0], typeof(System.Data.DataTable)))); - } - if ((nameValueColl.GetValues("InsertScript") != null)) { - this.InsertScript = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("InsertScript")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("SelectStatement") != null)) { - this.SelectStatement = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("SelectStatement")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ValuesTable = ((System.Data.DataTable)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(System.Data.DataTable)))); - this.InsertScript = ((string)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(string)))); - this.SelectStatement = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ValuesTable = ((System.Data.DataTable)(System.Convert.ChangeType(arrSplitString[1], typeof(System.Data.DataTable)))); - this.InsertScript = ((string)(System.Convert.ChangeType(arrSplitString[2], typeof(string)))); - this.SelectStatement = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString()); - sb.Append(delimiter); - sb.Append(this.ValuesTable.ToString()); - sb.Append(delimiter); - sb.Append(this.InsertScript.ToString()); - sb.Append(delimiter); - sb.Append(this.SelectStatement.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[4]; - try { - myArray[0] = this._TableName.ToString(); - myArray[1] = this._ValuesTable.ToString(); - myArray[2] = this._InsertScript.ToString(); - myArray[3] = this._SelectStatement.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + -"tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString()); - nameValueColl.Add("ValuesTable", this.ValuesTable.ToString()); - nameValueColl.Add("InsertScript", this.InsertScript.ToString()); - nameValueColl.Add("SelectStatement", this.SelectStatement.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool)))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ValuesTable"], typeof(bool)))) == false)) { - missingValues.Add("ValuesTable"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["InsertScript"], typeof(bool)))) == false)) { - missingValues.Add("InsertScript"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["SelectStatement"], typeof(bool)))) == false)) { - missingValues.Add("SelectStatement"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } - } -} diff --git a/src/SqlSync.TableScript/TableScriptingRule.cs b/src/SqlSync.TableScript/TableScriptingRule.cs index 68930290..41f59227 100644 --- a/src/SqlSync.TableScript/TableScriptingRule.cs +++ b/src/SqlSync.TableScript/TableScriptingRule.cs @@ -1,222 +1,22 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.3.1.27814 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; namespace SqlSync.TableScript { - using System; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class TableScriptingRule { - - private string _TableName = string.Empty; - - private string[] _CheckKeyColumns = new string[0]; - - private System.Collections.Hashtable _validationDict; - - public TableScriptingRule() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("CheckKeyColumns", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - public virtual string[] CheckKeyColumns { - get { - return this._CheckKeyColumns; - } - set { - this._CheckKeyColumns = value; - this._validationDict["CheckKeyColumns"] = true; - } - } - - public virtual string StrTableName { - get { - return this._TableName.ToString(); - } - } - - public virtual string StrCheckKeyColumns { - get { - return this._CheckKeyColumns.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrTableName); - sb.Append(delimiter); - sb.Append(this.StrCheckKeyColumns); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.GetCustomDelimitedString(string) Method", ex); - } + + public TableScriptingRule() + { } + public string TableName { get; set; } = string.Empty; + + public string[] CheckKeyColumns { get; set; } = new string[0]; - public virtual bool Fill(TableScriptingRule dataClass) { - try { - this.TableName = dataClass.TableName; - this.CheckKeyColumns = dataClass.CheckKeyColumns; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.Fill(TableScriptingRule) Method", ex); - } - } - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } + - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("TableName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("CheckKeyColumns") != null)) { - this.CheckKeyColumns = ((string[])(System.Convert.ChangeType(nameValueColl.GetValues("CheckKeyColumns")[0], typeof(string[])))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.CheckKeyColumns = ((string[])(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(string[])))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.CheckKeyColumns = ((string[])(System.Convert.ChangeType(arrSplitString[1], typeof(string[])))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString()); - sb.Append(delimiter); - sb.Append(this.CheckKeyColumns.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[2]; - try { - myArray[0] = this._TableName.ToString(); - myArray[1] = this._CheckKeyColumns.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.GetStringArray() Method", ex); - } - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString()); - nameValueColl.Add("CheckKeyColumns", this.CheckKeyColumns.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptingRule.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool)))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["CheckKeyColumns"], typeof(bool)))) == false)) { - missingValues.Add("CheckKeyColumns"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + } } diff --git a/src/SqlSync.TableScript/TableScriptingRule.xml b/src/SqlSync.TableScript/TableScriptingRule.xml deleted file mode 100644 index 43c13936..00000000 --- a/src/SqlSync.TableScript/TableScriptingRule.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - SqlSync.TableScript - TableScriptingRule - - - TableName - string.Empty - string - - - CheckKeyColumns - new string[0] - string[] - - - diff --git a/src/SqlSync.TableScript/UpdateAutoDetectData.cs b/src/SqlSync.TableScript/UpdateAutoDetectData.cs index 22b0e7ca..bcddfa0a 100644 --- a/src/SqlSync.TableScript/UpdateAutoDetectData.cs +++ b/src/SqlSync.TableScript/UpdateAutoDetectData.cs @@ -1,261 +1,20 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.4.0.2645 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SqlSync.TableScript { - using System; - [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] public class UpdateAutoDetectData { - - private string _TableName = string.Empty; - - private int _RowCount = 0; - - private bool _HasUpdateTrigger = false; - - private System.Collections.Hashtable _validationDict; - - public UpdateAutoDetectData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("RowCount", false); - this._validationDict.Add("HasUpdateTrigger", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - public virtual int RowCount { - get { - return this._RowCount; - } - set { - this._RowCount = value; - this._validationDict["RowCount"] = true; - } - } - - public virtual bool HasUpdateTrigger { - get { - return this._HasUpdateTrigger; - } - set { - this._HasUpdateTrigger = value; - this._validationDict["HasUpdateTrigger"] = true; - } - } - - public virtual string StrTableName { - get { - return this._TableName.ToString(); - } - } - - public virtual string StrRowCount { - get { - return this._RowCount.ToString(); - } - } - - public virtual string StrHasUpdateTrigger { - get { - return this._HasUpdateTrigger.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrTableName); - sb.Append(delimiter); - sb.Append(this.StrRowCount); - sb.Append(delimiter); - sb.Append(this.StrHasUpdateTrigger); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.GetCustomDelimitedString(string) Method", ex); - } + public UpdateAutoDetectData() + { } + public string TableName { get; set; } = string.Empty; - public virtual bool Fill(UpdateAutoDetectData dataClass) { - try { - this.TableName = dataClass.TableName; - this.RowCount = dataClass.RowCount; - this.HasUpdateTrigger = dataClass.HasUpdateTrigger; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.Fill(UpdateAutoDetectData) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("TableName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("RowCount") != null)) { - this.RowCount = ((int)(System.Convert.ChangeType(nameValueColl.GetValues("RowCount")[0], typeof(int)))); - } - if ((nameValueColl.GetValues("HasUpdateTrigger") != null)) { - this.HasUpdateTrigger = ((bool)(System.Convert.ChangeType(nameValueColl.GetValues("HasUpdateTrigger")[0], typeof(bool)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.RowCount = ((int)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(int)))); - this.HasUpdateTrigger = ((bool)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(bool)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.RowCount = ((int)(System.Convert.ChangeType(arrSplitString[1], typeof(int)))); - this.HasUpdateTrigger = ((bool)(System.Convert.ChangeType(arrSplitString[2], typeof(bool)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString()); - sb.Append(delimiter); - sb.Append(this.RowCount.ToString()); - sb.Append(delimiter); - sb.Append(this.HasUpdateTrigger.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[3]; - try { - myArray[0] = this._TableName.ToString(); - myArray[1] = this._RowCount.ToString(); - myArray[2] = this._HasUpdateTrigger.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.GetStringArray() Method", ex); - } - } - - public virtual string GetFixedLengthString() { - throw new System.NotImplementedException("GetFixedLengthString() method had not been implemented. No properties have a subS" + -"tringLength value set"); - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString()); - nameValueColl.Add("RowCount", this.RowCount.ToString()); - nameValueColl.Add("HasUpdateTrigger", this.HasUpdateTrigger.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: UpdateAutoDetectData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool)))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["RowCount"], typeof(bool)))) == false)) { - missingValues.Add("RowCount"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["HasUpdateTrigger"], typeof(bool)))) == false)) { - missingValues.Add("HasUpdateTrigger"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + public int RowCount { get; set; } = 0; + + public bool HasUpdateTrigger { get; set; } = false; + } } diff --git a/src/SqlSync.TableScript/UpdateAutoDetectData.xml b/src/SqlSync.TableScript/UpdateAutoDetectData.xml deleted file mode 100644 index af54f678..00000000 --- a/src/SqlSync.TableScript/UpdateAutoDetectData.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - SqlSync.TableScript - UpdateAutoDetectData - - - TableName - string.Empty - string - - - RowCount - 0 - System.Int32 - - - HasUpdateTrigger - false - System.Boolean - - - diff --git a/src/SqlSync/Auditing/DataAuditForm.cs b/src/SqlSync/Auditing/DataAuditForm.cs index f8da9d9d..cbace537 100644 --- a/src/SqlSync/Auditing/DataAuditForm.cs +++ b/src/SqlSync/Auditing/DataAuditForm.cs @@ -1050,7 +1050,7 @@ private void PopulateTableList(string databaseName) if (tables[i].TableName.ToLower() == selectedDb.TableToAudit[j].Name.ToLower()) { - ListViewItem item = new ListViewItem(new string[] { selectedDb.TableToAudit[j].Name, tables[i].StrRowCount }); + ListViewItem item = new ListViewItem(new string[] { selectedDb.TableToAudit[j].Name, tables[i].RowCount.ToString() }); item.Tag = selectedDb.TableToAudit[j]; item.Group = lstTables.Groups["lstGrpAdded"]; @@ -1072,7 +1072,7 @@ private void PopulateTableList(string databaseName) { if (tables[i].TableName.ToLower() == trigTable[j].TableName.ToLower()) { - ListViewItem item = new ListViewItem(new string[] { trigTable[j].TableName, trigTable[j].StringRowCount }); + ListViewItem item = new ListViewItem(new string[] { trigTable[j].TableName, trigTable[j].RowCount.ToString() }); if (!trigTable[j].HasAuditDeleteTrigger || !trigTable[j].HasAuditInsertTrigger || !trigTable[j].HasAuditUpdateTrigger) item.BackColor = Color.Red; else diff --git a/src/SqlSync/SQLSync.csproj b/src/SqlSync/SQLSync.csproj index fa6db4c2..e0dfe535 100644 --- a/src/SqlSync/SQLSync.csproj +++ b/src/SqlSync/SQLSync.csproj @@ -344,7 +344,7 @@ - + @@ -356,6 +356,30 @@ + + + + True + True + DefaultScriptRegistry.xsd + + + True + True + SQLSyncBuildProject.xsd + + + + + + MSDataSetGenerator + DefaultScriptRegistry.Designer.cs + + + MSDataSetGenerator + SQLSyncBuildProject.Designer.cs + + diff --git a/src/SqlSync/SqlBuild/Notification/TableWatchControl.cs b/src/SqlSync/SqlBuild/Notification/TableWatchControl.cs index 7fc322f4..cc701c76 100644 --- a/src/SqlSync/SqlBuild/Notification/TableWatchControl.cs +++ b/src/SqlSync/SqlBuild/Notification/TableWatchControl.cs @@ -1,6 +1,7 @@ using SqlBuildManager.Enterprise; using System; using System.Diagnostics; +using System.Numerics; using System.Windows.Forms; namespace SqlSync.SqlBuild.Notification { @@ -38,15 +39,26 @@ private void TableWatchControl_Load(object sender, EventArgs e) private void btnSend_Click(object sender, EventArgs e) { - string subject = watch.EmailSubject; - string body = watch.EmailBody + "\r\n----------------------------------\r\nReferenced Script:\r\n\r\n" + watch.Script; - body = body.Replace("\r", "%0D").Replace("\n", "%0A"); - string to = emailTo; - - string mailto = "mailto:" + to + "?subject=" + subject + "&body=" + body; - Process prc = new Process(); - prc.StartInfo.FileName = mailto; - prc.Start(); + try + { + string subject = watch.EmailSubject; + string body = watch.EmailBody + "\r\n----------------------------------\r\nReferenced Script:\r\n\r\n" + watch.Script; + body = body.Replace("\r", "%0D").Replace("\n", "%0A"); + string to = emailTo; + + string mailto = "mailto:" + to + "?subject=" + subject + "&body=" + body; + Process prc = new Process(); + prc.StartInfo.FileName = mailto; + prc.Start(); + }catch(Exception exe) + { + string msg = $"Unable to send email. Please notify these people manually:\r\n"; + for (int i = 0; i < watch.Notify.Length; i++) + { + msg += $"{watch.Notify[i].Name} <{watch.Notify[i].EMail}>\r\n"; + } + MessageBox.Show(msg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } } diff --git a/src/SqlSync/SqlBuild/Objects/AddObjectForm.cs b/src/SqlSync/SqlBuild/Objects/AddObjectForm.cs index dd4dea61..778f2982 100644 --- a/src/SqlSync/SqlBuild/Objects/AddObjectForm.cs +++ b/src/SqlSync/SqlBuild/Objects/AddObjectForm.cs @@ -393,7 +393,7 @@ private void txtFind_TextChanged(object sender, EventArgs e) private void AddItemToList(ObjectData objectData) { - ListViewItem item = new ListViewItem(new string[] { objectData.SchemaOwner + "." + objectData.ObjectName, objectData.StrAlteredDate, objectData.StrCreateDate }); + ListViewItem item = new ListViewItem(new string[] { objectData.SchemaOwner + "." + objectData.ObjectName, objectData.AlteredDate.ToString(), objectData.CreateDate.ToString() }); item.Tag = objectData; //item.Group = this.lstAdds.Groups[1]; lstAdds.Items.Add(item); diff --git a/src/SqlSync/SqlBuild/RebuildForm.cs b/src/SqlSync/SqlBuild/RebuildForm.cs index 62507e9d..02c7ce97 100644 --- a/src/SqlSync/SqlBuild/RebuildForm.cs +++ b/src/SqlSync/SqlBuild/RebuildForm.cs @@ -144,7 +144,7 @@ private void bgWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventA List bldData = (List)e.Result; for (int i = 0; i < bldData.Count; i++) { - ListViewItem item = new ListViewItem(new string[] { bldData[i].BuildFileName, bldData[i].Database, bldData[i].StrCommitDate, bldData[i].StrScriptCount }); + ListViewItem item = new ListViewItem(new string[] { bldData[i].BuildFileName, bldData[i].Database, bldData[i].CommitDate.ToString(), bldData[i].ScriptCount.ToString() }); item.Tag = bldData[i]; lstBuildFiles.Items.Add(item); } diff --git a/src/SqlSync/SqlBuild/Utility/UtilityRegistry.cs b/src/SqlSync/SqlBuild/Utility/UtilityRegistry.cs index 14dc7d52..05265ec8 100644 --- a/src/SqlSync/SqlBuild/Utility/UtilityRegistry.cs +++ b/src/SqlSync/SqlBuild/Utility/UtilityRegistry.cs @@ -1,70 +1,149 @@ //------------------------------------------------------------------------------ -// +// // This code was generated by a tool. -// Runtime Version: 1.1.4322.2032 +// Runtime Version:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if +// Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. -// +// //------------------------------------------------------------------------------ // -// This source code was auto-generated by xsd, Version=1.1.4322.2032. +// This source code was auto-generated by xsd, Version=4.8.3928.0. // namespace SqlSync.SqlBuild.Utility { using System.Xml.Serialization; /// - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SqlSyncUtilityRegistry.xsd")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://schemas.mckechney.com/SqlSyncUtilityRegistry.xsd")] [System.Xml.Serialization.XmlRootAttribute(Namespace="http://schemas.mckechney.com/SqlSyncUtilityRegistry.xsd", IsNullable=false)] - public class SqlSyncUtilityRegistry { + public partial class SqlSyncUtilityRegistry { + + private object[] itemsField; /// [System.Xml.Serialization.XmlElementAttribute("QueryInserts", typeof(UtilityQuery))] [System.Xml.Serialization.XmlElementAttribute("StringReplace", typeof(Replace))] [System.Xml.Serialization.XmlElementAttribute("SubMenu", typeof(SubMenu))] - public object[] Items; + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } } /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SqlSyncUtilityRegistry.xsd")] - public class UtilityQuery { + public partial class UtilityQuery { + + private string descriptionField; + + private string fileNameField; /// [System.Xml.Serialization.XmlAttributeAttribute()] - public string Description; + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + } + } /// [System.Xml.Serialization.XmlAttributeAttribute()] - public string FileName; + public string FileName { + get { + return this.fileNameField; + } + set { + this.fileNameField = value; + } + } } /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SqlSyncUtilityRegistry.xsd")] - public class SubMenu { + public partial class SubMenu { + + private object[] itemsField; + + private string nameField; /// [System.Xml.Serialization.XmlElementAttribute("QueryInserts", typeof(UtilityQuery))] [System.Xml.Serialization.XmlElementAttribute("StringReplace", typeof(Replace))] [System.Xml.Serialization.XmlElementAttribute("SubMenu", typeof(SubMenu))] - public object[] Items; + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } /// [System.Xml.Serialization.XmlAttributeAttribute()] - public string Name; + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } } /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.mckechney.com/SqlSyncUtilityRegistry.xsd")] - public class Replace { + public partial class Replace { + + private string oldStringField; + + private string newStringField; /// [System.Xml.Serialization.XmlAttributeAttribute()] - public string OldString; + public string OldString { + get { + return this.oldStringField; + } + set { + this.oldStringField = value; + } + } /// [System.Xml.Serialization.XmlAttributeAttribute()] - public string NewString; + public string NewString { + get { + return this.newStringField; + } + set { + this.newStringField = value; + } + } } } diff --git a/src/SqlSync/TableScript/CodeTableScriptingForm.cs b/src/SqlSync/TableScript/CodeTableScriptingForm.cs index 971a0320..11609704 100644 --- a/src/SqlSync/TableScript/CodeTableScriptingForm.cs +++ b/src/SqlSync/TableScript/CodeTableScriptingForm.cs @@ -1193,7 +1193,7 @@ private void PopulateTableList(string databaseName) } ListViewItem item; - item = new ListViewItem(new string[] { auditTable.Value.TableName, auditTable.Value.StrRowCount }); + item = new ListViewItem(new string[] { auditTable.Value.TableName, auditTable.Value.RowCount.ToString() }); item.Tag = auditTable.Value; item.ToolTipText = auditTable.Value.TableName + "\r\n" + "Create ID:\t" + (auditTable.Value.CreateIdColumn.Length > 0 ? auditTable.Value.CreateIdColumn : "") + diff --git a/src/SqlSync/TableScriptData.cs b/src/SqlSync/TableScriptData.cs index 54b3df82..35ffd2d0 100644 --- a/src/SqlSync/TableScriptData.cs +++ b/src/SqlSync/TableScriptData.cs @@ -1,291 +1,26 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a the SimpleDataClassGenerator tool. -// (SimpleDataClassVSGenerator.dll -- Michael McKechney, author) -// 3.3.1.27814 -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ +using System; + namespace SQLSync { - using System; - - + [Serializable()] [System.ComponentModel.ToolboxItem(true)] [System.ComponentModel.DesignerCategory("Component")] [System.ComponentModel.DesignTimeVisible(true)] [System.Drawing.ToolboxBitmap(typeof(System.Data.DataSet))] - public class TableScriptData { - - private string _TableName = string.Empty; - - private System.Data.DataTable _ValuesTable = null; - - private string _InsertScript = string.Empty; - - private string _SelectStatement = string.Empty; - - private System.Collections.Hashtable _validationDict; - - public TableScriptData() { - this._validationDict = new System.Collections.Hashtable(); - this._validationDict.Add("TableName", false); - this._validationDict.Add("ValuesTable", false); - this._validationDict.Add("InsertScript", false); - this._validationDict.Add("SelectStatement", false); - } - - public virtual bool IsValid { - get { - if ((this.Validate() == null)) { - return true; - } - else { - return false; - } - } - } - - public virtual string TableName { - get { - return this._TableName; - } - set { - this._TableName = value; - this._validationDict["TableName"] = true; - } - } - - public virtual System.Data.DataTable ValuesTable { - get { - return this._ValuesTable; - } - set { - this._ValuesTable = value; - this._validationDict["ValuesTable"] = true; - } - } - - public virtual string InsertScript { - get { - return this._InsertScript; - } - set { - this._InsertScript = value; - this._validationDict["InsertScript"] = true; - } - } - - public virtual string SelectStatement { - get { - return this._SelectStatement; - } - set { - this._SelectStatement = value; - this._validationDict["SelectStatement"] = true; - } - } - - public virtual string StrTableName { - get { - return this._TableName.ToString(); - } - } - - public virtual string StrValuesTable { - get { - return this._ValuesTable.ToString(); - } - } - - public virtual string StrInsertScript { - get { - return this._InsertScript.ToString(); - } - } - - public virtual string StrSelectStatement { - get { - return this._SelectStatement.ToString(); - } - } - - public virtual string GetCustomDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.StrTableName); - sb.Append(delimiter); - sb.Append(this.StrValuesTable); - sb.Append(delimiter); - sb.Append(this.StrInsertScript); - sb.Append(delimiter); - sb.Append(this.StrSelectStatement); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetCustomDelimitedString(string) Method", ex); - } - } - - public virtual bool Fill(TableScriptData dataClass) { - try { - this.TableName = dataClass.TableName; - this.ValuesTable = dataClass.ValuesTable; - this.InsertScript = dataClass.InsertScript; - this.SelectStatement = dataClass.SelectStatement; - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(TableScriptData) Method", ex); - } - } - - public virtual bool Fill(Microsoft.Data.SqlClient.SqlDataReader reader, bool closeReader) { - try { - if ((reader.Read() == false)) { - reader.Close(); - return false; - } - else { - return true; - } - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(SqlDataReader) Method", ex); - } - finally { - if ((closeReader == true)) { - reader.Close(); - } - } - } - - public virtual bool Fill(System.Collections.Specialized.NameValueCollection nameValueColl) { - try { - if ((nameValueColl.GetValues("TableName") != null)) { - this.TableName = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("TableName")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("ValuesTable") != null)) { - this.ValuesTable = ((System.Data.DataTable)(System.Convert.ChangeType(nameValueColl.GetValues("ValuesTable")[0], typeof(System.Data.DataTable)))); - } - if ((nameValueColl.GetValues("InsertScript") != null)) { - this.InsertScript = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("InsertScript")[0], typeof(string)))); - } - if ((nameValueColl.GetValues("SelectStatement") != null)) { - this.SelectStatement = ((string)(System.Convert.ChangeType(nameValueColl.GetValues("SelectStatement")[0], typeof(string)))); - } - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(NameValueCollection) Method", ex); - } - } - - public virtual bool Fill(System.Array sourceArray) { - try { - this.TableName = ((string)(System.Convert.ChangeType(sourceArray.GetValue(0), typeof(string)))); - this.ValuesTable = ((System.Data.DataTable)(System.Convert.ChangeType(sourceArray.GetValue(1), typeof(System.Data.DataTable)))); - this.InsertScript = ((string)(System.Convert.ChangeType(sourceArray.GetValue(2), typeof(string)))); - this.SelectStatement = ((string)(System.Convert.ChangeType(sourceArray.GetValue(3), typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(System.Array) Method", ex); - } - } - - public virtual bool Fill(string delimString, char delimiter) { - string[] arrSplitString; - arrSplitString = delimString.Split(delimiter); - try { - this.TableName = ((string)(System.Convert.ChangeType(arrSplitString[0], typeof(string)))); - this.ValuesTable = ((System.Data.DataTable)(System.Convert.ChangeType(arrSplitString[1], typeof(System.Data.DataTable)))); - this.InsertScript = ((string)(System.Convert.ChangeType(arrSplitString[2], typeof(string)))); - this.SelectStatement = ((string)(System.Convert.ChangeType(arrSplitString[3], typeof(string)))); - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(string,char) Method", ex); - } - } - - public virtual bool Fill(string fixedString) { - try { - return true; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.Fill(string) Method", ex); - } - } - - public virtual string GetDelimitedString(string delimiter) { - System.Text.StringBuilder sb = new System.Text.StringBuilder(); - try { - sb.Append(this.TableName.ToString()); - sb.Append(delimiter); - sb.Append(this.ValuesTable.ToString()); - sb.Append(delimiter); - sb.Append(this.InsertScript.ToString()); - sb.Append(delimiter); - sb.Append(this.SelectStatement.ToString()); - return sb.ToString(); - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetDelimitedString(string) Method", ex); - } - } - - public virtual string[] GetStringArray() { - string[] myArray = new string[4]; - try { - myArray[0] = this._TableName.ToString(); - myArray[1] = this._ValuesTable.ToString(); - myArray[2] = this._InsertScript.ToString(); - myArray[3] = this._SelectStatement.ToString(); - return myArray; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetStringArray() Method", ex); - } - } - - public virtual System.Collections.Specialized.NameValueCollection GetNameValueCollection() { - System.Collections.Specialized.NameValueCollection nameValueColl = new System.Collections.Specialized.NameValueCollection(); - try { - nameValueColl.Add("TableName", this.TableName.ToString()); - nameValueColl.Add("ValuesTable", this.ValuesTable.ToString()); - nameValueColl.Add("InsertScript", this.InsertScript.ToString()); - nameValueColl.Add("SelectStatement", this.SelectStatement.ToString()); - return nameValueColl; - } - catch (System.Exception ex) { - throw new System.ApplicationException("Error in the Auto-Generated: TableScriptData.GetNameValueCollection() Method", ex); - } - } - - public virtual string[] Validate() { - System.Collections.ArrayList missingValues = new System.Collections.ArrayList(); - if ((((bool)(System.Convert.ChangeType(this._validationDict["TableName"], typeof(bool)))) == false)) { - missingValues.Add("TableName"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["ValuesTable"], typeof(bool)))) == false)) { - missingValues.Add("ValuesTable"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["InsertScript"], typeof(bool)))) == false)) { - missingValues.Add("InsertScript"); - } - if ((((bool)(System.Convert.ChangeType(this._validationDict["SelectStatement"], typeof(bool)))) == false)) { - missingValues.Add("SelectStatement"); - } - if ((missingValues.Count > 0)) { - string[] missingVals = new string[missingValues.Count]; - missingValues.CopyTo(missingVals); - return missingVals; - } - else { - return null; - } - } + public class TableScriptData + { + + public TableScriptData() + { + + } + + public string TableName { get; set; } = string.Empty; + + public System.Data.DataTable ValuesTable { get; set; } = null; + + public string InsertScript { get; set; } = string.Empty; + + public string SelectStatement { get; set; } = string.Empty; } } diff --git a/src/SqlSync/TableScriptData.xml b/src/SqlSync/TableScriptData.xml deleted file mode 100644 index cd7f9705..00000000 --- a/src/SqlSync/TableScriptData.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - SQLSync - TableScriptData - - - TableName - string.Empty - string - - - ValuesTable - null - System.Data.DataTable - - - InsertScript - string.Empty - string - - - SelectStatement - string.Empty - string - - -