In first place I just want to say that it is a great framework!
I'm trying to get few properties of a particular entity from client with the following URL:
But I get the following exception:
_An exception of type 'System.ArgumentNullException' occurred in System.Web.Http.OData.dll but was not handled in user code
Additional information: Value cannot be null._
This is the line of code for the exception:
return new PageResult<Customer>(
queryable as IEnumerable<Customer>,
queryable as IEnumerable<Customer> returns null, so here it is the problem. I think the problem make sense because queryable is not a pure IQueryable<Customer>.
Is there any workaround for this?