Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 CONTEXTRECORDID nvarchar(100)   Default = '' The ID of the record that represents the root node of the relationship map instance.
 NAME nvarchar(255)   Default = '' The name of the relationship map instance.
 DESCRIPTION nvarchar(1000)   Default = '' A description of the relationship map instance.
 DEFINITIONXML xml   The relationship map instance definition XML.
 PARAMETERDEFINITIONXML xml The parameter definition XML for filtering the relationship map instance's nodes.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 OTHERSCANMODIFY bit   Default = 1 Flag indicating whether a user other than the owner of the relationship map instance can modify the instance.

Foreign Key Field Type Null Notes Description
 RELATIONSHIPMAPID uniqueidentifier   RELATIONSHIPMAPCATALOG.ID The ID of the relationship map on which the relationship map instance is based.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 OWNERID uniqueidentifier   APPUSER.ID The owner of the relationship map instance.

Index Name Field(s) Unique Primary Clustered
 IX_RELATIONSHIPMAPINSTANCE_CONTEXTRECORDID CONTEXTRECORDID      
 IX_RELATIONSHIPMAPINSTANCE_DATEADDED DATEADDED    
 IX_RELATIONSHIPMAPINSTANCE_DATECHANGED DATECHANGED      
 PK_RELATIONSHIPMAPINSTANCE ID  
 UIX_RELATIONSHIPMAPINSTANCE_RELATIONSHIPMAPID_CONTEXTRECORDID_NAME RELATIONSHIPMAPID, CONTEXTRECORDID, NAME    

Trigger Name Description
 TR_RELATIONSHIPMAPINSTANCE_AUDIT_UPDATE
 TR_RELATIONSHIPMAPINSTANCE_AUDIT_DELETE

Entity-Relationship diagram of this table