Class DevelopmentDataSeeder
Seeds repositories with development/demo data through the service/repository abstraction layer. Storage-agnostic: works with any repository implementation (InMemory, EF Core, Remote). All credential values are sourced from SampleCredentials (single source of truth).
public static class DevelopmentDataSeeder
- Inheritance
-
DevelopmentDataSeeder
- Inherited Members
Methods
SeedDevelopmentData(IServiceProvider, bool)
Seeds repositories with sample data for development and demonstration. Works through the service layer, making it storage-agnostic.
public static void SeedDevelopmentData(IServiceProvider serviceProvider, bool createSampleData = true)
Parameters
serviceProviderIServiceProviderThe built service provider
createSampleDataboolWhether to create sample patient/physician data in addition to admin