mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Make SqlProfiler public not internal #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As well as I've got exception "Unable to cast object of type 
'MvcMiniProfiler.Data.ProfiledDbConnection' to type 
'System.Data.SqlClient.SqlConnection'" I need a way to access directly. So I 
need to be able to use this code:

MiniProfiler.Current.SqlProfiler.ExecuteStart(this, ExecuteType.Scalar);
Object result = command.ExecuteReader(cmdBehavior);
MiniProfiler.Current.SqlProfiler.ExecuteFinish(this, ExecuteType.Scalar); 

Original issue reported on code.google.com by zubkov.p...@gmail.com on 20 Jun 2011 at 10:21

GoogleCodeExporter commented 8 years ago

Original comment by jarrod.m.dixon on 20 Jun 2011 at 4:48

GoogleCodeExporter commented 8 years ago

Original comment by jarrod.m.dixon on 21 Jun 2011 at 8:26