Skip to content

Commit a012288

Browse files
committed
wording
1 parent a3cf509 commit a012288

File tree

1 file changed

+3
-3
lines changed
  • source/fundamentals/serialization

1 file changed

+3
-3
lines changed

source/fundamentals/serialization/poco.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,9 @@ MongoDB field. The following table describes the ID generators available in the
337337

338338
To serialize the ``Id`` property as an ``ObjectId``, apply the
339339
``[BsonRepresentation(BsonType.ObjectId)]`` attribute to the property, as shown
340-
in the following code example. In this case, the driver uses the
341-
``ObjectIdGenerator`` type to generate a unique ``ObjectId`` value and assigns
342-
it to the ``Id`` property.
340+
in the following code example. In this case, if the property contains the value
341+
``null``, the driver uses the ``ObjectIdGenerator`` type to generate a unique
342+
``ObjectId`` value and assigns it to the ``Id`` property.
343343

344344
.. code-block:: csharp
345345
:copyable: true

0 commit comments

Comments
 (0)