1

I have not found information how to do the following:

how to add a new table using EFCodeFirst to the existing database aspnetdb.mdf?

1 Answer 1

2

Seems EFCodeFirst CTP5 is only able to create databases from scratch, and not generate tables in existing ones. :/

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

2 Comments

how about the current EFCodeFirst?
@Administrator: You should be able to use EFCodeFirst.CreateTablesOnly to only create the tables, and not the DB. I read about it a couple of weeks ago, but I have not had the time to test it yet.

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.