Show / Hide Table of Contents

Class CategoryRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Category table.

Inheritance
Object
CategoryRecordData
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
Int32

CategoryId

Primary key

Declaration
public int CategoryId
Field Value
Type Description
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
Int16

Name

The list item

Declaration
public string Name
Field Value
Type Description
String

Rank

Rank order

Declaration
public short Rank
Field Value
Type Description
Int16

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

Tooltip

Tooltip or other description

Declaration
public string Tooltip
Field Value
Type Description
String

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
CategoryRecordDataExtensions.ToInsert(CategoryRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top