The DbContext class cannot be used with models that have multiple entity sets per type (MEST).

Codeaddict7423
Codeaddict7423 used Ask the Experts™
on
Hello,

I am getting this error and I don't know where to begin editing to fix it.
This project is built using DotNetNuke.  

ANY HELP is greatly appreciated
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This will happen if your derived context contains two or more DbSets deriving from the same type Type, e.g.
public class MyContext : DbContext
    {
        public DbSet<Order> Orders { get; set; }
        public DbSet<Order> OverdueOrders { get; set; }
    }

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial