PAGEMODELDESIGNITEM

Tracks each CMS artifact added to a Model Design.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ARTIFACTID uniqueidentifier GUID of this item in the page model spec.
PRIMARYKEY int Default = 0 The integer ID of this modelled CMS item.
OBJECTGUID uniqueidentifier yes GUID of this modelled CMS item.
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
MODELID uniqueidentifier yes PAGEMODELDESIGN.ID Refers to the ID of the PAGEMODELDESIGN parent record that contains this CMS item. This will be the ModelID in the generated model XML.
OBJECTTYPEID int ObjectTypes.ID Object type of the this CMS item. See OBJECTTYPES table.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_PAGEMODELDESIGNITEM_DATEADDED DATEADDED yes
IX_PAGEMODELDESIGNITEM_DATECHANGED DATECHANGED
IX_PAGEMODELDESIGNITEM_MODELID MODELID
IX_PAGEMODELDESIGNITEM_OBJECTGUID OBJECTGUID
PK_PAGEMODELDESIGNITEM ID yes yes

Triggers

Trigger Name Description
TR_PAGEMODELDESIGNITEM_AUDIT_UPDATE
TR_PAGEMODELDESIGNITEM_AUDIT_DELETE