init
This commit is contained in:
45
docs/ai/Common/DTS.CommonCore/Classes/TestMetaData.md
Normal file
45
docs/ai/Common/DTS.CommonCore/Classes/TestMetaData.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Classes/TestMetaData/TestEngineerDetailsDbRecord.cs
|
||||
- Common/DTS.CommonCore/Classes/TestMetaData/CustomerDetailsDbRecord.cs
|
||||
- Common/DTS.CommonCore/Classes/TestMetaData/LabratoryDetailsDbRecord.cs
|
||||
generated_at: "2026-04-17T15:39:20.382536+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "d3f85cf243663e33"
|
||||
---
|
||||
|
||||
# Documentation: Test Metadata DbRecord Classes
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module provides three entity classes—`TestEngineerDetailsDbRecord`, `CustomerDetailsDbRecord`, and `LabratoryDetailsDbRecord`—that model persistent test metadata records for test engineers, customers, and laboratories respectively. Each class serves as a data transfer object (DTO) that implements property change notification, supports instantiation from database readers via `IDataReader`, and provides copy construction for cloning. These records appear to be part of a larger test management system where metadata about test participants is stored and tracked with versioning and audit information.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### TestEngineerDetailsDbRecord
|
||||
**Namespace:** `DTS.Common.Classes.TestEngineerDetails`
|
||||
**Implements:** `ITestEngineerDetailsDbRecord`
|
||||
**Inherits:** `Base.BasePropertyChanged`
|
||||
|
||||
#### Constructors
|
||||
| Signature | Description |
|
||||
|-----------|-------------|
|
||||
| `TestEngineerDetailsDbRecord()` | Default parameterless constructor. |
|
||||
| `TestEngineerDetailsDbRecord(ITestEngineerDetailsDbRecord testEngineerDetailsDbRecord)` | Copy constructor. Copies all properties except `TestEngineerId`. |
|
||||
| `TestEngineerDetailsDbRecord(IDataReader reader)` | Constructs instance by reading column values from a data reader. |
|
||||
|
||||
#### Properties
|
||||
| Property | Type | Default | Attributes | Description |
|
||||
|----------|------|---------|------------|-------------|
|
||||
| `TestEngineerId` | `int` | `-1` | `[Browsable(false)]`, `[ReadOnly(true)]` | Internal identifier. |
|
||||
| `Name` | `string` | `""` | `[Browsable(false)]`, `[ReadOnly(true)]` | Internal name key. |
|
||||
| `TestEngineerName` | `string` | `"NOVALUE"` | `[DisplayResource("TestEngineerName")]` | Display name of the test engineer. |
|
||||
| `TestEngineerPhone` | `string` | `"NOVALUE"` | `[DisplayResource("TestEngineerPhone")]` | Phone number. |
|
||||
| `TestEngineerFax` | `string` | `"NOVALUE"` | `[DisplayResource("TestEngineerFax")]` | Fax number. |
|
||||
| `TestEngineerEmail` | `string` | `"NOVALUE"` | `[DisplayResource("TestEngineerEmail")]` | Email address. |
|
||||
| `LocalOnly` | `bool` | `false` | `[Browsable(false)]`, `[ReadOnly(true)]` | Indicates if record is local-only. |
|
||||
| `LastModified` | `DateTime` | `DateTime.MinValue` | `[Browsable(false)]`, `[ReadOnly(true)]` | Timestamp of last modification. |
|
||||
| `LastModifiedBy` | `string` | `""` | `[Browsable(false)]`, `[ReadOnly(true
|
||||
Reference in New Issue
Block a user