[Issue Resolved]C# & EF Core : why is the migration failing?
internal class MenuDbContext : DbContext { DbSet<Drinks> drinks => Set<Drinks>(); DbSet<Food> food => Set<Food>(); DbSet<rezMenu> menu => Set<rezMenu>(); protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlServer(@”Server=DESKTOP-GA3KCB6;Database=Menu_HW;Trusted_Connection=True;MultipleActiveResultSets=true”); } } enter image description here As per the title, why is the migration failing (I added the EFC.Tools nuget package)? Whenever I do add-migration [migrationName] from the nuget console, … Read more