From 12a26787beb76d97837cc288a1fe53b1a0c65ba6 Mon Sep 17 00:00:00 2001 From: Joe Phillips Date: Fri, 24 Mar 2017 10:59:47 -0500 Subject: [PATCH] Add `using` statement You need to reference the EntityFramework6 namespace in order to use this piece of code. It was missing from the example. --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 4ef5d16..471a21a 100644 --- a/index.html +++ b/index.html @@ -220,6 +220,7 @@

Usage:

Install the MiniProfiler.EF6 nuget and use one line of code to initialize for all connections in the app:

using StackExchange.Profiling;
+using StackExchange.Profiling.EntityFramework6;
 ...    
 protected void Application_Start()
 {