Reputation: 63
I have a VS2008 web project with a EF1 datamodel. Now I have converted this to a VS2010 project with .Net 4. My question is about the Entity Framework. How can I see what version of EF it is. Or how can I make sure it is EF 4?
Upvotes: 6
Views: 4493
Reputation: 126547
There are really two questions here:
When you upgrade a VS 2008 project to .NET 4, it will upgrade the EDMX to an EF 4 model, as well. But if you skipped this or just want to confirm it's right, look at the xmlns
elements in the EDMX.
Upvotes: 3
Reputation: 6654
Look at your 'System.Data.Entity' reference version, if it's 3.5.0.0, then it's EF1. If it's 4.0.0.0, then your using EF4.
Upvotes: 6
Reputation: 47038
You can look in project references on the version of System.Data.Entity.dll.
Upvotes: 9