Name |
Description |
DatabaseWithGlimpseProfiling |
Instantiate this class (instead of PetaPoco.Database) when you want to have Glimpse profiling on all SQL. See http://schotime.net/blog/index.php/2011/05/31/petapoco-glimpse-nuget-package/ |
DatabaseWithGlimpseProfiling.PetaPocoSqlInfo |
|
DatabaseWithMVCMiniProfiler |
To use the MVC Mini Profiler you need to wrap the database connection object with the ProfiledDbConnection type. In PetaPoco v4.0.3 a callback was added to make this very easy to do. Now just instantiate DatabaseWithMVCMiniProfiler() instead of PetaPoco.DataBase() and you get profiled SQL with PetaPoco |
DatabaseWithMVCMiniProfilerAndGlimpse |
If you want Glimpse profiling and MVC Mini Profiler at the same time you need to instantiate this class insted of PetaPoco.Database |