Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions source/fundamentals/serialization/guid-serialization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ Configure with Attributes
If you're using the {+driver-short+} to
:ref:`automap your {+language+} classes to document schemas <csharp-class-mapping>`,
you can add the ``BsonGuidRepresentation`` attribute to a GUID property
to specify its representation. This attribute accepts a value from the
to specify its representation. This attribute accepts a value from the
`GuidRepresentation <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.GuidRepresentation.html>`__
enum.

The following code example specifies the ``Standard`` GUID representation for the
``G`` property:
Expand Down Expand Up @@ -224,4 +226,5 @@ guide, see the following API documentation:
- `BsonBinaryData <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BsonBinaryData.html>`__
- `BsonGuidRepresentation <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.Serialization.Attributes.BsonGuidRepresentationAttribute.html>`__
- `GuidSerializer <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.Serialization.Serializers.GuidSerializer.html>`__
- `ObjectSerializer <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.Serialization.Serializers.ObjectSerializer.html>`__
- `ObjectSerializer <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.Serialization.Serializers.ObjectSerializer.html>`__
- `GuidRepresentation <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.GuidRepresentation.html>`__
Loading