This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DatabaseMigrator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DatabaseMigrator")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("14d2b644-ac7a-4d21-a826-198ee1bc25f7")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,291 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DatabaseMigrator.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("(localdb)\\DataPROInstance")]
public string LocalDbDataPROInstance {
get {
return ((string)(this["LocalDbDataPROInstance"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("stop DataPROInstance")]
public string StopDataProInstance {
get {
return ((string)(this["StopDataProInstance"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Warning")]
public string Warning {
get {
return ((string)(this["Warning"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("delete DataPROInstance")]
public string DeleteDataProInstance {
get {
return ((string)(this["DeleteDataProInstance"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("create DataPROInstance")]
public string CreateDataProInstance {
get {
return ((string)(this["CreateDataProInstance"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("start DataPROInstance")]
public string StartDataProInstance {
get {
return ((string)(this["StartDataProInstance"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("db")]
public string LocalDbFolder {
get {
return ((string)(this["LocalDbFolder"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("DataPRO")]
public string DataPRO {
get {
return ((string)(this["DataPRO"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("ISO")]
public string ISO {
get {
return ((string)(this["ISO"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(".mdf")]
public string Mdf {
get {
return ((string)(this["Mdf"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("_log.ldf")]
public string LogLdf {
get {
return ((string)(this["LogLdf"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("SQL Server LocalDb is not installed.")]
public string SqlServerLocalDbNotInstalled {
get {
return ((string)(this["SqlServerLocalDbNotInstalled"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("SqlLocalDB.exe")]
public string SqlLocalDBExe {
get {
return ((string)(this["SqlLocalDBExe"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("SQL Server Scripts")]
public string ScriptsFolder {
get {
return ((string)(this["ScriptsFolder"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("AttachDBs.bat")]
public string AttachDBsbat {
get {
return ((string)(this["AttachDBsbat"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("SOFTWARE\\\\Microsoft\\\\Microsoft SQL Server Local DB\\\\Installed Versions")]
public string RegistrySoftwareMicrosoftMicrosoftSQLServerLocalDBInstalledVersions {
get {
return ((string)(this["RegistrySoftwareMicrosoftMicrosoftSQLServerLocalDBInstalledVersions"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("InstanceAPIPath")]
public string InstanceAPIPath {
get {
return ((string)(this["InstanceAPIPath"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("SqlUserInstance.dll")]
public string SqlUserInstanceDll {
get {
return ((string)(this["SqlUserInstanceDll"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("LocalDB")]
public string LocalDB {
get {
return ((string)(this["LocalDB"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Tools")]
public string Tools {
get {
return ((string)(this["Tools"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(".db")]
public string Db {
get {
return ((string)(this["Db"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Database is already version {0} - no migration needed.")]
public string SameVersionDatabase {
get {
return ((string)(this["SameVersionDatabase"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Action required")]
public string ActionRequired {
get {
return ((string)(this["ActionRequired"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("The current database version ({0}) is greater than what is requested. Downward m" +
"igration is not available.")]
public string CurrentVersionGreater {
get {
return ((string)(this["CurrentVersionGreater"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Database migration has failed.{0}Previous version of DataPRO must be used. Pleas" +
"e contact DTS Support.")]
public string DatabaseMigrationFailed {
get {
return ((string)(this["DatabaseMigrationFailed"]));
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Database has been migrated from version {0} to {1}.")]
public string DatabaseMigrationSucceeded {
get {
return ((string)(this["DatabaseMigrationSucceeded"]));
}
set {
this["DatabaseMigrationSucceeded"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Warning: The AllowStreaming config setting was not migrated and has been set to F" +
"alse.{0}{0}An \"Allow streaming modes\" checkbox is now in the \"Test setup setting" +
"s\" step of the \"System Settings\" tab.")]
public string WarningAllowStreamingModesWasNotMigrated {
get {
return ((string)(this["WarningAllowStreamingModesWasNotMigrated"]));
}
set {
this["WarningAllowStreamingModesWasNotMigrated"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Creating a backup database...")]
public string CreatingBackupDb {
get {
return ((string)(this["CreatingBackupDb"]));
}
set {
this["CreatingBackupDb"] = value;
}
}
}
}

View File

@@ -0,0 +1,90 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="DatabaseMigrator.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="LocalDbDataPROInstance" Type="System.String" Scope="Application">
<Value Profile="(Default)">(localdb)\DataPROInstance</Value>
</Setting>
<Setting Name="StopDataProInstance" Type="System.String" Scope="Application">
<Value Profile="(Default)">stop DataPROInstance</Value>
</Setting>
<Setting Name="Warning" Type="System.String" Scope="Application">
<Value Profile="(Default)">Warning</Value>
</Setting>
<Setting Name="DeleteDataProInstance" Type="System.String" Scope="Application">
<Value Profile="(Default)">delete DataPROInstance</Value>
</Setting>
<Setting Name="CreateDataProInstance" Type="System.String" Scope="Application">
<Value Profile="(Default)">create DataPROInstance</Value>
</Setting>
<Setting Name="StartDataProInstance" Type="System.String" Scope="Application">
<Value Profile="(Default)">start DataPROInstance</Value>
</Setting>
<Setting Name="LocalDbFolder" Type="System.String" Scope="Application">
<Value Profile="(Default)">db</Value>
</Setting>
<Setting Name="DataPRO" Type="System.String" Scope="Application">
<Value Profile="(Default)">DataPRO</Value>
</Setting>
<Setting Name="ISO" Type="System.String" Scope="Application">
<Value Profile="(Default)">ISO</Value>
</Setting>
<Setting Name="Mdf" Type="System.String" Scope="Application">
<Value Profile="(Default)">.mdf</Value>
</Setting>
<Setting Name="LogLdf" Type="System.String" Scope="Application">
<Value Profile="(Default)">_log.ldf</Value>
</Setting>
<Setting Name="SqlServerLocalDbNotInstalled" Type="System.String" Scope="Application">
<Value Profile="(Default)">SQL Server LocalDb is not installed.</Value>
</Setting>
<Setting Name="SqlLocalDBExe" Type="System.String" Scope="Application">
<Value Profile="(Default)">SqlLocalDB.exe</Value>
</Setting>
<Setting Name="ScriptsFolder" Type="System.String" Scope="Application">
<Value Profile="(Default)">SQL Server Scripts</Value>
</Setting>
<Setting Name="AttachDBsbat" Type="System.String" Scope="Application">
<Value Profile="(Default)">AttachDBs.bat</Value>
</Setting>
<Setting Name="RegistrySoftwareMicrosoftMicrosoftSQLServerLocalDBInstalledVersions" Type="System.String" Scope="Application">
<Value Profile="(Default)">SOFTWARE\\Microsoft\\Microsoft SQL Server Local DB\\Installed Versions</Value>
</Setting>
<Setting Name="InstanceAPIPath" Type="System.String" Scope="Application">
<Value Profile="(Default)">InstanceAPIPath</Value>
</Setting>
<Setting Name="SqlUserInstanceDll" Type="System.String" Scope="Application">
<Value Profile="(Default)">SqlUserInstance.dll</Value>
</Setting>
<Setting Name="LocalDB" Type="System.String" Scope="Application">
<Value Profile="(Default)">LocalDB</Value>
</Setting>
<Setting Name="Tools" Type="System.String" Scope="Application">
<Value Profile="(Default)">Tools</Value>
</Setting>
<Setting Name="Db" Type="System.String" Scope="Application">
<Value Profile="(Default)">.db</Value>
</Setting>
<Setting Name="SameVersionDatabase" Type="System.String" Scope="Application">
<Value Profile="(Default)">Database is already version {0} - no migration needed.</Value>
</Setting>
<Setting Name="ActionRequired" Type="System.String" Scope="Application">
<Value Profile="(Default)">Action required</Value>
</Setting>
<Setting Name="CurrentVersionGreater" Type="System.String" Scope="Application">
<Value Profile="(Default)">The current database version ({0}) is greater than what is requested. Downward migration is not available.</Value>
</Setting>
<Setting Name="DatabaseMigrationFailed" Type="System.String" Scope="Application">
<Value Profile="(Default)">Database migration has failed.{0}Previous version of DataPRO must be used. Please contact DTS Support.</Value>
</Setting>
<Setting Name="DatabaseMigrationSucceeded" Type="System.String" Scope="User">
<Value Profile="(Default)">Database has been migrated from version {0} to {1}.</Value>
</Setting>
<Setting Name="WarningAllowStreamingModesWasNotMigrated" Type="System.String" Scope="User">
<Value Profile="(Default)">Warning: The AllowStreaming config setting was not migrated and has been set to False.{0}{0}An "Allow streaming modes" checkbox is now in the "Test setup settings" step of the "System Settings" tab.</Value>
</Setting>
<Setting Name="CreatingBackupDb" Type="System.String" Scope="User">
<Value Profile="(Default)">Creating a backup database...</Value>
</Setting>
</Settings>
</SettingsFile>