N层实体框架? [英] N Tier Entity Framework?

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

问题描述

我打算在Ntier架构中使用带有WCF的Entity Framework 5或6创建一个WPF和ASP.NET应用程序。(T想要在桌面n web中使用不同的数据库sql和oracle的相同应用程序,所以如果有更好的方法以其他方式做同样的事情请建议...)







任何样本WPF使用N层实体框架和实体框架6的应用程序..







如果有人有任何符合我要求的参考或样品项目请回答...

提前谢谢..

I am planning to create an WPF & ASP.NET application using Entity Framework 5 or 6 with WCF in Ntier architecture..(T want the same application in desktop n web with different databases sql n oracle so if there is better way to do the same in some other manner please suggest ...)

Or

Any Sample WPF application which is using N-Tier Entity Framework and Entity Framework 6..



If anybody has any reference or sample project which suits my requirement please answer...
Thanks in advance..

推荐答案

我建​​议你去WPF-Silverlight而不是WPF-ASP.NET。由于像XAML,MVVM等类似,所以它很容易,因为你可以为两个项目使用相同的代码。检查这些

使用Prism构建单一代码库的WPF和Silverlight应用程序 [ ^ ]

对比Silverlight和WPF [ ^ ]

Microsoft WPF - Silverlight Comparision [ ^ ]

使用WPF进行数据绑定 [ ^ ]



XAMLFinance - A Cross-平台WPF,Silverlight& WP7应用程序 [ ^ ]
I suggest you to go with WPF-Silverlight instead of WPF-ASP.NET. Because of similaries like XAML, MVVM, etc., So it'll be easy for you as you could use the same code for two projects. Check these
Building WPF and Silverlight Applications with a Single Code Base Using Prism[^]
Contrasting Silverlight and WPF[^]
Microsoft WPF - Silverlight Comparision[^]
Databinding with WPF[^]
and
XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application[^]


您可能有兴趣使用开源 N-Tier实体框架 [ ^ ]在服务器端使用实体框架生成基于WCF构建n层架构的整个基础架构,包括客户端的类似EF的API,Silverlight和.NET
You might be interested in using the open source N-Tier Entity Framework[^] which uses Entity Framework on server-side and generates the entire infrastructure for building an n-tier architecture based on WCF including an EF-like API on client-side for both, Silverlight and .NET


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

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