This table stores the category thumbnail associations for the shopping cart settings.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
CATEGORYCODE |
tinyint |
|
Default = 0 |
The category the thumbnail represents. |
CATEGORY |
nvarchar(18) (Computed) |
yes |
CASE [CATEGORYCODE] WHEN 0 THEN N'Ticket' WHEN 1 THEN N'Membership' WHEN 2 THEN N'Donation' WHEN 3 THEN N'Event Registration' WHEN 4 THEN N'Custom' END |
Provides a translation for the 'CATEGORYCODE' field. |
IMAGEID |
int |
|
Default = 0 |
|
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 |
SHOPPINGCARTSETTINGSID |
uniqueidentifier |
|
SHOPPINGCARTSETTINGS.ID
|
The shopping cart settings the thumbnail is associated with |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_SHOPPINGCARTSETTINGSTHUMBNAILS_DATEADDED |
DATEADDED |
|
|
yes |
IX_SHOPPINGCARTSETTINGSTHUMBNAILS_DATECHANGED |
DATECHANGED |
|
|
|
IX_SHOPPINGCARTSETTINGSTHUMBNAILS_SHOPPINGCARTSETTINGSID |
SHOPPINGCARTSETTINGSID |
|
|
|
PK_SHOPPINGCARTSETTINGSTHUMBNAILS |
ID |
yes |
yes |
|
UIX_SHOPPINGCARTSETTINGSTHUMBNAILS_SHOPPINGCARTSETTINGSID_CATEGORY |
SHOPPINGCARTSETTINGSID, CATEGORY |
yes |
|
|
Triggers