When scaffolding any struct type in F# like int or DateTime, it will become an option if the database column is nullable. But when scaffolding a string (or maybe it's any reference type?), it does not become an option.
Maybe that's because the C# scaffolding of a value type will become Nullable, but C# scaffolding of a reference type is not Nullable, because it already can be made null?
When scaffolding any struct type in F# like
int
orDateTime
, it will become anoption
if the database column is nullable. But when scaffolding astring
(or maybe it's any reference type?), it does not become anoption
. Maybe that's because the C# scaffolding of a value type will becomeNullable
, but C# scaffolding of a reference type is notNullable
, because it already can be made null?Version information: