Class ForeignKeyRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the foreignkey table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ForeignKeyRecordData
Remarks
Please use this class instead of a full ForeignKeyRow 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 ForeignKeyTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
ForeignKeyRecordData()
Declaration
public ForeignKeyRecordData()
Fields
ForeigndeviceId
Reference to device definition
Declaration
public int ForeigndeviceId
Field Value
Type | Description |
---|---|
Int32 |
ForeignkeyId
Primary key
Declaration
public int ForeignkeyId
Field Value
Type | Description |
---|---|
Int32 |
RecordId
Record in the referenced table
Declaration
public int RecordId
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 |
Seqno
Sequence number, order of subkeys within one key
Declaration
public int Seqno
Field Value
Type | Description |
---|---|
Int32 |
Subkey
Subkey (optional)
Declaration
public string Subkey
Field Value
Type | Description |
---|---|
String |
Subvalue
Key value
Declaration
public string Subvalue
Field Value
Type | Description |
---|---|
String |
TableId
SuperOffice table reference
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)