Appearance
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
| Name | Value | Description |
|---|---|---|
Name | 0 | Alphabetical by column name |
Ordinal | 1 | Orders columns by their declared ordinal position in the table, if known. Falls back to Name ordering when ordinal metadata is unavailable. |
Insert | 2 | Orders columns for INSERT operations: primary key columns first (if applicable), followed by remaining columns ordered alphabetically by name. |
Update | 3 | Orders columns for UPDATE operations, excluding immutable columns, ordered alphabetically by name. |
UpdateAllColumns | 4 | Orders columns for UPDATE operations including all columns: primary key columns first, followed by remaining columns ordered alphabetically by name. |
Upsert | 5 | Orders 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).