-
-
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 support #12
EF 5 support #12
Conversation
EF5/EF6/Linq2Sql support were exported to separate projects. In addition, there is a new project which holds the DatabaseHelper base class. Thus, there are 4 new DLLs that need to be added to you LinqPad scripts directory right now. And why? I opted going this way as I did not want to go the assembly aliases/reflection route. Please note we are looking at supporting two different api versions of the same assembly - EF. This approach is cleaner, though it introduces additional DLLs to the user. P.S.: I did not go the ilmerge route.
There is also https://github.com/Fody/Costura instead of ILMerge, but I did not test this. |
Thanks for the PR. I see what you have done but why was the original version failing? |
I don't recall the details. You can see in issues #4 and #8 that I was I saw that you've referenced linqpad.exe from the main dll, which looked
|
I don't think the issue was linking with EF6. When you run |
Now that I'm not putting my kids to bed (which I was doing during the On Wed, Apr 13, 2016 at 10:05 PM, Giorgi notifications@github.com wrote:
|
So this PR is for making the plugin work with ObjectContext instead of DbContext? The sample project that you uploaded was using DbContext so that might explain why the plugin works for that project but not for your other project (if it uses ObjectContext) |
Giorgi, Now that my child was born, I will be more available for replies :) You are 100% correct, it was about the context. I've added the support for Boris On Sun, Apr 17, 2016 at 8:35 PM, Giorgi notifications@github.com wrote:
|
To be honest, I will not have the time to perform this myself. Thanks, Boris On Sun, Apr 24, 2016 at 10:31 AM, Boris Litvak boris.litvak@gmail.com
|
EF5/EF6/Linq2Sql support were exported to separate projects. In
addition, there is a new project which holds the DatabaseHelper base
class. Thus, there are 4 new DLLs that need to be added to you LinqPad
scripts directory right now. And why?
I opted going this way as I did not want to go the assembly
aliases/reflection route. Please note we are looking at supporting two
different api versions of the same assembly - EF.
This approach is cleaner, though it introduces additional DLLs to the
user.
P.S.: I did not go the ilmerge route.