comminity-data-odata-linq icon indicating copy to clipboard operation
comminity-data-odata-linq copied to clipboard

Add DateOnly and TimeOnly support

Open kvpt opened this issue 3 years ago • 1 comments

Hi,

I recently migrated a project to .NET6 and started to use DateOnly type introduced with it. This caused an exception when used with this library because these new types (DateOnly and TimeOnly) are unknown. So I tried to add support for them to the library, I tried to reproduce the same logic as the others types but I'm not sure if all the changes are correct, particularly the CreateBinaryExpression part.

These changes fix the exception and works fines in my project but I only use simple case.

Do these changes look good to you ?

kvpt avatar May 09 '22 09:05 kvpt

Hi @kvpt , please add unit tests

IharYakimush avatar May 28 '22 12:05 IharYakimush