MAPPINGCREDENTIALS

Contains the credentials for the mapping web service.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
USERNAME nvarchar(100) Default = '' The username for the mapping account.
PASSWORD nvarchar(4000) Default = '' The password for the mapping account.
PRODUCTION bit Default = 1 Indicates that the logins are for the production services.
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.
KEY nvarchar(4000) Default = '' The Bing Maps key that should be used to access mapping features.

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_MAPPINGCREDENTIALS_DATEADDED DATEADDED yes
IX_MAPPINGCREDENTIALS_DATECHANGED DATECHANGED
PK_MAPPINGCREDENTIALS ID yes yes

Triggers

Trigger Name Description
TR_MAPPINGCREDENTIALS_AUDIT_UPDATE
TR_MAPPINGCREDENTIALS_AUDIT_DELETE