Show / Hide Table of Contents

Class MeteringLogRecordData

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

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

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

Constructors

MeteringLogRecordData()

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

Declaration
public MeteringLogRecordData()
Remarks

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

Fields

EventType

Type of the metering event

Declaration
public MeteringEventType EventType
Field Value
Type Description
MeteringEventType
Remarks

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

MeteringLogId

Primary key

Declaration
public int MeteringLogId
Field Value
Type Description
int
Remarks

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

RecordId

The record within that table

Declaration
public int RecordId
Field Value
Type Description
int
Remarks

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

Status

Status of the metering event

Declaration
public MeteringStatus Status
Field Value
Type Description
MeteringStatus
Remarks

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

TableId

Which table the event relates to

Declaration
public short TableId
Field Value
Type Description
short
Remarks

Please use this class instead of a full MeteringLogRow 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 MeteringLogTableInfo 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 MeteringLogRow 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 MeteringLogTableInfo 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 MeteringLogRow 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 MeteringLogTableInfo 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 MeteringLogRow 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 MeteringLogTableInfo 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)
MeteringLogRecordDataExtensions.ToInsertAsync(MeteringLogRecordData, 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