-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Search datetime using string #23
Comments
Could you expand on what it is you are trying to achieve? Have you tried, |
LINQ does not support null-coalescing operator, so this which leads to a lot of duplicated code like this: Not asking for the feature, but after reading @ninjanye's blog posts on the topic I haven't seen a single example with NULL DATETIME columns. So more of an FYI than a feature request. |
Hi @yzorg Thanks for getting in touch, could you link me to the particular article you are referring to and I'll try and see if I can help clear things up |
I also converted a DateTime to a string but how can you do a search on the full date or multiple parts of a date? I clould only manage to do a search on one part of the date, the year for example. Searching on "2022-03" gives an empty collection (while there are records with a TransactionDateTime of march this year). When I try to pass a format to the ToString method, I get a Linq error: Error: |
query.Search(p=>p.date).soundex("10")
search datetime
The text was updated successfully, but these errors were encountered: