本文介绍了EF N-Tier使用WCF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我有一个应用程序,它使用WCF将数据库与UI前端应用程序分开。 MS提供的所有样本都使用桌面隐喻,因为数据库可以直接从UI代码访问(或者重新强化EF为桌面类似应用程序的事实)。我的问题如下: 1。 EF仅适用于类似桌面的应用吗? Codefirst CTP怎么样?似乎有很多工作要让EF在N-Tier架构中工作,作为本论坛的一些答案。 2。什么是性能影响? 在N层应用程序中使用EF有没有真正的工作示例? 谢谢 hoon 解决方案 I have an application that separates the database from the UI front end application using WCF. All samples that MS provides use the desktop metaphor in that the database is directly accessed from the UI code (or re-inforces the fact that EF is for desktop like applications). My questions are as follows:1. Is EF suited for desktop like applications only ? How about the codefirst CTP ? It seems there is lot of work to make EF work in N-Tier architecture as some of the answers in this forum.2. What are the performance implications ?  Does anyone have real work examples in using EF in N-Tier type applications ?Thankshoon 解决方案 这篇关于EF N-Tier使用WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-30 22:00