'EF Core exception Details: System.InvalidOperationException
Attached is the error display when I try to configure the table Product.
public class SIPDigitalBaseEntities : BaseDbContext { public SIPDigitalBaseEntities(DbContextOptions options) : base(options) { } public DbSet UtilityMaster { get; set; } public DbSet ProductMaster { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfiguration(new BatchRunMap());
modelBuilder.ApplyConfiguration(new UtilityMasterMap());
modelBuilder.ApplyConfiguration(new ProductMap());
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
