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
Original issue reported on code.google.com by
zubkov.p...@gmail.com
on 20 Jun 2011 at 10:21