Show / Hide Table of Contents

Class CategoryMembershipRecordData

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

Inheritance
Object
CategoryMembershipRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class CategoryMembershipRecordData : Object
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

CategoryMembershipRecordData()

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

Declaration
public CategoryMembershipRecordData()
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

CategoryId

The reference to the category.

Declaration
public int CategoryId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

CategoryMembershipId

The primary key (auto-incremented)

Declaration
public int CategoryMembershipId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

IsDefinedByUsergroup

Specifies if membership was defined by usergroup via ejCategoryGroup

Declaration
public short IsDefinedByUsergroup
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UserId

The reference to the ej user.

Declaration
public int UserId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Weight

The proportion used for weighted delegation within category if weighted assignment is active. 0 = no automatic assignment.

Declaration
public short Weight
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full CategoryMembershipRow 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 CategoryMembershipTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

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