Remove OnConfiguring override in dbContext

This commit is contained in:
Stedoss 2022-10-30 03:18:44 +00:00
parent a84e0ac03c
commit 811b30294d

View File

@ -16,9 +16,6 @@ public class LeedsBeerQuestDbContext : DbContext
public DbSet<Category> Categories { get; set; } public DbSet<Category> Categories { get; set; }
public DbSet<Tag> Tags { get; set; } public DbSet<Tag> Tags { get; set; }
// protected override void OnConfiguring(DbContextOptionsBuilder options)
// => options.UseSqlite("Data Source=lbq.db");
// protected override void OnModelCreating(ModelBuilder modelBuilder) // protected override void OnModelCreating(ModelBuilder modelBuilder)
// { // {
// var seeder = new LeedsBeerQuestSeeder(modelBuilder, ""); // var seeder = new LeedsBeerQuestSeeder(modelBuilder, "");