How to use MethodInfo and lifttonull in Expression equality on c#
问题 I'm trying to use Expression.NotEqual() (here) But I can't understand how to use the methodInfo. I'm trying to make a comparition to a possible bool?. This is the property that I want to evaluate, wich was added to database after release (creating null's as well as true and falses: public bool? Deactivated { get; set; } = false; I'm using a working expression builder with generic that accepts parameters sent in a object that has a List of WhereParameters like bellow: List<WhereParameters>