EVENTRESTRICTIONOPTION

Holds options for event restrictions

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' The name of the restriction option.
DESCRIPTION nvarchar(255) Default = '' The description of the restriction type option.
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
EVENTRESTRICTIONTYPEID uniqueidentifier EVENTRESTRICTIONTYPE.ID The Event Restriction to which this option corresponds.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EVENTRESTRICTIONOPTION_DATEADDED DATEADDED yes
IX_EVENTRESTRICTIONOPTION_DATECHANGED DATECHANGED
PK_EVENTRESTRICTIONOPTION ID yes yes

Triggers

Trigger Name Description
TR_EVENTRESTRICTIONOPTION_AUDIT_UPDATE
TR_EVENTRESTRICTIONOPTION_AUDIT_DELETE

Referenced by

Referenced by Field
CONSTITUENTRESTRICTIONOPTION EVENTRESTRICTIONOPTIONID
REGISTRANTRESTRICTIONOPTION EVENTRESTRICTIONOPTIONID