Trouble with building a C# EntityFramework IQueryable Expression
问题 So I'm attempting to build a semi complication Search expression, but I'm stuck trying to create a basic one. The expressions being used for getValueExpression look something like: x => x.PropertyA != null ? x.PropertyA.ToShortDateString() : "" //nullable datetime x => x.PropertyB //string property x => x.PropertyC != null x.PropertyC.ToString() : "" //nullable int Here is my function code, it currently errors when getValueExpression being of type Func that can't be compared to a string,