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

    • Major Change

      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?

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            kkorniyenko Konstantin Korniyenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: