I'm currently using Mapster as mapping tool for OData in order to optimize my sql queries with entity framework and avoid exposing the DAL :)
But when I'm using new Mapper().From(IQueryable query).ProjectTo().OrderBy(e => e.Id); I can't OrderBy the result of the projection, it says can't cast MapsterQueryable to IOrderedQueryable.
So I've added the interface and one unit test to ensure it's possible now.
Regards.
I'm currently using Mapster as mapping tool for OData in order to optimize my sql queries with entity framework and avoid exposing the DAL :)
But when I'm using new Mapper().From(IQueryable query).ProjectTo().OrderBy(e => e.Id); I can't OrderBy the result of the projection, it says can't cast MapsterQueryable to IOrderedQueryable.
So I've added the interface and one unit test to ensure it's possible now. Regards.