Browse Source
Get navigation property even if `SaveEntityHistoryWhenNavigationChanges` is `false`.
pull/21873/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/EntityHistory/EntityHistoryHelper.cs
|
|
@ -194,7 +194,7 @@ public class EntityHistoryHelper : IEntityHistoryHelper, ITransientDependency |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (Options.SaveEntityHistoryWhenNavigationChanges && AbpEfCoreNavigationHelper != null) |
|
|
if (AbpEfCoreNavigationHelper != null) |
|
|
{ |
|
|
{ |
|
|
foreach (var (navigationEntry, index) in entityEntry.Navigations.Select((value, i) => ( value, i ))) |
|
|
foreach (var (navigationEntry, index) in entityEntry.Navigations.Select((value, i) => ( value, i ))) |
|
|
{ |
|
|
{ |
|
|
|