Show / Hide Table of Contents

Class ForeignKeyRecordData

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

Inheritance
Object
ForeignKeyRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ForeignKeyRecordData : Object
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()

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

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

Fields

ForeigndeviceId

Reference to device definition

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

ForeignkeyId

Primary key

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

RecordId

Record in the referenced table

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

Registered

Registered when in UTC.

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

RegisteredAssociateId

Registered by whom

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

Seqno

Sequence number, order of subkeys within one key

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

Subkey

Subkey (optional)

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

Subvalue

Key value

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

TableId

SuperOffice table reference

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

Updated

Last updated when in UTC.

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

UpdatedAssociateId

Last updated by whom

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

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

Extension Methods

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