Files
DP44/docs/ai/DataPRO/Modules/Database/DatabaseMigrator/Properties.md
2026-04-17 14:55:32 -04:00

2.2 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/Database/DatabaseMigrator/Properties/AssemblyInfo.cs
DataPRO/Modules/Database/DatabaseMigrator/Properties/Settings.Designer.cs
2026-04-17T15:57:31.462614+00:00 zai-org/GLM-5-FP8 1 006745ce9f0b7f0a

DatabaseMigrator Properties Module Documentation

1. Purpose

This module provides assembly metadata and strongly-typed configuration settings for the DatabaseMigrator component within the DataPRO system. It exists to centralize configuration values related to SQL Server LocalDB instance management, database file paths, migration status messages, and registry locations. The settings defined here support the creation, deletion, starting, and stopping of a LocalDB instance named DataPROInstance, as well as handling database version migrations and user-facing status messages.

2. Public Interface

AssemblyInfo.cs

This file contains only assembly-level attributes; it exposes no public types or methods.

Assembly Attributes:

  • AssemblyTitle: "DatabaseMigrator"
  • AssemblyDescription: Empty
  • AssemblyVersion: "1.0.0.0"
  • AssemblyFileVersion: "1.0.0.0"
  • Guid: "14d2b644-ac7a-4d21-a826-198ee1bc25f7"
  • ComVisible: false

Settings.Designer.cs

Namespace: DatabaseMigrator.Properties

Class: Settings (internal sealed partial, inherits from System.Configuration.ApplicationSettingsBase)

Static Property

Signature Description
public static Settings Default { get; } Returns a synchronized singleton instance of the Settings class.

Application-Scoped Settings (Read-Only)

Property Name Type Default Value Purpose
LocalDbDataPROInstance string "(localdb)\\DataPROInstance" Connection string fragment for the LocalDB instance.
StopDataProInstance string "stop DataPROInstance" Command argument to stop the LocalDB instance.
Warning string "Warning" Generic warning label.
DeleteDataProInstance string "delete DataPROInstance" Command argument to delete the LocalDB instance