Open Korayem opened 6 years ago
Hello, I made a solution that works for Miniprofiler 3.0.10 , MVC 4 and NHibernate 5.1.
It would be nice to include it in the nuget package, but for all of those who cannot wait and would like a solution NOW, here it is.
I created a new MiniProfilerSql2008ClientDriver that uses DBCommand instead of IDBCommand. I also added the missing methods but without any implemention since we didn't need them.
Most of the code is from the original nuget package and I still do reference the original nuget package in the rest of the code. Just correct the driver to the new MiniProfilerSql2008ClientDriver in your code (bootstrapper or wherever). The attached file is in reality a .cs file, so just change the ending from .txt to .cs.
Hello,
Here is a solution for Miniprofiler 3.0.10, MVC 4 and NHibernate 5.2.
VerifyOutcomeBatched(int expectedRowCount, int rowCount) becomes obsolete in version 5.2, so I used VerifyOutcomeBatched(int expectedRowCount, int rowCount, DbCommand statement) instead.
This library fails to run with latest NHibernate v5