Serialize expression tree
问题 I'm doing a distributed system in c# and have encountered a barrier. I need to be able to serialize Predicate with type Predicate<ICollection<IEntity>> p = (entities => entities.OfType<Person>().Count() <= 3); I belive this is not possible in .net so my question is if there exists any frameworks that can do the trick. I've already tried a couple of frameworks, but keep running into the problem that their are not able to serialize predicates that takes a collection or list Hope anyone knows a