.Net Entityframework性能问题 [英] .Net Entityframework Performance Issues

查看:134
本文介绍了.Net Entityframework性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





因为一周我使用.net实体框架来访问sqlserver数据库,到目前为止一切正常。但是现在我有一些性能问题,当我想用​​大约90个实体更新一个表时,linq和savechanges命令需要很长时间(大约3-5秒)来获取数据或更新数据库。

我该怎么做才能提高entitymodel的性能。



你们中有谁有这个框架的经验,可以帮助我加快整个过程吗?



亲切的问候

Manuel

解决方案

[请参阅此... ]

Hi,

since one week i am using the .net entityframework to access a sqlserver database, so far everything worked fine. But now i have some Performance issues, when i want to update a table with about 90 entities the linq and savechanges commands take a very Long time (about 3-5 seconds) to get the data or update the database.
What can i do to improve the Performance of the entitymodel.

Does anyone of you have experiences with this Framework and can help me Speed up the whole thing?

Kind Regards
Manuel

解决方案

[See this...]


这篇关于.Net Entityframework性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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