CAESGenome.App_Start.NHibernateProfilerBootstrapper.PreStart C# (CSharp) Method

PreStart() public static method

public static PreStart ( ) : void
return void
        public static void PreStart()
        {
            // Initialize the profiler
            NHibernateProfiler.Initialize();

            // You can also use the profiler in an offline manner.
            // This will generate a file with a snapshot of all the NHibernate activity in the application,
            // which you can use for later analysis by loading the file into the profiler.
            // var filename = @"c:\profiler-log";
            // NHibernateProfiler.InitializeOfflineProfiling(filename);
        }
NHibernateProfilerBootstrapper