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

In the update methode, don't call the serializer when creating the query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4
    • 1.3.1
    • None
    • Windows7

    Description

      I have a class with a property "Id" that is mapped with a custom serializer.
      When I try to update an element, using the Save method of the MongoCollection class, the query is built without using the serializer to map the property with the correct type.
      I don't use the BSonRepresentationAttribute on my property.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            sbalant Sebastien Balant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: