mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Synchronization code
This commit is contained in:
parent
6ab50aa602
commit
507b56f653
@ -393,6 +393,10 @@ namespace SqlSugar
|
||||
var mi = memberInfos.Pop();
|
||||
if (mi.MemberType == MemberTypes.Property)
|
||||
{
|
||||
if (objReference == null)
|
||||
{
|
||||
Check.ExceptionEasy($"Expression error {rootExpression?.ToString()} expression, An empty reference appears in the expression to check if the parameter is null ", $"表达式错误 {rootExpression?.ToString()} 表达式中出现了空引用 检查参数是否为null ");
|
||||
}
|
||||
var objProp = objReference.GetType().GetProperties().Where(it=>it.Name== mi.Name).FirstOrDefault();
|
||||
if (objProp == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user