When creating a new solution (typically ASP.Net MVC or API) I usually create a data access project and my web project. In the data access project I typically use EF6 and have been trying to use Code-First so that I can take advantage of the migrations feature.
In the data access project I create a model folder and then in that folder add my classes and my DBContext class. Then I generate my migrations and seed data. This all works ok.
- What I was wondering are there more efficient ways of creating this type of project?
- Am I hampering my productivity by going code first?
- I know I am not using code generation that the database first process would use. Can I gain efficiencies by switching to DB first?
- What are typical work flows that others use?
- OR is there a hybrid approach that people find successful?
I understand that this has been addressed in other posts but my questions is more in context of EF6 and those all seem to be based on EF4.
TIA