Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-954

Nullable Datetime Query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1
    • 1.9
    • Linq
    • None
    • Development

    Description

      I'm trying to query a over mongoDB using a nullable datetime and I get the following error:

      Unable to determine the serialization information for the expression: MyNullableProperty.HasValue.

      for more information take a look to this issue in stackOverflow:

      http://stackoverflow.com/questions/23167181/mongodb-c-sharp-nullable-datetime-query

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            petermuller Pedro Muller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: