ninjanye / SearchExtensions

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

IsEqual Method Not Found #37

Open za8950 opened 4 years ago

za8950 commented 4 years ago

I'm using version 3.0.1 and I am unable to find the IsEqual method. Containing and StartsWith is available...has IsEqual been deprecated?

ninjanye commented 4 years ago

Hi @za8950 ,

Apologies for the delay. I can confirm that the isEqual() methods have not been deprecated and should be available as before... Are you still having this issue?

kennethhaspeel commented 4 years ago

I can confirm the issue exists. I'm also using version 3.0.1.

.... .Search(x=>x.id).IsEqual(ids)

with ids being a string array results in "QueryableStringSearch ... does not contain a definition for 'IsEqual' ...

I'm using .... .Search(x=>x.id).Containing(ids)

That's working and i'm assuming it gives the same results