[]
Configurates IsRequired. Sets a value that determines whether values in the column are required.
public TBuilder IsRequired(bool? value)
Type | Name | Description |
---|---|---|
bool? | value | The value. |
Type | Description |
---|---|
TBuilder | Current builder. |
By default, this property is set to null, which means values are required, but string columns may contain empty strings. When set to true, values are required and empty strings are not allowed. When set to false, null values and empty strings are allowed.