Show / Hide Table of Contents

Class CountryRecordData

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

Inheritance
Object
CountryRecordData
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 CountryRecordData
Remarks

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

Constructors

CountryRecordData()

Declaration
public CountryRecordData()

Fields

Abbrev2

ISO 2-letter abbreviation

Declaration
public string Abbrev2
Field Value
Type Description
String

Abbrev3

ISO 3-letter abbreviation

Declaration
public string Abbrev3
Field Value
Type Description
String

AddressLayout

Points to address format used in the GUI

Declaration
public int AddressLayout
Field Value
Type Description
Int32

AddressLayoutDomestic

Points to address format used for labels to own country

Declaration
public int AddressLayoutDomestic
Field Value
Type Description
Int32

AddressLayoutForeign

Points to address format used for labels to other countries than own country

Declaration
public int AddressLayoutForeign
Field Value
Type Description
Int32

CountryId

Primary key

Declaration
public int CountryId
Field Value
Type Description
Int32

CurrencyId

Default currency for this country

Declaration
public int CurrencyId
Field Value
Type Description
Int32

CustomPhoneDesc

Custom phone description, if any (comes from ISO/ITU documents)

Declaration
public string CustomPhoneDesc
Field Value
Type Description
String

DefaultLcid

LCID code in .NET, this should be the defaultLcid of the language that has the isDefault flag set in the LanguageInforCountry link table

Declaration
public uint DefaultLcid
Field Value
Type Description
UInt32

Deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

Declaration
public short Deleted
Field Value
Type Description
Int16

DialInPrefix

Prefix for dialing into the country from outside (country code)

Declaration
public string DialInPrefix
Field Value
Type Description
String

DialOutPrefix

Prefix for dialling out of the country, voice call

Declaration
public string DialOutPrefix
Field Value
Type Description
String

DomainName

Default Web domain identifier (.no, .uk, etc; but without the dot)

Declaration
public string DomainName
Field Value
Type Description
String

EnglishName

Name of country in english

Declaration
public string EnglishName
Field Value
Type Description
String

FlagresId

Resource ID of flag graphic

Declaration
public uint FlagresId
Field Value
Type Description
UInt32

InterAreaPrefix

Prefix for inter-area dialling in the country

Declaration
public string InterAreaPrefix
Field Value
Type Description
String

IsBuiltIn

Is this record populated by SuperOffice priming data?

Declaration
public short IsBuiltIn
Field Value
Type Description
Int16

IsoNumber

The primary key used by ISO to identify countries when they have a revolution and change their name from Upper Volta to Burkina Faso :-)

Declaration
public uint IsoNumber
Field Value
Type Description
UInt32

Name

Name of country in installed language

Declaration
public string Name
Field Value
Type Description
String

OrgNrText

Lead text for organisation field

Declaration
public string OrgNrText
Field Value
Type Description
String

PhonePartOfNA

Is the phone system part of the North American system

Declaration
public short PhonePartOfNA
Field Value
Type Description
Int16

Rank

Rank order

Declaration
public short Rank
Field Value
Type Description
Int16

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

Tooltip

Tooltip or other description

Declaration
public string Tooltip
Field Value
Type Description
String

TzLocationId

Default timezone location for this country

Declaration
public int TzLocationId
Field Value
Type Description
Int32

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

ZipPrefix

N- DK- etc.

Declaration
public string ZipPrefix
Field Value
Type Description
String

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
CountryRecordDataExtensions.ToInsert(CountryRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top