What commands Entity Framework 6 enable migrations?

ef-migrations entity-framework-6

Question

In Entity Framework 5.0, which supports a single DbContext per Database, we use this syntax

Enable-Migrations -Contexttypename myDbcontext // to enable migration

update-database - verbose // to update Database Schema

How do we do the same things in Entity Framework 6 for multiple DbContext for a single Database? Please include an example or link.

Anticipated Thanks

Regards

Zulfiqar

1
5
9/4/2013 7:53:54 AM

Popular Answer

I think this article will answer this question: Entity-Framework-6-Code-First-Migrations-with-Multiple-Data-Contexts

0
4/2/2014 12:41:00 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow