Following exception occurs when applying a comparison operator on a field of type DateTime:
Unsupported where clause: (DateTime:(2012-04-03T12:45:32.5348776Z) < s.CreatedOn)
The query is as follows:
.Where(s => DateTime.UtcNow < s.ExpireOn)
Note: This is supported by FluentMongo
- depends on
-
CSHARP-431 Allow constant to appear on either side of comparison operator in LINQ queries
- Closed