Skip to content

ColumnDefinitionType Enum ​

Specifies the type of column definition operation produced during schema comparison or DDL generation.

Namespace: JASE.Database
Assembly: JASE.Database.dll

Underlying Type int

Fields ​

NameValueDescription
Create10The column does not exist in the target schema and must be created.
Change20The column exists but requires a modification to its core definition, such as datatype, precision/scale, collation, or computed expression.
Add30The column should be added to an existing table.
Drop40The column should be removed from the table.
ChangeDefault50The column's default value needs to be added, removed, or replaced.
ChangeNull60The column's NULL/NOT NULL constraint needs to be updated.

Remarks ​

These values represent discrete changes that may be applied when reconciling a table schema with a model definition (e.g., during migration generation or diff analysis).