Reputation: 418
I'm learning EF DB first, I have updated one table column and I found a solution from the official document to refresh the model.
Right-click anywhere on the design surface, and select Update Model from Database.
Is there a way to do this programmatically.
Upvotes: 0
Views: 48
Reputation: 89091
Is there any programmatic solution to that?
No. There is no (common) scenario where updating the model from the database is useful without making manual changes to your code. So there would be little point in in automating that.
Upvotes: 1