Geeks With Blogs
Paul's Petrov Whiteboard [BizTalk, Enterprise Application Integration, Business Process Automation, SOA, .NET] November 2015 Entries
Applying Entity Framework Code First Migrations to Azure Database
EF Code First Migrations is a great way to manage data model changes in .Net application. When publishing to Azure you can enable migration by checking the box: Execute Code First Migrations on the Publish Settings wizard. This will force migrations run on each application start which may not be OK for some. If there’s seed data in Configuration.cs which is common in dev/testing this will cause it to run on each application restart. To avoid this you can resort to Update-Database command. In order ......

Posted On Friday, November 20, 2015 4:37 AM

Copyright © Paul Petrov | Powered by: GeeksWithBlogs.net