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
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 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.

Constructors

CategoryMembershipRecordData()

Declaration
public CategoryMembershipRecordData()

Fields

CategoryId

The reference to the category.

Declaration
public int CategoryId
Field Value
Type Description
Int32

CategoryMembershipId

The primary key (auto-incremented)

Declaration
public int CategoryMembershipId
Field Value
Type Description
Int32

UserId

The reference to the ej user.

Declaration
public int UserId
Field Value
Type Description
Int32

Weight

The proportion used for weighted delegation within category if weighted assignment is active. 0 = no automatic assignment, -1 = defined by usergroup via ejCategoryGroup, counts as 0 weight.

Declaration
public short Weight
Field Value
Type Description
Int16

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