什么是entityframework,linq和hibernate?为什么我们使用它? [英] what is entityframework,linq and hibernate?why we used it?

查看:200
本文介绍了什么是entityframework,linq和hibernate?为什么我们使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用3层应用程序为Web应用程序工作...因为我没有注意到任何关于实体框架的地方......它是什么...我们为什么要使用?

im working for a web application using 3 tier application...in that i did not noticed any where about entity framework...what is it...why should we use?

推荐答案

您在询问ORM,无法用几行来解释。简单地说,ORM是像Hibernate / EntityFramework这样的对象关系映射工具,它们将表作为对象公开并以透明方式进行CRUD操作,从而使开发人员能够灵活地专注于开发业务用例,而不是挖掘如何获取/保存/更新/删除数据的细节在数据库中。



有关于CodeProject的书籍,甚至有文章可以为您提供概念和推动。



实体框架 [< a href =https://msdn.microsoft.com/en-us/data/ef.aspxtarget =_ blanktitle =新窗口> ^ ]



主页 - NHibernate [ ^ ]
You are asking about ORM, which can't be explained in a couple of lines. Simply put ORM are Object Relation Mapping tools like Hibernate/EntityFramework that exposes tables as Objects and do CRUD operations in transparent hence giving developers flexibility to focus on developing business usecases instead of digging the nitty gritty of how to fetch/save/update/delete data in the database.

There are books avaiable and even articles on CodeProject that can give you concept and a push to start with.

Entity Framework[^]

Home - NHibernate[^]


这篇关于什么是entityframework,linq和hibernate?为什么我们使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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