关于[C# 9 records as strongly-typed ids - Part 4: Entity Framework Core integration]的摘要:
So far in this series, I showed how to use C# 9 records to declare strongly-typed idsas easily as this...I also explained how to make them work correctly with ASP.NET Core model binding and JSON serialization. Today, I’ll present another piece of the puzzle: how to make Entity Framework core handle strongly-typed ids correctly.