First Handling of null check.
This commit is contained in:
@@ -14,15 +14,7 @@ namespace PoweredSoft.DynamicLinq.Parser
|
||||
return result;
|
||||
}
|
||||
|
||||
public static Expression CompileGroup(this ExpressionParserPieceGroup group, SelectNullHandling NullHandling)
|
||||
{
|
||||
var expr = group.Parameter as Expression;
|
||||
group.Pieces.ForEach(piece =>
|
||||
{
|
||||
expr = Expression.PropertyOrField(expr, piece.Name);
|
||||
});
|
||||
return expr;
|
||||
}
|
||||
|
||||
|
||||
public static Type GroupEnumerableType(this ExpressionParserPieceGroup group)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user