You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/fundamentals/serialization/poco.txt
+53-3
Original file line number
Diff line number
Diff line change
@@ -542,8 +542,6 @@ The previous code example sets the following serialization behavior:
542
542
- Because ``1900`` is the default value for this property, the driver will ignore the
543
543
property if it has this value.
544
544
545
-
546
-
547
545
Customize DateTime Serialization
548
546
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
549
547
@@ -610,6 +608,57 @@ registering the class map:
610
608
The ``DateTimeKind`` enum is part of the {+framework+}. For more information on
611
609
its members, see the `Microsoft documentation for the DateTimeKind enum. <https://learn.microsoft.com/en-us/dotnet/api/system.datetimekind?view=net-8.0>`__
612
610
611
+
.. _csharp-poco-dateonly-attr:
612
+
613
+
Custom DateOnly Serialization
614
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
615
+
616
+
To customize how the {+driver-short+} serializes `DateOnly
0 commit comments