NETCOMMUNITYCONTENTTYPEMAPPING

Stores a mapping from guids to integers for Blackbaud Internet Solutions content types.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
CONTENTTYPEID int Default = 0 The content type ID in the Blackbaud Internet Solutions database
NAME nvarchar(255) Default = '' The cached name of the content type, from the Blackbaud Internet Solutions web service
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_NETCOMMUNITYCONTENTTYPEMAPPING_DATEADDED DATEADDED yes
IX_NETCOMMUNITYCONTENTTYPEMAPPING_DATECHANGED DATECHANGED
PK_NETCOMMUNITYCONTENTTYPEMAPPING ID yes yes
UIX_NETCOMMUNITYCONTENTTYPEMAPPING_CONTENTTYPEID CONTENTTYPEID yes

Triggers

Trigger Name Description
TR_NETCOMMUNITYCONTENTTYPEMAPPING_AUDIT_UPDATE
TR_NETCOMMUNITYCONTENTTYPEMAPPING_AUDIT_DELETE