Skip to content

Commit

Permalink
发布x.6.0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
xuejmnet committed Aug 2, 2022
1 parent a7a1580 commit 1e19ff3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions nuget-publish.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
:start
::定义版本
set EFCORE2=2.6.0.24
set EFCORE3=3.6.0.24
set EFCORE5=5.6.0.24
set EFCORE6=6.6.0.24
set EFCORE2=2.6.0.25
set EFCORE3=3.6.0.25
set EFCORE5=5.6.0.25
set EFCORE6=6.6.0.25

::删除所有bin与obj下的文件
@echo off
Expand Down
2 changes: 1 addition & 1 deletion src/ShardingCore/Extensions/DbContextExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static void RemoveDbContextRelationModelSaveOnlyThatIsNamedType(this DbCo

foreach (var entityType in entityTypes)
{
if (entityType.GetFieldValue("_data") is List<object> _data)
if (entityType.Value.GetFieldValue("_data") is List<object> _data)
{
_data.Clear();
}
Expand Down

0 comments on commit 1e19ff3

Please sign in to comment.