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
I am very new about PostgreSQL, I would like to ask you if there is a reason why you decided not to support DateTime.AddMilliseconds (and also DateTime.AddMicroseconds). In the class Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.NpgsqlDateTimeMethodTranslator
I found
I can't say I remember exactly at this point - back when I was originally implementing this, I remember running into some difficulties with the translation, possibly because sub-millisecond components are treated as fractional (floating point) and it was a bit complicated. Nobody has since actually needed that translation as far as I can remember.
Hi @roji , I would like to try implementing it, I will probably fail but it will be a valuable experience. Honestly, this is the first time I attempt this kind of intervention, which repository would you recommend I clone?
I'm not sure what you're asking here - this repository (where we're talking) is where the source code lives, and where you'll need to submit the PR. You can read some getting started tutorials for github and open source to understand the PR process better.
I apologize, I really expressed myself poorly. I meant which branch was better to start from. It seems that the main branch requires .Net10 and I would like to avoid getting tangled up with unofficial versions. The more correct question would have been if it's okay to start , for example, from the branch hotfix/9.0.4. I will still go read some tutorials.
@GLuca74 the PR itself will have to be submitted against the main branch (for EF 10), as it's a new feature. You should simply be able to run restore.cmd (or restore.sh) at the repo root, that will download the correct SDK needed by EF, and then startvs.cmd should start VS using it - it should all be relatively painless.
Hello,
I am very new about PostgreSQL, I would like to ask you if there is a reason why you decided not to support
DateTime.AddMilliseconds
(and alsoDateTime.AddMicroseconds
). In the classNpgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.NpgsqlDateTimeMethodTranslator
I found
AddMilliseconds
is mentioned but has been commented out.Thank you
The text was updated successfully, but these errors were encountered: