开发者

Can WCF Data Services or RIA Services be implemented with NHibernate?

From what I read on the internets, WCF Data Services seem to be bound to data access via Entity Fra开发者_Go百科mework on the server.

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


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜