Метод | Описание | |
---|---|---|
CustomersDbSeeder ( ILoggerFactory loggerFactory ) : Microsoft.EntityFrameworkCore | ||
InsertCustomersSampleData ( CustomersDbContext db ) : System.Threading.Tasks.Task | ||
SeedAsync ( IServiceProvider serviceProvider ) : System.Threading.Tasks.Task |
Метод | Описание | |
---|---|---|
GetCustomers ( List |
||
GetStates ( ) : List |
public CustomersDbSeeder ( ILoggerFactory loggerFactory ) : Microsoft.EntityFrameworkCore | ||
loggerFactory | ILoggerFactory | |
Результат | Microsoft.EntityFrameworkCore |
public InsertCustomersSampleData ( CustomersDbContext db ) : System.Threading.Tasks.Task | ||
db | CustomersDbContext | |
Результат | System.Threading.Tasks.Task |
public SeedAsync ( IServiceProvider serviceProvider ) : System.Threading.Tasks.Task | ||
serviceProvider | IServiceProvider | |
Результат | System.Threading.Tasks.Task |