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

SetRepresentation is removed in driver version 2.0 and up, but still present in docs

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Major Change
    • Sprint:
      C# Sprint 48 02/10/2017

      Description

      According to [https://jira.mongodb.org/browse/DOCS-5155?jql=project%20%3D%20DOCS%20AND%20text%20~%20%22SetRepresentation%22|this] Jira issue documentation is driving by the dev team.

      So at this [http://mongodb.github.io/mongo-csharp-driver/2.0/reference/bson/mapping/#representation|page], there is a usage of SetRepresentation, which was excluded from version 2.0 and up.

      For example:
      cm.IdMemberMap.SetRepresentation(BsonType.ObjectId);

      Can someone fix this?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: