mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-20 04:48:16 +08:00
update pgsql tests
This commit is contained in:
@ -2272,7 +2272,11 @@ namespace FreeSql.Internal
|
||||
}
|
||||
while (expStack.Any())
|
||||
{
|
||||
if (firstValue == null) throw new Exception(CoreStrings.Cannot_Be_NULL_Name(exp));
|
||||
if (firstValue == null)
|
||||
{
|
||||
success = false;
|
||||
return null;
|
||||
}
|
||||
var expStackItem = expStack.Pop() as MemberExpression;
|
||||
if (expStackItem.Member.MemberType == MemberTypes.Property)
|
||||
firstValue = ((PropertyInfo)expStackItem.Member).GetValue(firstValue, null);
|
||||
|
Reference in New Issue
Block a user