I created a new database by Code First and enabled migrations in order to update the database, but the database came under some modifications and I would like to update my models using the Reverse Engineering approach.
I have searched online and I should right click on the project and from Entity Framework dropdown item, to select the Reverse Engineering option. The only issue is that when I right click on the project, there is no Entity Framework item.
Why is this happening ?
You should install Entity Framework Power Tools
extension. There is a list of new features of this tool set:
As there is mentioned: Reverse Engineer Code First - Generates derived DbContext class, POCO classes, and Code First mapping classes for an existing database.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.