internal static void CreateDeleteProcedure(this DbMigration migration, string procName, string tableName) { migration.CreateStoredProcedure( procName, p => new { ID = p.Int(), }, body: string.Format(MigrationExtensions.DeleteSqlFormat, tableName) ); }