-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for NHibernate v5 #9
Comments
Hello, 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
The text was updated successfully, but these errors were encountered: