SqlServerDateOnlyMemberTranslator referencing DateTime instead of DateOnly #32392
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-cleanup
Milestone
SqlServerDateOnlyMemberTranslator referencing DateTime instead of DateOnly
I needed to implement my own SqlServerDateOnlyMemberTranslator and saw that DatePartMapping was using DateTime instead of DateOnly.
It makes no error but it's more about logic. Is it expected ?
Include provider and version information
EF Core version: 8.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: (e.g. .NET 8.0)
Operating system: Windows 11
IDE: Visual Studio 2022 17.8
The text was updated successfully, but these errors were encountered: