win7user10 / Laraue.EfCoreTriggers

Library to write triggers in C# with EF.Core
MIT License
112 stars 20 forks source link

`current_timestamp` should be converted from `DateTimeOffset.Now` instead of `new DateTimeOffset()` #102

Closed RamType0 closed 2 months ago

RamType0 commented 4 months ago

In C# signature, new DateTimeOffset() returns 0001/01/01 0:00:00 +00:00. So, it is not suitable for current_timestamp representation in C#. It should be DateTimeOffset.Now!

win7user10 commented 2 months ago

Updated that