Hello everyone, i have spend some time on getting a like expression working in C# with linq. My goal is to build expression with the help of the expression tree. I searched this forum but didnt found anything usefull so far. example: to create: A => A.text == "Text" I use the following code snippet Code Snippet ParameterExpression entity = Expression .Parameter( typeof (TEntity), "entity" ); Expression ColumnExpr = Expression .Property(entity, Column); Expression ValueExpr = Expression .Constant(
Read More...