可以使用NHibernate实现WCF数据服务或RIA服务吗? [英] Can WCF Data Services or RIA Services be implemented with NHibernate?

查看:59
本文介绍了可以使用NHibernate实现WCF数据服务或RIA服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在互联网上阅读,WCF数据服务似乎受到约束通过服务器上的Entity Framework进行数据访问.

From what I read on the internets, WCF Data Services seem to be bound to data access via Entity Framework on the server.

有没有办法以相同的方式映射NHibernate访问?

Is there a way to have NHibernate access mapped in the same way?

推荐答案

WCF RIA服务当然可以与NHibernate一起使用,我相信WCF数据服务也可以.这两个框架都基于 IQueryable<T> LINQ to NHibernate

WCF RIA Services can certainly be used with NHibernate, and I believe WCF Data Services can too. Both frameworks build on top of IQueryable<T> which can be provided by LINQ to NHibernate

请参见

See this post from Brad Abrams, where he uses RIA Services with NHibernate.

这篇关于可以使用NHibernate实现WCF数据服务或RIA服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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