System.Linq.Dynamic.Core
System.Linq.Dynamic.Core copied to clipboard
different aggerate functions doesnt work with same func name
Does not work.
"i=>new[]{4,2}.Any(j => i.productId.Equals(j)) && new[]{\"as\"}.Any(j =>i.productName.Contains(j)"
Works fine.
"i=>new[]{4,2}.Any(j => i.productId.Equals(j)) && new[]{\"as\"}.Any(a =>i.productName.Contains(a)"
Did you mean same parameter name in lambda? What happens when it doesn't work?
I think indeed using the j
multiple times fails.
Maybe related to https://github.com/StefH/System.Linq.Dynamic.Core/issues/289