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()

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

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

Fields

CRUD

Allowed operations, composed of characters indicating operations.

Declaration
public string CRUD
Field Value
Type Description
string
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.

DataRightId

Primary key

Declaration
public int DataRightId
Field Value
Type Description
int
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.

EncryptedCheck

Encrypted data, to detect unwanted changes

Declaration
public string EncryptedCheck
Field Value
Type Description
string
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.

FieldId

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

Declaration
public int FieldId
Field Value
Type Description
int
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.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
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.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
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.

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

RoleId

Role this dataright is valid for

Declaration
public int RoleId
Field Value
Type Description
int
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.

TableId

ID of table this right is valid for

Declaration
public short TableId
Field Value
Type Description
short
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.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
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.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
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.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
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.

Extension Methods

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