THEMESTYLESHEET

Stylesheets to apply to pages using this theme

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
STYLESHEETID int Default = 0 Integer primary key of stylesheet to be used in this theme
SEQUENCE int Default = 0 Order of this stylesheet as applied to a page in this theme
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_THEMESTYLESHEET_DATEADDED DATEADDED yes
IX_THEMESTYLESHEET_DATECHANGED DATECHANGED
PK_THEMESTYLESHEET ID yes yes

Triggers

Trigger Name Description
TR_THEMESTYLESHEET_AUDIT_UPDATE
TR_THEMESTYLESHEET_AUDIT_DELETE