Show / Hide Table of Contents

Class DataRightRecordData

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

Inheritance
Object
DataRightRecordData
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 DataRightRecordData
Remarks

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

Constructors

DataRightRecordData()

Declaration
public DataRightRecordData()

Fields

CRUD

Allowed operations, composed of characters indicating operations.

Declaration
public string CRUD
Field Value
Type Description
String

DataRightId

Primary key

Declaration
public int DataRightId
Field Value
Type Description
Int32

EncryptedCheck

Encrypted data, to detect unwanted changes

Declaration
public string EncryptedCheck
Field Value
Type Description
String

FieldId

ID of field this right is valid for. 0 = whole table. Must correspond to tableId!

Declaration
public int FieldId
Field Value
Type Description
Int32

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

RelationToOwner

How is the owner related to the target - 0 = Owner, 1 = Primary group, 2 = Other, 3 = Other group, 4 = External, 5 = Anonymous, 6 = My company, 7 = Same project, 8 = Other to external, 9 = Hide this relation (used with ShownOtherCompanyAssoc functional right)

Declaration
public short RelationToOwner
Field Value
Type Description
Int16

RoleId

Role this dataright is valid for

Declaration
public int RoleId
Field Value
Type Description
Int32

TableId

ID of table this right is valid for

Declaration
public short TableId
Field Value
Type Description
Int16

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)
DataRightRecordDataExtensions.ToInsert(DataRightRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top