THEMELAYOUT

Layouts available to pages using this theme

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
LAYOUTID int Default = 0 Integer primary key of layout to be used in this theme
SEQUENCE int Default = 0 Position of this layout in this theme. Site Pages may specify this id to denote which theme layout to use.
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
THEMEID uniqueidentifier yes THEME.ID FK to THEME
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_THEMELAYOUT_DATEADDED DATEADDED yes
IX_THEMELAYOUT_DATECHANGED DATECHANGED
PK_THEMELAYOUT ID yes yes

Triggers

Trigger Name Description
TR_THEMELAYOUT_AUDIT_UPDATE
TR_THEMELAYOUT_AUDIT_DELETE