Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Apr 29, 2022
1 parent b320d08 commit 10d9090
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 116 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>3.2.602</Version>
<Version>3.2.603</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion FreeSql.DbContext/DbSet/DbSetAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async public Task AddRangeAsync(IEnumerable<TEntity> data, CancellationToken can
await AddOrUpdateNavigateListAsync(item, true, null, cancellationToken);
return;
default:
if (_tableIdentitys.Length == 1 && _tableReturnColumns.Length == 1)
if (_tableIdentitys.Length == 1)
{
foreach (var s in data)
await AddPrivAsync(s, false, cancellationToken);
Expand Down
2 changes: 1 addition & 1 deletion FreeSql.DbContext/DbSet/DbSetSync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void AddRange(IEnumerable<TEntity> data)
AddOrUpdateNavigateList(item, true, null);
return;
default:
if (_tableIdentitys.Length == 1 && _tableReturnColumns.Length == 1)
if (_tableIdentitys.Length == 1)
{
foreach (var s in data)
AddPriv(s, false);
Expand Down
9 changes: 9 additions & 0 deletions FreeSql.DbContext/FreeSql.DbContext.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 10d9090

Please sign in to comment.