You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hultqvist This requires #10434, since the SQL translation for DateTime.UtcNow needs to change to take into account the value conversion--see the logs below.
The following two samples return different results.
The date is stored in an integer.
I've tested with two different configurations, the outcome is different with bot but the inconsistency is there in both situations.
Results
With
HaveConversion<DateTimeToTicksConverter>();
With
HaveConversion<long>();
Sample project
https://github.com/hultqvist/ef-core-date
Include version information
Microsoft.Data.Sqlite version: Microsoft.EntityFrameworkCore.Sqlite Version 7.0.4
Target framework: .NET 7.0
Operating system: Windows 11
The text was updated successfully, but these errors were encountered: