Table of Contents

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

notNull bool

true to add a NOT NULL constraint to the column; false to 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.