Skip to content

Commit 246a6f5

Browse files
committed
Get navigation property even if SaveEntityHistoryWhenNavigationChanges is false.
1 parent 03e52b5 commit 246a6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/EntityHistory/EntityHistoryHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ protected virtual List<EntityPropertyChangeInfo> GetPropertyChanges(EntityEntry
194194
}
195195
}
196196

197-
if (Options.SaveEntityHistoryWhenNavigationChanges && AbpEfCoreNavigationHelper != null)
197+
if (AbpEfCoreNavigationHelper != null)
198198
{
199199
foreach (var (navigationEntry, index) in entityEntry.Navigations.Select((value, i) => ( value, i )))
200200
{

0 commit comments

Comments
 (0)