想要使用Entity Framework的建议是好还是坏 [英] want Suggestion for Using Entity Framework is good or bad to use

查看:88
本文介绍了想要使用Entity Framework的建议是好还是坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii to all,

i正在研究在数据库中拥有超过300个表的项目,使用MVC 5用于UI和统一框架。

i也想要使用实体框架,但我听说EF有关于加载的缺点,或者我将在与数据库服务器通信时消耗更多时间。







所以请给我一个建议,是否使用EF是否合适,如果是,那么哪个版本..

Hii to all,
i am working on project who having more than 300 tables in database,with using MVC 5 for UI and unity framework used.
i also want to use entity framework,but i heard that EF having drawback regarding the loading or i will consume more time while Communicating with database server.



so please give me the suggestion that ,is it good to use EF or not,If yes then which version..

推荐答案

取决于它的实现。



看一下这篇文章:

性能和实体框架 [ ^ ]



如果你将它与ADO.net进行比较,在大型数据库的情况下,ADO比EF更快我更喜欢ado.net。

还可以查看:

https://msdn.microsoft.com/en-us/library/vstudio/cc853327(v = vs.100).aspx [ ^ ]
Its depends upon the implementation of it.

have a look on the artical:
Performance and the Entity Framework[^]

if you compare it with ADO.net, offcourse ADO is much faster than EF.So in case of large database I will prefer ado.net.
Also have a look on:
https://msdn.microsoft.com/en-us/library/vstudio/cc853327(v=vs.100).aspx[^]


如果你正在构建一个小应用程序,那么就可以使用它。

它与ASP.Net Identity Framework很好地结合。



更大的应用程序,维护使其变得困难。
If you are building a small application then it can be used.
It ties in well with ASP.Net Identity Framework as well.

Larger applications, maintenance makes it difficult.


这篇关于想要使用Entity Framework的建议是好还是坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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