added new tables to DB, run EF update (DB first), no errors, builds fine. When running it throws
System.MissingMethodException occurred HResult=0x80131513 Message=Method not found: 'System.Data.Entity.DbSet`1 DAL.EF.LPEntities.get_tb_BrandManufacturer()'. Source=LP.Framework
on new tables added. Only happens at runtime. Thanks Pavel
After closing, re-opening with all projects loaded (it's a fairly large solution so some projects unloaded when working on feature), removing and adding tables to EF designer again, rebuilding it started to work.
User contributions licensed under CC BY-SA 3.0