You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: