Skip to content

Commit 3caa871

Browse files
authored
Merge pull request #75 from ThumNet/master
Fix AddedHistory returned null wrongly
2 parents 0a8ba35 + 05c792f commit 3caa871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.EntityFrameworkCore.AutoHistory/Extensions/DbContextExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ internal static TAutoHistory AddedHistory<TAutoHistory>(
128128
Func<TAutoHistory> createHistoryFactory)
129129
where TAutoHistory : AutoHistory
130130
{
131-
if (!IsEntityExcluded(entry))
131+
if (IsEntityExcluded(entry))
132132
{
133133
return null;
134134
}

0 commit comments

Comments
 (0)