Blogginlägg

Testing DBContext migrations

Av Peter Stålbrand | Blogg | 24 augusti 2017

Today i was creating EntityFrameworkCore DBContexts and it’s a time consuming work to delete the databases, add migrations and then update the database to see what the migration scripts would generate. I created a simple powershell-script that i ran when needed. [crayon-5cf70d0f9a31d672517923/] To find the instance pipe name of the LocalDB i used the sqllocaldb […]

The post Testing DBContext migrations appeared first on DevJunkie.

Till inlägget