efcore
efcore copied to clipboard
Translate DateTimeOffset.ToUnixTime[Seconds|Milliseconds]
Added translation for DateTimeOffset.ToUnixTime[Seconds|Milliseconds]
Fixes #28925
Could anyone help me improve the tests? Thank you in advance
Marked as blocked since we shouldn't merge until we are actively working in main again.
Cosmos has DateTimeToTicks which returns ticks since unix epoch though not sure if Cosmos can handle DateTimeOffset as a type. Add translation if it is supported.
Converting to draft for now as we're not merging this for 7.0.
Can I mark it "ready for review"?
Rebased, removed SQLite translations, and propagated the type mapping from instance to UnixEpoch.