1

How is it possible to create an entity in the visual studio designer and generate a table from it? I find it much easier to generate my entities within VS than to create a table in SQL Server.

Also, if I do generate an entity from table, is it possible to make changes to the entity and push them to the table?

1 Answer 1

1

EF, at least in the current version, doesn't support this. There isn't a mechanism to create the database; likewise, when you resync, it updates the model from the database.

Perhaps use "data dude" (VS2008 Database Edition) to make your changes at the database?

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.