Beispiel #1
0
 public async static Task InitializeAsync(AnalyticsDbContext context)
 {
     var initializer = new DbInitializer();
     await initializer.SeedAsync(context);
 }
Beispiel #2
0
 public async Task SeedAsync(AnalyticsDbContext context)
 {
     await context.Database.EnsureCreatedAsync();
 }