Skip to content
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

EF6 provider incompatible with EntityFrameworkProfiler from hibernatingrhinos.com [DNET534] #513

Closed
firebird-automations opened this issue Dec 6, 2013 · 3 comments

Comments

@firebird-automations
Copy link

Submitted by: André Ziegler (andre.ziegler)

The EF6 provider is incompatible with the EntityFrameworkProfiler from http://hibernatingrhinos.com.

When you add this line to the project

HibernatingRhinos.Profiler.Appender.EntityFramework.EntityFrameworkProfiler.Initialize();

to enable profiling, the function CheckAndCastToFbConnection throws an ArgumentException exception. The Profiler changes the FbConnection to ProfiledConnection and so the check for FbConnection fails:

{HibernatingRhinos.Profiler.Appender.ProfiledDataAccess.ProfiledConnection`1[[FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c]]}

@firebird-automations
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

any news? Do others also run into this?

@firebird-automations
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

the issue is fixed with the EF Profiler DLL Version 2235:

https://www.nuget.org/packages/NHibernateProfiler/2.0.2235

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants