From: André Z. (J. <tr...@fi...> - 2013-12-06 09:16:24
|
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 |