从数据集到实体类的演变? [英] Evolution from dataset to Entity classes?

查看:200
本文介绍了从数据集到实体类的演变?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

ADO.NET实体框架和LINQ实体是数据集向数据访问中基于实体的方法的演变吗?

它们是相同类型的东西吗?作为CodeSmith / NetTiers?如果是,使用它们与CodeSmith等工具有什么优点(或缺点)?

解决方案

你好,

实体框架和LINQ to实体建立在ADO.NET的基础上并且是ADO.NET的演化步骤,编程模型与DataSet实际上并不完全相同。另一方面,Entity Framework提供了为应用程序定义丰富的概念模型的功能,包括继承等特性,并提供非常丰富的查询功能,这些功能独立于LINQ和Entity SQL中的数据库引擎。另一方面,N-Tier开发是DataSet仍然提供更简单解决方案的领域,因此我们目前正致力于在Entity Framework中使其更容易。

如果这回答了您的问题,请告诉我,< BR>迭

Hello all,

Are the ADO.NET Entity framework and LINQ to Entities the evolution of Dataset toward a Entity based approach in data access?

And are they the same type of stuff as CodeSmith/NetTiers? If yes, what are the advantages (or disadvantages) of using them vs tools like CodeSmith?

解决方案

Hello,

While Entity Framework and LINQ to Entities builds on and is an evolutionary step for ADO.NET, the programming model is not really quite the same as with DataSet. One one side, Entity Framework provides the capability to define rich conceptual models for your application that include characteristics like inheritance, and provides very rich query capabilities that are independent of the database engine in LINQ and Entity SQL. On the other side, N-Tier development is an area in which DataSet still provides a simpler solution and so we are currently working on making it easier in Entity Framework.

Let me know if this answers your question,
Diego


这篇关于从数据集到实体类的演变?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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