NookPost-Backend
Loading...
Searching...
No Matches
NookpostBackend.Data.ModelBuilderExtensions Class Reference

Creates some sample database entries, when running in the development mode. More...

Collaboration diagram for NookpostBackend.Data.ModelBuilderExtensions:

Static Public Member Functions

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 Private Member Functions

static void SeedPosts (this ModelBuilder modelBuilder)
 
static void SeedUsers (this ModelBuilder modelBuilder)
 
static void SeedCategories (this ModelBuilder modelBuilder)
 

Detailed Description

Creates some sample database entries, when running in the development mode.

Member Function Documentation

◆ Seed()

static void NookpostBackend.Data.ModelBuilderExtensions.Seed ( this ModelBuilder modelBuilder)
inlinestatic

Seeds the database with data.

Here is the call graph for this function:

◆ SeedCategories()

static void NookpostBackend.Data.ModelBuilderExtensions.SeedCategories ( this ModelBuilder modelBuilder)
inlinestaticprivate
Here is the caller graph for this function:

◆ SeedPosts()

static void NookpostBackend.Data.ModelBuilderExtensions.SeedPosts ( this ModelBuilder modelBuilder)
inlinestaticprivate
Here is the caller graph for this function:

◆ SeedTestData()

static void NookpostBackend.Data.ModelBuilderExtensions.SeedTestData ( this ModelBuilder modelBuilder)
inlinestatic

Populates the database with the sample data for testing and development.

Here is the call graph for this function:

◆ SeedUsers()

static void NookpostBackend.Data.ModelBuilderExtensions.SeedUsers ( this ModelBuilder modelBuilder)
inlinestaticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: