Skip to content

Commit

Permalink
Update src/EFCore/ChangeTracking/Internal/InternalEntityEntry.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Andriy Svyryd <AndriySvyryd@users.noreply.github.com>
  • Loading branch information
ajcvickers and AndriySvyryd authored Oct 19, 2021
1 parent a80c522 commit 1541df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/Internal/InternalEntityEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ public InternalEntityEntry PrepareToSave()
{
if (property.GetContainingForeignKeys().Any(fk => fk.IsOwnership))
{
throw new InvalidOperationException(CoreStrings.SaveOwnedWithoutOwner(entityType.DisplayName()));
throw new InvalidOperationException(CoreStrings.SaveOwnedWithoutOwner(entityType.DisplayName()));
}
throw new InvalidOperationException(CoreStrings.UnknownKeyValue(entityType.DisplayName(), property.Name));
}
Expand Down

0 comments on commit 1541df6

Please sign in to comment.