Show / Hide Table of Contents

Class TargetChangeRecordData

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

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

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

Constructors

TargetChangeRecordData()

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

Declaration
public TargetChangeRecordData()
Remarks

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

Fields

FieldIdentifier

What field was changed - target_group.period_type or target_assignment_value.month01.target_value or target_assignment_value.quarter01.target_value etc.

Declaration
public string FieldIdentifier
Field Value
Type Description
string
Remarks

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

TargetChangeId

Primary key

Declaration
public int TargetChangeId
Field Value
Type Description
int
Remarks

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

TargetRevisionId

The revision history changeset this change belongs to

Declaration
public int TargetRevisionId
Field Value
Type Description
int
Remarks

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

ValueChangeFrom

Previous value

Declaration
public double ValueChangeFrom
Field Value
Type Description
double
Remarks

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

ValueChangeTo

New value

Declaration
public double ValueChangeTo
Field Value
Type Description
double
Remarks

Please use this class instead of a full TargetChangeRow 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 TargetChangeTableInfo 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)
TargetChangeRecordDataExtensions.ToInsertAsync(TargetChangeRecordData, 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