File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
fundamentals/serialization Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments