Convert an Expression<Func<T,bool>> to an Expression<Func<T1,bool>> so that T is a member of T1
问题 We have an entity of type T1 which has a member of type T . something like this : public class T1 { public T Member{get;set;} } User can use our UI to give us a filter over T and we have translate it to an expression of a function that gets a T and returns bool (Expression<Func<T,bool>>) I would like to know is it possible to convert this to an expression of a function that gets T1 and returns bool. Actually I'd like to convert this : (t=>t.Member1==someValue && t.Member2==someOtherValue); to