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

Members that have no setter, but are set via MapCreator, do not get automapped to elements in 2.0+ driver

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Create a class with a get-only property. Initialize the member in the constructor from a constructor argument. Map the property using MapCreator. Automap the class map as well.

      When retrieving the class map, you will get an exception that the argument is unmapped. This differs from 1.x driver behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david@funnelfire.com David Pfeffer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: