private static void ResetAndWarmup() { TestEf6.ResetAndWarmUp(); using (var db = new EfCore.Context.AdventureWorksContext()) { //db.Database.ExecuteSqlCommand(@"DELETE FROM Production.ProductCategory WHERE Name LIKE 'Test %'"); db.Customers.FirstOrDefault(); } }
private static void ResetAndWarmup() { TestEf6.ResetAndWarmUp(); using (var db = new EFCore3.EfStructures.AW2016Context()) { //db.Database.ExecuteSqlCommand(@"DELETE FROM Production.ProductCategory WHERE Name LIKE 'Test %'"); db.Customer.FirstOrDefault(); } }
private static void ResetAndWarmup() { TestEf6.ResetAndWarmUp(); TestEfCore.ResetAndWarmUp(); }