Synchronization code

This commit is contained in:
sunkaixuan 2023-05-06 15:37:03 +08:00
parent 0e65fa7467
commit ae188d562f

View File

@ -349,7 +349,7 @@ namespace SqlSugar
{ {
expression = ((UnaryExpression)expression).Operand; expression = ((UnaryExpression)expression).Operand;
} }
var member = (expression as MemberExpression).Member.Name; var member = (expression as MemberExpression)?.Member?.Name;
return member; return member;
} }
internal static object GetExpressionValue(Expression expression) internal static object GetExpressionValue(Expression expression)