public static Expression <Func <T, bool> > GenerateTypeLambda <T>(this ParameterExpression param, Expression body) { return((Expression <Func <T, bool> >)(param.GenerateLambda(body))); }