wcf服务和实体框架..... [英] wcf service and Entity framework.....

查看:89
本文介绍了wcf服务和实体框架.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有wcf服务和实体框架的问题....



我的问题:



wcf服务:

如果我使用wcf服务创建项目来存储我使用db的所有功能,它是否合适?如果没有,你能告诉我这个问题吗?



实体框架:

我用sql server测试查询。结果真的很慢down.why实体框架真的很慢,所以什么时候应该使用实体框架?



感谢先进.....

hi everyone,
I have problem with wcf service and entity framework....

my problem:

wcf service:
it is suitable or not if i create a project using wcf service to store all my function for working with db? if not,can you tell me about the problem?

entity framework:
I test query with sql server.The result is really slow down.why entity framework is really slow like this so when should I use entity framework?

thank in advanced.....

推荐答案

读取 - 性能缓慢。它是实体框架还是你? [ ^ ]了解EntityFramework的一些最佳实践。



另请阅读 - 为什么使用实体框架? [ ^ ]和为什么实体框架可以成为你最好的朋友的5个理由 [ ^ ]
Read - Slow Performance. Is it the Entity Framework or you?[^] for some best practices of EntityFramework.

Also read - Why Use the Entity Framework?[^] and 5 Reasons Why Entity Framework Can Be Your Best Friend[^]


这篇关于wcf服务和实体框架.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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