1) Add Reference to - C:\Program Files (x86)\EntityFramework.Profiler\HibernatingRhinos.Profiler.Appender.dll
2) Add to Main(string[] args
public static void Main(string[] args) { HibernatingRhinos.Profiler.Appender.EntityFramework.EntityFrameworkProfiler.Initialize();