Skip to content

Commit

Permalink
[5.0.3] Set relationship snapshot correctly for skip navigations
Browse files Browse the repository at this point in the history
Fixes #23787
  • Loading branch information
ajcvickers committed Jan 5, 2021
1 parent d6fc81a commit 7047059
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 32 deletions.
2 changes: 2 additions & 0 deletions src/EFCore/ChangeTracking/Internal/NavigationFixer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,8 @@ private void InitialFixup(

AddToCollection(otherEntry, skipNavigation.Inverse, entry, fromQuery);
}

entry.AddToCollectionSnapshot(skipNavigation, otherEntity);
}
}
}
Expand Down
Loading

0 comments on commit 7047059

Please sign in to comment.