Enum NestedObjectDbNullHandling
How null-shaped values are pre-filtered when a container's element or field slot is erased to object. CLR semantics are the floor (Default), extended modes layer database null sentinel recognition on top. Strongly-typed slots resolve nulls through the nested converter directly and don't consult this knob.
[Experimental("NPG9001")]
public enum NestedObjectDbNullHandling
Fields
Default = 0CLR null becomes a database null. Database null sentinels are passed through to the nested converter.
Extended = 1CLR null and database null sentinels both become a database null.
ExtendedThrowOnNull = 2CLR null throws. Database null sentinels become a database null.
Remarks
Parameter-shaped containers (e.g. an object[] parameter) use Extended because the
parameter layer treats database null sentinels as a first-class null expression alongside CLR null.
Typed composites generally use Default. These create a new serialization scope where database null sentinels are not recognized.