Closed dxrdxr closed 2 years ago
.Net 6 Preview 4 adds support for 2 new BCL structures: DateOnly and TimeOnly
DateOnly
TimeOnly
DateOnly maps very close to Edm.Date, the only exception is that DateOnly range is only 0-9999 CE, while Edm.Date is -9999-9999.
Edm.Date
TimeOnly maps very close to Edm.TimeOfDay, except that the fractionalSeconds has different precision.
Edm.TimeOfDay
fractionalSeconds
The Convention Builder should recognize these types and map them accordingly.
Note: EF Core 6 does not yet map these types to SQL Server, it is expected in EF Core 7?
Fixed in Commit 024afcb
.Net 6 Preview 4 adds support for 2 new BCL structures:
DateOnly
andTimeOnly
DateOnly
maps very close toEdm.Date
, the only exception is thatDateOnly
range is only 0-9999 CE, while Edm.Date is -9999-9999.TimeOnly
maps very close toEdm.TimeOfDay
, except that thefractionalSeconds
has different precision.The Convention Builder should recognize these types and map them accordingly.
Note: EF Core 6 does not yet map these types to SQL Server, it is expected in EF Core 7?