Jul 28, 2018 06:22 PM|DA924|LINK
I did try a DB first trial in a new project and see all of the classes are generated in the EDMX rather than classes within the Models folder.
The classes are there in the Model folder. You have to know where to look for them. The classes are generated from the edmx.
The EF graphical model designer also works with the edmx.
Myself, I choose DB first, becuase it's easier to work with from what I have seen. I'll choose EF Core DB first, which doesn't use edmx as it seems a lot more easier to use than Code first with all of its migration logic that never seems to work where one
has to step-in and correct things every time.
I have used Code first in Core and none Core too through a couple of tutorials and just getting Code first stuff to work through the tutorials are even a pain. You see the problem to me with Code first is not programming against the database in code and
the same holds true for DB first too with using Linq and all of that stuff. The problems start with the deployment and migration with Code first, and it's a lot pain and frustration..