The way to handle large projects using EF CF is as follows:
- Creating a Data Model (EDMX)
- Disable the Model-First code generation feature for this model by clearing the Custom Tool property.
- Use the Entity Framework POCO Generator extension to add the appropriate template files (t4) to the project
- Customize the template files to follow the specific coding rules that we follow.
It all looks good in concept, but when we launch the project, EF seems to think that we are using the Model-First approach. This is not so, since we do not want the EDMX model to be mapped to any database. We expect the database to be created at run time if the model has changed.
So, how can we remove the EDMX database display wait?
source share