0

is there any way to update my sql 2008 db from model? i maped model from db, and added some changes like associations and change fields name in some tables, can i update now db using my model?

1 Answer 1

1

Over by the solution explorer there is a model tree view. In there right click the model and there should be generate database from model.

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

5 Comments

yee there is update model from DB, but i want to update DB from model, so oposite.
Theres two options at the top, one updates the db the other updates the model.
no mate, one is update model from DB, second generate db acording to the model.
if you are changing the model and want to update the database, use generate database from model.
No where in your question does it say anything about data existing in the database. If your question was complete, I could answer it better.

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.