Click here to Skip to main content
15,397,729 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So I got the Entity framework to work with this oracle database that I am working on. However, when I created the emdx file, everything is fine but I get a tons of about 100 warning, in which there is a lot of error 6002 says the table/view doesnt have primary key defined. Key has been inferred and the definition was created as read-only. How am I going to fix this? And does this mean I cannot insert or modify the data in these tables with this warning?

1 solution

While using EF you should use tables with a primary key. And while importing views, view should use the Primary key itself.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900