@Abhay Sakunde, Welcome to Microsoft Q&A,
If you change the database and want to update it in model, you could refer to the following answer to update your model from database:
Entity Framework : How do you refresh the model when the db changes? If you change the model and want to update it in model, you need to use the option Generate the DataBase. However, I find it will not update the database table and create a new table.
Taking a long-term view of the program, I recommend that you use EF Core to replace ef to update model from database or update database from model.
You could look at the following Microsoft Learning to use ef core.
Code First->https://learn.microsoft.com/en-us/ef/core/get-started/overview/first-app?tabs=netcore-cli
DataBase First->https://learn.microsoft.com/en-us/ef/core/managing-schemas/scaffolding/?tabs=dotnet-core-cli
Hope my explanation could help you.
Best Regards,
Jack
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.