Show / Hide Table of Contents

Class RelationsRecordData

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

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

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

Constructors

RelationsRecordData()

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

Declaration
public RelationsRecordData()
Remarks

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

Fields

AssociateId

Owner of this relation record

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

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

DestinationRecord

Actual target record

Declaration
public int DestinationRecord
Field Value
Type Description
int
Remarks

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

DestinationTable

Actual target table

Declaration
public short DestinationTable
Field Value
Type Description
short
Remarks

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

EndDate

End date of validity

Declaration
public DateTime EndDate
Field Value
Type Description
DateTime
Remarks

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

GroupIdx

User group owning this relation

Declaration
public int GroupIdx
Field Value
Type Description
int
Remarks

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

RelFlags

Relation flags, meaning as yet unspecified

Declaration
public uint RelFlags
Field Value
Type Description
uint
Remarks

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

RelationId

Primary key

Declaration
public int RelationId
Field Value
Type Description
int
Remarks

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

Relcomment

Comment for relation

Declaration
public string Relcomment
Field Value
Type Description
string
Remarks

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

ReldefId

Reference to definition

Declaration
public int ReldefId
Field Value
Type Description
int
Remarks

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

Reversed

Is direction reversed relative to definition

Declaration
public short Reversed
Field Value
Type Description
short
Remarks

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

SourceRecord

Actual source record

Declaration
public int SourceRecord
Field Value
Type Description
int
Remarks

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

SourceTable

Actual source table

Declaration
public short SourceTable
Field Value
Type Description
short
Remarks

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

StartDate

Start date of validity

Declaration
public DateTime StartDate
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full RelationsRow 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 RelationsTableInfo 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 RelationsRow 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 RelationsTableInfo 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 RelationsRow 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 RelationsTableInfo 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 RelationsRow 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 RelationsTableInfo 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)
RelationsRecordDataExtensions.ToInsertAsync(RelationsRecordData, 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