public void MixedWorkloadEf() { var rng = new Random(0); var service = new EntityFrameworkECommerceService(_context); Time(nameof(MixedWorkloadEf), 10000, () => MixedWorkload(service, rng)); }
public void GetProductsEf() { var service = new EntityFrameworkECommerceService(_context); Time(nameof(GetProductsEf), 10000, () => service.GetProductsPage()); }