Show / Hide Table of Contents

Class TargetPeriodRecordData

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

Inheritance
Object
TargetPeriodRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class TargetPeriodRecordData : Object
Remarks

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

Constructors

TargetPeriodRecordData()

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

Declaration
public TargetPeriodRecordData()
Remarks

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

Fields

PeriodNumber

Month number, 1...12 (or maybe quarter number 1...4 or half year number...)

Declaration
public int PeriodNumber
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TargetPeriodRow 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 TargetPeriodTableInfo 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 TargetPeriodRow 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 TargetPeriodTableInfo 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
Int32
Remarks

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

TargetGroupId

The group this target belongs to

Declaration
public int TargetGroupId
Field Value
Type Description
Int32
Remarks

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

TargetPeriodId

Primary key

Declaration
public int TargetPeriodId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TargetPeriodRow 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 TargetPeriodTableInfo 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 TargetPeriodRow 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 TargetPeriodTableInfo 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
Int32
Remarks

Please use this class instead of a full TargetPeriodRow 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 TargetPeriodTableInfo 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
Int16
Remarks

Please use this class instead of a full TargetPeriodRow 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 TargetPeriodTableInfo 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)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
TargetPeriodRecordDataExtensions.ToInsert(TargetPeriodRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top