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

Does DataObject support sql 'date' type?

Open letarak opened this issue 3 years ago • 3 comments

Found this old question https://support.x-tensive.com/question/6369/date-without-time seems to be it is was planned in 5.1.0 'added this to the feature list to implement' Was it done or maybe planned in future version?

letarak avatar Nov 22 '22 10:11 letarak

Hello @letarak, since there is an official .NET6 types DateOnly and TimeOnly we made support for them, I published a PR ( #307) which includes my and our contributors' work that adds support for these types.

For older versions, no, there won't be such feature, at least there are no plans and time for doing this right now. Don't look at 5.1.0 , it was basically born dead.

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

Thx, this awesome 👍

MSSQL 'smalldatetime' should not be expected I think, yes?) Would be similar answer as for https://github.com/DataObjects-NET/dataobjects-net/issues/288

letarak avatar Mar 12 '23 07:03 letarak

MSSQL 'smalldatetime' should not be expected I think, yes?)

Probably yes, at least for medium term

alex-kulakov avatar Mar 20 '23 07:03 alex-kulakov