Options
Does LinqPad Support EF 4.3.1 now?
If so, how do make it work? I grab the latest version of EF's dll file and paste into my LinqPad folder, the connection string is fine, but when I try to run the query, exception throw.
Comments
And I can confirm that this method worth with EF5 beta 2!!
www.linqpad.net/beta.aspx
Visual Studio 2010 SP1
SQL Server 2008R2
- Create a Console App
- Add a model
- Add the EF 4.3.1 package via NuGet
- Remove the default code generator from the model
- Add the DBContext template
- write some code to check it works
Start LINQPad and add your console app and the config that was created. It will test OK but as soon as you try to run a query you will get the error. The config file created by Visual Studio looks like this: