Web Api with OData v4 throwing exception on $select
问题 I'm using the latest version of WebApi and OData and everything is set up to work right. The only problem is when I try to use $select . It throws the error bellow Object of type 'System.Linq.EnumerableQuery`1[System.Web.OData.Query.Expressions.SelectExpandBinder+SelectAll`1[WebApplication1.Controllers.Person]]' cannot be converted to type 'System.Collections.Generic.IEnumerable`1[WebApplication1.Controllers.Person]'. I looked at the documentation and their suggestion is to use [Queryable] on