Show / Hide Table of Contents

Class EjRoleRecordData

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

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

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

Constructors

EjRoleRecordData()

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

Declaration
public EjRoleRecordData()
Remarks

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

Fields

AccessMask

Access mask for users using this role

Declaration
public int AccessMask
Field Value
Type Description
Int32
Remarks

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

AccessValues

Access values for users using this role

Declaration
public int AccessValues
Field Value
Type Description
Int32
Remarks

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

EjRoleId

The primary key (auto-incremented)

Declaration
public int EjRoleId
Field Value
Type Description
Int32
Remarks

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

Name

This is the name of the role

Declaration
public string Name
Field Value
Type Description
String
Remarks

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

UseCategories

Override user categories with role categories

Declaration
public short UseCategories
Field Value
Type Description
Int16
Remarks

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

UserGroup

The group this user is member of

Declaration
public int UserGroup
Field Value
Type Description
Int32
Remarks

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

UseUserGroup

Override user user group with role

Declaration
public short UseUserGroup
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full EjRoleRow 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 EjRoleTableInfo 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)
EjRoleRecordDataExtensions.ToInsert(EjRoleRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top