Show / Hide Table of Contents

Class ImportRelationRecordData

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

Inheritance
object
ImportRelationRecordData
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 ImportRelationRecordData
Remarks

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

Constructors

ImportRelationRecordData()

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

Declaration
public ImportRelationRecordData()
Remarks

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

Fields

EdgeColour

1=Red, 2=Black

Declaration
public short EdgeColour
Field Value
Type Description
short
Remarks

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

ForcePrimary

1=Forces creation of primary object as soon as dependent is created

Declaration
public short ForcePrimary
Field Value
Type Description
short
Remarks

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

ForeignKey

The database field ID of the foreign key field in the dependent table. NOTE If it is 0, it means this relation should NOT lead to an edge in the graph.

Declaration
public int ForeignKey
Field Value
Type Description
int
Remarks

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

ImportRelationId

Primary key

Declaration
public int ImportRelationId
Field Value
Type Description
int
Remarks

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

IsBuiltin

1 = This row populated and maintained by SuperOffice

Declaration
public short IsBuiltin
Field Value
Type Description
short
Remarks

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

Source

The dependent object (source of relation edge)

Declaration
public int Source
Field Value
Type Description
int
Remarks

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

Target

The primary object (target of relation edge)

Declaration
public int Target
Field Value
Type Description
int
Remarks

Please use this class instead of a full ImportRelationRow 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 ImportRelationTableInfo 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 ImportRelationRow 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 ImportRelationTableInfo 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 ImportRelationRow 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 ImportRelationTableInfo 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 ImportRelationRow 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 ImportRelationTableInfo 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)
ImportRelationRecordDataExtensions.ToInsertAsync(ImportRelationRecordData, 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