static void Cleanup() { using (var context = new EFRecipesEntities()) { context.ExecuteStoreCommand("delete from chapter6.toyota"); context.ExecuteStoreCommand("delete from chapter6.bmw"); context.ExecuteStoreCommand("delete from chapter6.cardealer"); context.ExecuteStoreCommand("delete from chapter6.dealer"); } }
static void Cleanup() { using (var context = new EFRecipesEntities()) { context.ExecuteStoreCommand("delete from chapter3.media"); } }