SimBu

Squashing your old sql scripts into migrations using T4 templates.

I recently looked at pulling some old sql scripts into a series of versioned migrations, here’s how the first cut panned out… To get started download MigratorDotNet and the T4 Toolbox. Install the toolbox and then create a new c# class project referencing Migrator and Migrator.Framework. Create an Extensions folder and add MigratorExtensions.cs. using System; […]