Add Entity Framework support for Code First
The Entity Framework support currently requires the different xml files; EF will support Code First (currently in features CTP 3) which is all code, no xml files. It would be great to have LINQPad allow for EF Contexts using Code First.
LINQPad now supports both standard and code-first models.
-
Amhed Herrera commented
I'm trying to query an EF4.3 Code-First DLL and keep getting a "CreateDatabase is not supported by the provider."
Can anyone confirm this is actually working?
-
Jan C. de Graaf commented
I still get the error "'System.Data.Entity.Database" as metioned below. Which version of LinqPad (and what settings) should I use to target EF 4.1 release dll's?
-
Zeeshan Hirani commented
When is the product coming out of beta. I am using code first api but my company wont let me install beta products.. Is there a time line for the released product?
-
emmanuel commented
Looks like the beta only works for dbcontext created using ctp 5 but not the currently release EF 4.1. Would be nice to use it for EF 4.1 as we have upgraded our project.
-
Jeff Camera commented
Thanks for the quick implementation!
Currently getting the following error:
A using namespace directive can only be applied to namespaces; 'System.Data.Entity.Database' is a type not a namespace
Looks like an update is needed for the API changes in EF 4.1 RC. Luckily it looks like the changes are rather minor and will remain constant for the RTW.
-
Craig commented
Thanks Joe. I am REALLY impressed with LINQPad. Last week I gave a small 'over the shoulder' demo of the C# Program feature and the team has now asked me to do a lunch-n-learn on it.
-
Jeff Camera commented
I'm a huge fan of code first and am already using it in a couple new projects. Having to go back to using SMS is killing me. Can't wait for code first support. Hopefully it's not too much trouble!
-
Rob Kent commented
Obviously, Code First is not yet released, but I am already using it so would appreciate LINQPad support when it does go live.