This commit is contained in:
2881099
2024-01-25 21:41:02 +08:00
parent 3fc119cc6f
commit d32ba64bab
33 changed files with 35 additions and 35 deletions

View File

@ -334,7 +334,7 @@ namespace FreeSql
statckPath.Pop();
break;
case TableRefType.ManyToMany:
var middleValues = GetManyToManyObjects(fsql, table, tbref, entity, prop).ToArray();
var middleValues = GetManyToManyObjects(fsql, table, tbref, entity, prop)?.ToArray();
if (middleValues == null) continue;
statckPath.Push($"{prop.Name}[]");
stackValues.Add(middleValues);