OData EndPoint/DataService Using IEnumerable<IQueryable>

Posted by Elijah Glover on Stack Overflow See other posts from Stack Overflow or by Elijah Glover
Published on 2010-05-12T02:20:12Z Indexed on 2010/05/12 2:24 UTC
Read the original article Hit count: 1114

Filed under:
|
|
|
|

I am using NHibernate with NHibernate.Linq, and have a bunch of dynamically loading modules each with their own POCO's and Mappings (ClassMap<POCO>).

I have created OData services before, but normally with a datacontext and IQueryable as Properties/Getters.

What I want is to create the service by passing in IEnumerable, into the constructor

IEnumerable<IQueryable>> queryableObjects;
var dataService = new DataService(queryableObjects);

Is this at all possible?

© Stack Overflow or respective owner

Related posts about OData

Related posts about wcf