EF6 provider incompatible with EntityFrameworkProfiler from 
hibernatingrhinos.com
---------------------------------------------------------------------------------

                 Key: DNET-534
                 URL: http://tracker.firebirdsql.org/browse/DNET-534
             Project: .NET Data provider
          Issue Type: Bug
          Components: Entity Framework support
    Affects Versions: 4.0.0.0
         Environment: VS2012 Update 4, Firebird 2.5.2, Windows 8 Pro (x64)
            Reporter: André Ziegler
            Assignee: Jiri Cincura
            Priority: Critical


The EF6 provider is incompatible with the EntityFrameworkProfiler from 
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]]}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to