Show / Hide Table of Contents

Class TZLocationRecordData

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

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

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

Constructors

TZLocationRecordData()

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

Declaration
public TZLocationRecordData()
Remarks

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

Fields

Cities

Cities, comma-separated list. Future localization via localeText resource type 32

Declaration
public string Cities
Field Value
Type Description
String
Remarks

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

CountryId

Country that this timezone location is defined for

Declaration
public int CountryId
Field Value
Type Description
Int32
Remarks

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

Deleted

Is this row 'deleted' (invisible in lists)

Declaration
public short Deleted
Field Value
Type Description
Int16
Remarks

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

Description

Dcescription, only visible in Admin contexts

Declaration
public string Description
Field Value
Type Description
String
Remarks

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

GroupName

Group (heading) name for timezone locations that do not have a country (such as the EU zones)

Declaration
public string GroupName
Field Value
Type Description
String
Remarks

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

IsActive

Is this field visible in the standard drop-down list in the GUI? If no, it can still be used and searched for, but won't be visible directly in the dropdown list.

Declaration
public short IsActive
Field Value
Type Description
Int16
Remarks

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

LocationCode

Code, such as CA-NT, identifying the timezone location in the imported data. Unique, NOT equal to the culture codes of Windows

Declaration
public string LocationCode
Field Value
Type Description
String
Remarks

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

RegionName

Name of region, such as Northwest Territories. Future localization via localeText resource type 31

Declaration
public string RegionName
Field Value
Type Description
String
Remarks

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

ShortName

Short name, such as CET (Central European Time); future localization via localeText resource type 33

Declaration
public string ShortName
Field Value
Type Description
String
Remarks

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

TZLocationId

Primary key

Declaration
public int TZLocationId
Field Value
Type Description
Int32
Remarks

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