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);

View File

@ -18,7 +18,7 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
<Version>3.2.811-preview20240120</Version>
<Version>3.2.811-preview20240125</Version>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
@ -28,14 +28,14 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\FreeSql.DbContext\FreeSql.DbContext.csproj" />
<PackageReference Include="FreeSql.DbContext" Version="3.2.811-preview20240125" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
<DocumentationFile>FreeSql.Extensions.AggregateRoot.xml</DocumentationFile>
<WarningLevel>3</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">
<DefineConstants>net40</DefineConstants>
</PropertyGroup>