Quantcast
Channel: ASP.net MVC Awesome - jQuery Ajax helpers
Viewing all articles
Browse latest Browse all 345

Closed Unassigned: Code First SetIntitalizer [1695]

$
0
0
Hi,

I would like to Create Database If Model Changes. Is this already possible with the template?

For example,

Database.SetInitializer(new DropCreateDatabaseIfModelChanges<DbContext>());

I would also like to seed etc.
Comments: duplicate

Viewing all articles
Browse latest Browse all 345

Trending Articles