|
|
3 天前 | |
|---|---|---|
| .. | ||
| Models | 3 天前 | |
| FileSeedDataStore.cs | 3 天前 | |
| ISeedDataStore.cs | 3 天前 | |
| ISeedService.cs | 3 天前 | |
| InMemorySeedDataStore.cs | 3 天前 | |
| README.md | 3 天前 | |
| SeedDataSet.cs | 3 天前 | |
| SeedHostedService.cs | 3 天前 | |
| SeedService.cs | 3 天前 | |
This directory contains the seed service implementation for Story 1.9: “Seed System Reference Values & Rule Defaults”.
The seed service:
Seeds Reference Values
Configures Required-Field Rules
Sets Up Escalation Rule Defaults
Ensures Idempotency
Maintains Separation
ISeedService.cs - Interface defining seed service contractSeedService.cs - Implementation of seed serviceISeedDataStore.cs - Store abstraction for reference values and rule defaultsFileSeedDataStore.cs - Durable JSON-backed store used by the applicationInMemorySeedDataStore.cs - Test-friendly in-memory store with the same idempotency behaviorSeedHostedService.cs - Runs seeding during application startupThe current application does not yet have a relational extension database context,
so Story 1.9 persists seed data through the same application-layer pattern used by
earlier Epic 1 infrastructure: a DI-registered durable store. When a database
context is introduced, ISeedDataStore is the replacement boundary.
Powered by TurnKey Linux.