Skip to content

Commit 9a85c7d

Browse files
committed
FP tech review2
1 parent 294b36e commit 9a85c7d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

source/fundamentals/serialization/poco.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,9 +621,10 @@ the following settings:
621621
- ``Representation``: Set to a ``BsonType`` instance that specifies how
622622
the ``DateOnly`` value is stored in MongoDB.
623623

624-
- ``DocumentFormat``: Set only if you set the ``Representation``
625-
property to ``BsonType.Document``. You can set ``DocumentFormat`` to
626-
one of the following ``DateOnlyDocumentFormat`` enum values:
624+
- ``DocumentFormat``: This option applies only if you set the ``Representation``
625+
property to ``BsonType.Document`` and is ignored otherwise. You can
626+
set ``DocumentFormat`` to one of the following
627+
``DateOnlyDocumentFormat`` enum values:
627628

628629
- ``DateTimeTicks`` (default): Document contains ``DateTime``
629630
(``BsonType.DateTime``) and ``Ticks`` (``BsonType.Int64``) fields

source/whats-new.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ The 3.2 driver release includes the following new features:
123123
:ref:`csharp-atlas-vector-search` guide.
124124

125125
- Adds the ``DocumentFormat`` property to the ``DateOnlySerializer``.
126-
This property allows you to customize the way that the driver stores
127-
``DateOnly`` values in nested documents. This release also adds the
126+
This property allows you to customize the way that the driver serializes
127+
``DateOnly`` values. This release also adds the
128128
``[BsonDateOnlyOptions()]`` attribute to customize serialization
129129
behavior for ``DateOnly`` values at the property level. To learn more,
130130
see the :ref:`csharp-poco-dateonly-attr` section of the POCOs guide.

0 commit comments

Comments
 (0)