你的位置: 码友网首页 / 资讯源列表 / C# 9 records as strongly-typed ids - Part 4: Entity Framework Core integration

关于[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.

原文地址: https://thomaslevesque.com/2020/12/23/csharp-9-records-as-strongly-typed-ids-part-4-entity-framework-core-integration/

收录时间: 2020-12-25 浏览量: 1762 分类: C#开发

| 0 收藏 | 0