RELATIONSHIPMAPCATALOG

Contains the metadata for relationship map specs.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' The name to identify the relationship map.
DESCRIPTION nvarchar(255) Default = '' The description of the relationship map.
RELATIONSHIPMAPSPECXML xml XML used to define the relationship map.
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
CONTEXTRECORDTYPEID uniqueidentifier RECORDTYPE.ID Context record type ID of the relationship map spec.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_RELATIONSHIPMAPCATALOG_DATEADDED DATEADDED yes
IX_RELATIONSHIPMAPCATALOG_DATECHANGED DATECHANGED
PK_RELATIONSHIPMAPCATALOG ID yes yes
UC_RELATIONSHIPMAPCATALOG_NAME NAME yes

Triggers

Trigger Name Description
TR_RELATIONSHIPMAPCATALOG_AUDIT_UPDATE
TR_RELATIONSHIPMAPCATALOG_AUDIT_DELETE

Referenced by

Referenced by Field
RELATIONSHIPMAPINSTANCE RELATIONSHIPMAPID