tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code1:33:59

.NET Data Community Standup: EF Core keys and value generation

dotnet ↗

From the creator

In this episode, Arthur and members of the EF Team will explore generated property values and how value generation interacts with keys in the model. We will look at fully client-side value generation, as well as how to use identity columns, database sequences, or a hi-lo pattern for server-side generation. In addition, we’ll investigate how generated key values impact EF Core change tracking by determining if an entity will go into the `Added` state or not. And finally, if we have time, we’ll look at special considerations for TPC mapping, and customizations such as setting before and after save behaviors, and sentinel values. ⌚ Chapters: 00:00 Countdown 02:38 Welcome to .NET Data Community Standup 03:19 State of the Unicorn 07:26 On today's session - keys and value generation 07:57 Sample code - value generation 08:56 Generated property Values: When? 11:56 Generated property Values: How? 14:25 Demo 46:18 Value Generators overview 51:48 Demo 55:12 Keys and value generation 59:37 Demo 01:25:46 Summary of GUID and INTs 01:33:41 Wrap Links: https://learn.microsoft.com/ef/core/learn-more/community-standups Featuring: Arthur Vickers, Shay Rojansky

Published 2024-03-07 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code