TestData
is System.Linq.Expressions.LogicalBinaryExpression
I have convert to Expression<Func<Experience, bool>>
this format its occur error
Expression<Func<Experience, bool>> C1 = (Expression<Func<Experience, bool>>)TestData;
Error:
System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'System.Linq.Expressions.LogicalBinaryExpression' to type 'System.Linq.Expressions.Expression
1[System.Func
2[CCIP.Shared.ModelsCCIP.Experience,System.Boolean]]'. Source=CCIP.Data StackTrace:
User contributions licensed under CC BY-SA 3.0