We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11f5efb commit 641fcdcCopy full SHA for 641fcdc
source/fundamentals/serialization/poco.txt
@@ -498,10 +498,10 @@ following example:
498
classMap.MapMember(h => h.Style).SetIgnoreIfNull(true);
499
});
500
501
-.. note:: Numerical Properties
+.. note:: Value Type Properties
502
503
You cannot use the ``[BsonIgnoreIfNull]`` attribute or
504
- ``SetIgnoreIfNull()`` method to prevent uninitialized numerical
+ ``SetIgnoreIfNull()`` method to prevent uninitialized value type
505
properties from being serialized unless you mark the properties as
506
nullable. Instead, use the ``[BsonIgnoreIfDefault]`` attribute or
507
``SetIgnoreIfDefault()`` class map method, which are described in the
0 commit comments