init
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
---
|
||||
source_files:
|
||||
- DataPRO/Modules/Database/DatabaseMigrator/Properties/AssemblyInfo.cs
|
||||
- DataPRO/Modules/Database/DatabaseMigrator/Properties/Settings.Designer.cs
|
||||
generated_at: "2026-04-17T15:57:31.462614+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "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
|
||||
Reference in New Issue
Block a user