WCF 数据服务或 RIA 服务可以用 NHibernate 实现吗?

发布于 2024-08-29 07:30:25 字数 212 浏览 2 评论 0原文

我在互联网上读到的内容来看,WCF数据服务似乎与数据访问绑定在一起通过服务器上的实体框架。

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

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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

榆西 2024-09-05 07:30:25

WCF RIA 服务当然可以与 NHibernate 一起使用,我相信 WCF 数据服务也可以。这两个框架都构建在 IQueryable< /a> 可以通过 LINQ to 提供NHibernate

请参阅此帖子,来自 Brad Abrams,他在其中将 RIA 服务与 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.

与君绝 2024-09-05 07:30:25

WCF 数据服务和 NHibernate 有一些您应该注意的限制。除了 IQueryable 之外,图片还有更多内容,请自行查看:

http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/thread/fcdaca20-73ea-4abb-b70b-981fe2728351

WCF Data Services and NHibernate have limitations you should be aware of. There is a bit more to the picture besides just IQueryable, have a look for your self:

http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/thread/fcdaca20-73ea-4abb-b70b-981fe2728351

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文