ninjanye / SearchExtensions

Library of IQueryable extension methods to perform searching
MIT License
331 stars 52 forks source link

Compatibility with Entity Framework Plus library #36

Open JakubHolovsky opened 4 years ago

JakubHolovsky commented 4 years ago

this is more of a feature request. We are using quite widely used library called EntityFramework.Plus https://entityframework-plus.net/

however it seems that if I use query generation by SearchExtensions -> the resulting object query is not compatible with EF.Plus

I wonder if it would be possible to provide a compatible object query -> here is the impacted EF.Plus code.

https://github.com/zzzprojects/EntityFramework-Plus/blob/master/src/shared/Z.EF.Plus._Core.Shared/EF5_EF6/IQueryable%60/IQueryable%60.GetObjectQuery.cs

Also an email from the author I got in regards to this issue:

We support multiple ways to retrieve the object query but it look that this library doesn’t provide it in one of the support ways we offer: https://github.com/zzzprojects/EntityFramework-Plus/blob/master/src/shared/Z.EF.Plus._Core.Shared/EF5_EF6/IQueryable%60/IQueryable%60.GetObjectQuery.cs