-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.0
-
Component/s: BSON, Documentation
-
Environment:
-
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?