RELATIONSHIPMAPINSTANCE (4.0SP20)

Stores relationship map instances.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RELATIONSHIPMAPID

uniqueidentifier

false

The ID of the relationship map on which the relationship map instance is based.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

OWNERID

uniqueidentifier

false

The owner of the relationship map instance.

Fields
Field Field Type Null Notes Description

CONTEXTRECORDID

nvarchar(100)

false

''

The ID of the record that represents the root node of the relationship map instance.

NAME

nvarchar(255)

false

''

The name of the relationship map instance.

DESCRIPTION

nvarchar(1000)

false

''

A description of the relationship map instance.

DEFINITIONXML

xml

false

The relationship map instance definition XML.

PARAMETERDEFINITIONXML

xml

true

The parameter definition XML for filtering the relationship map instance's nodes.

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.

OTHERSCANMODIFY

bit

false

1

Flag indicating whether a user other than the owner of the relationship map instance can modify the instance.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RELATIONSHIPMAPINSTANCE_CONTEXTRECORDID

CONTEXTRECORDID

False

False

False

IX_RELATIONSHIPMAPINSTANCE_DATEADDED

DATEADDED

False

False

True

IX_RELATIONSHIPMAPINSTANCE_DATECHANGED

DATECHANGED

False

False

False

PK_RELATIONSHIPMAPINSTANCE

ID

True

True

False

UIX_RELATIONSHIPMAPINSTANCE_RELATIONSHIPMAPID_CONTEXTRECORDID_NAME

RELATIONSHIPMAPID

CONTEXTRECORDID

NAME

True

False

False

Triggers
Trigger Name Description

TR_RELATIONSHIPMAPINSTANCE_AUDIT_UPDATE

TR_RELATIONSHIPMAPINSTANCE_AUDIT_DELETE