Problem with DB-First .NET Core
Posted: Tue 27 Aug 2019 13:39
Hello,
I've got some problems with generating entity model for Oracle database in .NET Core project. I will start with information that we have no full access to database, we've got only access to filtered views of tables with no primary key column inside. So far, we used only usual .NET projects and dotConnect as well as Entity Developer worked perfectly. The problem comes only when I try to create Devart EF Core model. Tool doesn't generate any class and throws error: "Entity type class 'XXX' has no primary key.". Are there any solutions/switches to make it work?
I've got some problems with generating entity model for Oracle database in .NET Core project. I will start with information that we have no full access to database, we've got only access to filtered views of tables with no primary key column inside. So far, we used only usual .NET projects and dotConnect as well as Entity Developer worked perfectly. The problem comes only when I try to create Devart EF Core model. Tool doesn't generate any class and throws error: "Entity type class 'XXX' has no primary key.". Are there any solutions/switches to make it work?