Skip to content

Do you have plans to add datetime2 precision support? #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
letarak opened this issue Nov 22, 2022 · 2 comments
Open

Do you have plans to add datetime2 precision support? #288

letarak opened this issue Nov 22, 2022 · 2 comments

Comments

@letarak
Copy link

letarak commented Nov 22, 2022

Sometimes, every byte counts
And precision 2 vs 7 it is 6 bytes vs 8 bytes

@alex-kulakov
Copy link
Contributor

Hello @letarak, what do mean by that? Do you want to specify a precision of DateTime fields of Entity, similar to length of string or precision/scale of decimals?

Our goal is to store full range of .NET types whenever it is possible and allowed by storage (MS SQL Server, MySQL, PostgreSQL, etc.).

I can be wrong but from my memory this is first time I was asked about it, so until this point there weren't any plans to give ability to fine-tune DateTime precision.

@letarak
Copy link
Author

letarak commented Mar 12, 2023

Thx, ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants