Skip to content

ColumnLayout Enum ​

Specifies how columns should be ordered when generating or materializing column lists.

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

Underlying Type int

Fields ​

NameValueDescription
Name0Alphabetical by column name
Ordinal1Orders columns by their declared ordinal position in the table, if known. Falls back to Name ordering when ordinal metadata is unavailable.
Insert2Orders columns for INSERT operations: primary key columns first (if applicable), followed by remaining columns ordered alphabetically by name.
Update3Orders columns for UPDATE operations, excluding immutable columns, ordered alphabetically by name.
UpdateAllColumns4Orders columns for UPDATE operations including all columns: primary key columns first, followed by remaining columns ordered alphabetically by name.
Upsert5Orders columns for UPSERT operations: primary key columns first (if applicable), followed by remaining columns ordered alphabetically by name.

Remarks ​

This enum controls logical column ordering for operations such as INSERT, UPDATE, and schema-driven materialization. Ordering may depend on available metadata (e.g., primary keys, declared ordinal positions).