EF6 Code First

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
mrsiro
Posts: 1
Joined: Mon 18 Jun 2018 02:28

EF6 Code First

Post by mrsiro » Mon 18 Jun 2018 02:36

Hi, i dont know if this is a task of the Entity Framework or the dotConnect Provider:

I have a problem with Generating my Oracle tables via code first.
Referenced tables are generated correctly with the Add-Migration functionality. (Initial Migration)
Non-Referenced tables are missing in the generated Migration. I always have to make a reference to another table. But of course there are control tables without any reference, so any idea what is the solution here ?

Thanks.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: EF6 Code First

Post by Shalex » Tue 19 Jun 2018 17:28

Most likely, some tables are missing in the generated migration because you didn't specify the DbSet property in the context for the corresponding classes.

If this is not the case, send us a simple test project for reproducing the issue.

Post Reply