I have dynamic string generated from back end which generates expression like:
"Col NOT IN ('ABC','CDE','EDF'...)"
I would like to make use of above string has predicate to my IEnumerable collection. Does Dynamic LINQ supports NOT IN operation?
ABCCDEandEDFvalues are contained in a string array i.e.notInArray = ["ABC", "CDE", "EDF"]. Could you not simply docollection = collection.Where(i => !notInArray.Contains(i.Col))?INisContainsin LINQ: stackoverflow.com/q/15633066/861716string.