Creates some sample database entries, when running in the development mode.
More...
|
| static void | SeedTestData (this ModelBuilder modelBuilder) |
| | Populates the database with the sample data for testing and development.
|
| |
| static void | Seed (this ModelBuilder modelBuilder) |
| | Seeds the database with data.
|
| |
|
| static void | SeedPosts (this ModelBuilder modelBuilder) |
| |
| static void | SeedUsers (this ModelBuilder modelBuilder) |
| |
| static void | SeedCategories (this ModelBuilder modelBuilder) |
| |
Creates some sample database entries, when running in the development mode.
◆ Seed()
| static void NookpostBackend.Data.ModelBuilderExtensions.Seed |
( |
this ModelBuilder | modelBuilder | ) |
|
|
inlinestatic |
Seeds the database with data.
◆ SeedCategories()
| static void NookpostBackend.Data.ModelBuilderExtensions.SeedCategories |
( |
this ModelBuilder | modelBuilder | ) |
|
|
inlinestaticprivate |
◆ SeedPosts()
| static void NookpostBackend.Data.ModelBuilderExtensions.SeedPosts |
( |
this ModelBuilder | modelBuilder | ) |
|
|
inlinestaticprivate |
◆ SeedTestData()
| static void NookpostBackend.Data.ModelBuilderExtensions.SeedTestData |
( |
this ModelBuilder | modelBuilder | ) |
|
|
inlinestatic |
Populates the database with the sample data for testing and development.
◆ SeedUsers()
| static void NookpostBackend.Data.ModelBuilderExtensions.SeedUsers |
( |
this ModelBuilder | modelBuilder | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: