Method ModifyNotNull
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
ModifyNotNull(bool)
Changes the nullability of this column and marks it for update via UpdateSchema(Schema, bool).
public Column ModifyNotNull(bool notNull)
Parameters
notNullbooltrueto add a NOT NULL constraint to the column;falseto make the column nullable.
Returns
- Column
This column instance, to allow chaining.
Remarks
Automatically sets ColumnUpdate to true, causing UpdateSchema
to issue an ALTER TABLE ALTER COLUMN (or equivalent) statement for this column.