Friday, November 08, 2013

Using HibernatingRhinosProfiler with Console Application


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();

Post a Comment