Show / Hide Table of Contents

Class ErpSyncLogRecordData

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

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

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

Constructors

ErpSyncLogRecordData()

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

Declaration
public ErpSyncLogRecordData()
Remarks

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

Fields

CrmFieldKey

CRM field name/key

Declaration
public string CrmFieldKey
Field Value
Type Description
string
Remarks

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

ErpExternalKeyId

Link to the external key, indirectly also to the connection and internal key

Declaration
public int ErpExternalKeyId
Field Value
Type Description
int
Remarks

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

ErpFieldKey

ERP field name/key

Declaration
public string ErpFieldKey
Field Value
Type Description
string
Remarks

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

ErpSyncLogId

Primary key

Declaration
public int ErpSyncLogId
Field Value
Type Description
int
Remarks

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

NewValue

The new value of the target field

Declaration
public string NewValue
Field Value
Type Description
string
Remarks

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

OldValue

The old value of the target field

Declaration
public string OldValue
Field Value
Type Description
string
Remarks

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

TargetIsCrm

Was the CRM field the target of the change? If false, then it was the ERP field that was changed by this sync operation

Declaration
public short TargetIsCrm
Field Value
Type Description
short
Remarks

Please use this class instead of a full ErpSyncLogRow 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 ErpSyncLogTableInfo 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 ErpSyncLogRow 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 ErpSyncLogTableInfo 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 ErpSyncLogRow 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 ErpSyncLogTableInfo 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 ErpSyncLogRow 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 ErpSyncLogTableInfo 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)
ErpSyncLogRecordDataExtensions.ToInsertAsync(ErpSyncLogRecordData, 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