WIDGETGALLERY (4.0SP14)

Widget Gallery

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

WIDGETID

int

false

0

Widget ID

NAME

nvarchar(250)

false

''

Widget Name

DESCRIPTION

nvarchar(1000)

false

''

Widget Usage Description

DEFAULTTEXT

nvarchar(4000)

false

''

Default Display Text

ISACTIVE

bit

false

1

Indicates whether this is active or not

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

PARENTWIDGETID

int

true

FK to WIDGETGALLERY

Indexes
Index Name Field(s) Unique Primary Clustered

IX_WIDGETGALLERY_DATEADDED

DATEADDED

False

False

True

IX_WIDGETGALLERY_DATECHANGED

DATECHANGED

False

False

False

PK_WIDGETGALLERY

ID

True

True

False

UIX_WIDGETGALLERY_WIDGETID

WIDGETID

True

False

False

Triggers
Trigger Name Description

TR_WIDGETGALLERY_AUDIT_UPDATE

TR_WIDGETGALLERY_AUDIT_DELETE