Primary Key Field Type
 ID int

Field Field Type Null Notes Description
 Name nvarchar(256)
 Caption nvarchar(256)
 Category nvarchar(256)
 Sequence int   Default = 1
 Editable bit   Default = 1
 UploadFileName nvarchar(256)
 ImageType nvarchar(50)
 ImageSize int
 ImageContent image
 Approved bit   Default = 1
 Private bit   Default = 0
 Guid uniqueidentifier Default = (newid())
 OwnerID int
 Deleted bit   Default = 0

Foreign Key Field Type Null Notes Description
 ClientUsersID int   ClientUsers.ID

Index Name Field(s) Unique Primary Clustered
 IX_ClientUserImages_ClientUsersID ClientUsersID      
 IX_ClientUserImages_GUID_OwnerID_Deleted Guid, OwnerID, Deleted      
 PK_ClientUserImages ID  

Entity-Relationship diagram of this table