0

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.

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.