Class CategoryRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Category table.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class CategoryRecordData
Remarks
Please use this class instead of a full CategoryRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CategoryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
CategoryRecordData()
Declaration
public CategoryRecordData()
Fields
CategoryFamilyId
Optional link to family, for grouping things like multiple kinds of customer category under family 'customer'
Declaration
public int CategoryFamilyId
Field Value
Type | Description |
---|---|
System.Int32 |
CategoryId
Primary key
Declaration
public int CategoryId
Field Value
Type | Description |
---|---|
System.Int32 |
Deleted
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists
Declaration
public short Deleted
Field Value
Type | Description |
---|---|
System.Int16 |
Name
The list item
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
Rank
Rank order
Declaration
public short Rank
Field Value
Type | Description |
---|---|
System.Int16 |
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
System.DateTime |
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
System.Int32 |
Tooltip
Tooltip or other description
Declaration
public string Tooltip
Field Value
Type | Description |
---|---|
System.String |
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
System.DateTime |
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
System.Int32 |
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
System.Int16 |