Class RoleRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Role table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class RoleRecordData : Object
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
RoleRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Role table.
Declaration
public RoleRecordData()
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Deleted
1 if role has been deleted (we do not actually delete)
Declaration
public short Deleted
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo 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 RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Name
Visible role name
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Rank
Sorting rank of this role in lists
Declaration
public short Rank
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo 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 RoleRow 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 RoleTableInfo 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 |
---|---|
Int32 |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RoleId
Primary key
Declaration
public int RoleId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RoleType
0 = employee, 1 = external user, 2 = anonymous
Declaration
public RoleType RoleType
Field Value
Type | Description |
---|---|
RoleType |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Tooltip
Visible tooltip
Declaration
public string Tooltip
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo 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 RoleRow 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 RoleTableInfo 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 |
---|---|
Int32 |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo 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 |
---|---|
Int16 |
Remarks
Please use this class instead of a full RoleRow 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 RoleTableInfo 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 RoleRow 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 RoleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.