ADO.Net或实体框架在Visual Studio 2008 [英] ADO.Net or Entity Framework in Visual Studio 2008

查看:96
本文介绍了ADO.Net或实体框架在Visual Studio 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您在.NET 2008,现在编写一个小应用程序将使用纯ADO.Net或ADO.Net Entity Framework的或一些两者兼得?

If you were programming a small database application in .NET 2008 right now would use plain ADO.Net or ADO.Net Entity Framework or some of both both?

我在使用Visual Studio 2008来学习.NET。我已经做了不少在MS Access VBA编程,但我已经决定是时候搬过去的台式机和过去的90年代。我的问题是部分是什么,我应该学习,但也非常关注,我应该在现实世界中实际使用的东西。

I'm using Visual Studio 2008 to learn .Net. I already do quite a bit of programming in MS Access VBA but I've decided it's time to move past the desktop and past the 90's. My question is partially about what I should learn but also very much about what I should actually use in the real world.

推荐答案

从技术上实体框架是ADO.Net的演变。请你帮个忙,并转储数据集的支持更强大的ORM的。在这一点上没有人应该绕过数据集了。

Technically Entity Framework is the evolution of ADO.Net. Do yourself a favor and dump data sets in favor of a more robust ORM. At this point nobody should be passing around DataSets anymore.

值得一提的是,实体框架是不是你唯一的选择,当谈到奥姆斯。有 NHibernate的,的亚音速的LINQ to SQL ,等等......所有这些都将工作得很好,2008年EF 1没有完全出炉在我看来。

It is worth noting that Entity Framework is not your only option when it comes to ORMs. There is NHibernate, SubSonic, LINQ to SQL, etc... All of which will work just fine in 2008. EF 1 is not fully baked in my opinion.

这篇关于ADO.Net或实体框架在Visual Studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆