After updating entity framework tables.save the project and right click the .tt
file under .edmx
and Run Custom Tool
this will generate class for newly added tables and modification on existing tables.
Entity Framework Code Generation for particular table
-
04-07-2023 - |
سؤال
I have created Database by using Entity framework Database first approach. Its is working good but I added a new table in database and then I update the model but I can't find code for that particular table. It is my first time to do like this.
Is there a shortcut to update and generate code for particular table. Because I have lot of tables for my project. I can't delete and create code from start.
Please help me to resolve this problem.
المحلول
لا تنتمي إلى StackOverflow