Create a custom SQL expression with Entity Framework, or how to make EF interpret your Value Types
Explains how to create a custom SQL expression in Entity Framework to query data using strongly-typed ID value types, solving translation issues.
Explains how to create a custom SQL expression in Entity Framework to query data using strongly-typed ID value types, solving translation issues.
Final part of a series on using C# 9 records as strongly-typed IDs, covering remaining issues with EF Core and ToString() generation.
A guide to integrating C# 9 record-based strongly-typed IDs with Entity Framework Core using value converters.
Explains how to implement type converters for C# 9 record-based strongly-typed IDs to enable proper model binding in ASP.NET Core route and query parameters.
Explains how to use C# 9 record types to create strongly-typed IDs for entities, preventing common bugs caused by mixing up integer IDs.