Reference > Configuration > Scaffolding
Language Features
As Microsoft releases new language features supporting an opt-in process, dbExpression will expose those same opt-in features as they impact the scaffolded code. If your environment/project will opt-in to a language feature, simply replicate that opt-in in the scaffold configuration file.
The following pseudo-json shows all language feature related properties:
{
"languageFeatures" : {
"nullable": "{enable|disable}"
}
}
nullable
Opts-in/out of using the nullable language feature by including a #nullable enable or #nullable disable preprocessor directive in generated files. The ommission of the nullable property from the configuration file will result in NO preprocessor directive for nullable in the generated files.
| Data type | string |
| Default value | null |
| Valid values |
|
syntax examples
