开发者

Creating and manipulating EF1 data model in Visual Studio 2010

开发者 https://www.devze.com 2023-01-15 12:23 出处:网络
I\'m working on a project which requires me to work with .Net Framework 3.5 SP1 and not 4. My primary tool is Visual Studio 2010. I want to use Entity Framework as my data layer (since there\'s a nic

I'm working on a project which requires me to work with .Net Framework 3.5 SP1 and not 4.

My primary tool is Visual Studio 2010. I want to use Entity Framework as my data layer (since there's a nice and quick designer to work with in Visual Studio; other ORMs don't have this privilege so you have to do it pretty much manually - code or XML or similar) but since EF4 only works with .Net 4 I obviously have to use EF1 (I'd use EF Extensions with it as well).

But is it at all possible to create EF1 data model in Visual Studio 2010? There's just ADO.NET Entity Data Model project item and I'm pretty confident this one's related to EF4.

My project is set to use .Net Framework 3.5 (no way to select SP1 in project settings but this is not really relevant). Does this se开发者_如何学Ctting also set EF model to be EF1 instead of EF4 when I'd create it?


If you switch target.NET Framework to version 3.5 it should offer you only parts related to .NET 3.5 (SP1).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号