I\'ve been playing around with Expression Trees. I have the following simple method that performs a query by dynamically creating an Expression Tree. ItemType is a nullabl
I think you need to convert it
var right = Expression.Constant(ItemTypeValue , typeof(int?)) .... var lambda = Expression.Lambda<Func<T, bool>>( Expression.Equal( Expression.Property(param, "ItemType"), right), param);