Skip to content

Commit

Permalink
Fix tabbed content in Keys page (#4153)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvandertil authored Nov 21, 2022
1 parent a1bfe59 commit 84c841a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entity-framework/core/modeling/keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ internal class Car

[!code-csharp[KeyComposite](../../../samples/core/Modeling/Keys/FluentAPI/KeyComposite.cs?name=KeyComposite&highlight=4)]

***

## Value generation

For non-composite numeric and GUID primary keys, EF Core sets up value generation for you by convention. For example, a numeric primary key in SQL Server is automatically set up to be an IDENTITY column. For more information, see [the documentation on value generation](xref:core/modeling/generated-properties) and [guidance for specific inheritance mapping strategies](xref:core/modeling/inheritance#key-generation).
Expand Down

0 comments on commit 84c841a

Please sign in to comment.