.NET Nullable Is Not Load State: Preserving SQL NULL in E Expressions
· 4 min read
C# nullable reference types answer an important question: may this property have no value?
They do not answer a different data-access question: was this property loaded at all?
For a partially selected entity, string? Name == null can mean either SQL NULL
or “the query never selected Name.” TeaQL's generated .NET E expressions model
those as separate states and preserve the distinction through ADO.NET mapping.
