score:1

You're not assigning your predicate anywhere. Change the line to this:

predicate = predicate.Or(a => GetPropertyVal(a, ((FilterAttribute)attrs[0]).FilterPath) == value);

Related Query

More Query from same tag