Show / Hide Table of Contents

Class TZDstRuleRecordData

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

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

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

Constructors

TZDstRuleRecordData()

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

Declaration
public TZDstRuleRecordData()
Remarks

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

Fields

Bias

number of minutes bias relative to UTC time

Declaration
public short Bias
Field Value
Type Description
Int16
Remarks

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

Description

Description, for identifying the rule in SoAdmin

Declaration
public string Description
Field Value
Type Description
String
Remarks

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

EndDayOfMonth

Custom DST end day, if 0 then parse endRule

Declaration
public short EndDayOfMonth
Field Value
Type Description
Int16
Remarks

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

EndMonth

Custom DST end month, if 0 then parse endRule

Declaration
public short EndMonth
Field Value
Type Description
Int16
Remarks

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

EndRule

DST end rule, such as 2300 LST-SAT-OCT; limited to rules that we have parse code for; use dayOfMonth etc for custom rules

Declaration
public string EndRule
Field Value
Type Description
String
Remarks

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

IsBuiltIn

Is this row part of SuperOffice priming data

Declaration
public short IsBuiltIn
Field Value
Type Description
Int16
Remarks

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

StartDayOfMonth

Custom DST start day, if 0 then parse startRule

Declaration
public short StartDayOfMonth
Field Value
Type Description
Int16
Remarks

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

StartMonth

Custom DST start month, if 0 then parse startRule

Declaration
public short StartMonth
Field Value
Type Description
Int16
Remarks

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

StartRule

DST start rule, such as 0200 1ST-SUN-APR; limited to rules that we have parse code for; use dayOfMonth etc for custom rules

Declaration
public string StartRule
Field Value
Type Description
String
Remarks

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

TZDstRuleId

Primary key

Declaration
public int TZDstRuleId
Field Value
Type Description
Int32
Remarks

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

TZLocationId

Location that this rule is valid for - one location may have one or more rules; multiple rules are discerned by their validFrom dates

Declaration
public int TZLocationId
Field Value
Type Description
Int32
Remarks

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

ValidFrom

Date this rule is valid from

Declaration
public DateTime ValidFrom
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full TZDstRuleRow 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 TZDstRuleTableInfo 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)
TZDstRuleRecordDataExtensions.ToInsert(TZDstRuleRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top