-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
EF 5 is not supported #8
Comments
@borislitvak Can you check if the latest commit fixes it for you? |
Hi Giorgi, I am getting a System.TypeLoadException: Count load type ......IDbCommandInterceptor from assembly EntityFramework, Version=5.0.0.0. -- Boris |
Giorgi, -- Boris |
@borislitvak Your typed data context references EF5 doesn't it? |
yes, it does. I am referring to the context provided in the reproduction, in the zip file above. |
What query are you trying to get the Plan for? |
@borislitvak It looks like the code that detects EF5 query is failing so it tries to use EF6 to get the command. I'm not sure why it happens, Can you try debugging the code to see why it's failing? |
@borislitvak Did you get this working? |
Will do my best to upload tomorrow. It works for EF5 as well. On Mon, Apr 11, 2016 at 10:07 PM, Giorgi notifications@github.com wrote:
|
Hi Giorgi,
I am escalating this to an issue of its own, rather than a comment to #4. Not sure you can solve this, as there is no interceptor for the DB commands in EF 5. Having said that, can we do without it, utilizing ToTraceString() for ObjectQuery/ToString() for DbQuery?
Attached is a DB-first DbContext EF 5 project/solution on top of AdventureWorks
DALForLinqPadVisualizerEF5.zip
Thanks, Boris
The text was updated successfully, but these errors were encountered: