dataobjects-net icon indicating copy to clipboard operation
dataobjects-net copied to clipboard

Do you have plans to add datetime2 precision support?

Open letarak opened this issue 3 years ago • 2 comments

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

letarak avatar Nov 22 '22 10:11 letarak

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.

alex-kulakov avatar Mar 09 '23 08:03 alex-kulakov

Thx, ok

letarak avatar Mar 12 '23 07:03 letarak