Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 Framework on the server.

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

like image 344
devio Avatar asked Apr 21 '10 08:04

devio


1 Answers

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.

like image 117
Samuel Jack Avatar answered Oct 04 '22 20:10

Samuel Jack