Show / Hide Table of Contents

Class RefCountsRecordData

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

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

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

Constructors

RefCountsRecordData()

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

Declaration
public RefCountsRecordData()
Remarks

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

Fields

CurrentValue

Current value of counter

Declaration
public int CurrentValue
Field Value
Type Description
int
Remarks

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

FieldId

The field (and thereby table) this counter is assigned to

Declaration
public int FieldId
Field Value
Type Description
int
Remarks

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

Flags

Unique, active, read-only, allow blank, …

Declaration
public RefcountFlags Flags
Field Value
Type Description
RefcountFlags
Remarks

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

RecordId

Record id in target table, used when there are separate counters for each target record

Declaration
public int RecordId
Field Value
Type Description
int
Remarks

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

RefCountsId

Primary key

Declaration
public int RefCountsId
Field Value
Type Description
int
Remarks

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

SatPrefix

size of prefix for Satellite use of this counter

Declaration
public uint SatPrefix
Field Value
Type Description
uint
Remarks

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

TravelPrefix

size of prefix for Travel use of ths counter

Declaration
public uint TravelPrefix
Field Value
Type Description
uint
Remarks

Please use this class instead of a full RefCountsRow 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 RefCountsTableInfo 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 RefCountsRow 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 RefCountsTableInfo 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 RefCountsRow 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 RefCountsTableInfo 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 RefCountsRow 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 RefCountsTableInfo 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)
RefCountsRecordDataExtensions.ToInsertAsync(RefCountsRecordData, 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