How to use a raw SQL script with Entity Framework migrations?
One of the most complex things to manage in the development of any application, from simple client applications to the most complex enterprise solutions, concerns the management of persistence. In the .NET environment some of this complexity can be managed through the use of migrations implemented internally in Entity Framework. Often this feature is seen as a utility purely for the use of developers to update the database schema. When we think we have arrived at a stable situation we drop all migration and start from a clean situation....