Skip to content

Instantly share code, notes, and snippets.

View florisrobbemont's full-sized avatar

Floris Robbemont florisrobbemont

  • Dutch Grit
  • The Netherlands
View GitHub Profile
@florisrobbemont
florisrobbemont / DbSeederMigrator.cs
Created August 4, 2012 15:27
EF: Bundle Seed code with Migration classes for seeding per migration
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Text.RegularExpressions;
/// <summary>
/// Provides advanced migrations by providing a seeding platform for each migration.