Show / Hide Table of Contents

Class TargetGroupRecordData

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

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

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

Constructors

TargetGroupRecordData()

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

Declaration
public TargetGroupRecordData()
Remarks

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

Fields

EntityType

Entity type for this set of targets (Sale, Project, Selection, Appointment...)

Declaration
public TargetEntityType EntityType
Field Value
Type Description
TargetEntityType
Remarks

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

PeriodType

Period type for editing this set of targets (Year, Quarter...)

Declaration
public TargetPeriodType PeriodType
Field Value
Type Description
TargetPeriodType
Remarks

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

TargetDimensionId

Dimension this target is in

Declaration
public int TargetDimensionId
Field Value
Type Description
int
Remarks

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

TargetGroupId

Primary key

Declaration
public int TargetGroupId
Field Value
Type Description
int
Remarks

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

Year

The year this set of targets are associated with (2020, 2021...)

Declaration
public int Year
Field Value
Type Description
int
Remarks

Please use this class instead of a full TargetGroupRow 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 TargetGroupTableInfo 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)
TargetGroupRecordDataExtensions.ToInsertAsync(TargetGroupRecordData, 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