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

XMLWordPrintableJSON

    • None
    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      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 Stam
            Reporter:
            Konstantin Korniyenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: