Show / Hide Table of Contents

Class CountryTableInfo

Table 'country': Country information

Inheritance
object
TableInfo
CountryTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.ProtAll
TableInfo.UseNolockIfPossible
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.this[string]
TableInfo.PrimaryKeyField
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOfficeCRMData
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("country")]
public class CountryTableInfo : TableInfo, ICloneable
Remarks

An instance of this class represents one instance of this table in an SQL statement. In most cases each table appears only once in a SELECT, but in cases where you need to self-join, or there are multiple occurrences for other reasons (typically additional restrictions in the joins), then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetCountryInfo().

Fields

DictionaryTableName

Conceptual name of table Country in the database dictionary: country

Declaration
public const string DictionaryTableName = "country"
Field Value
Type Description
string

Properties

Abbrev2

Field 'abbrev2' in table 'country': Dictionary type String[3], .NET type: string

ISO 2-letter abbreviation

Declaration
public StringFieldInfo Abbrev2 { get; }
Property Value
Type Description
StringFieldInfo

Abbrev3

Field 'abbrev3' in table 'country': Dictionary type String[4], .NET type: string

ISO 3-letter abbreviation

Declaration
public StringFieldInfo Abbrev3 { get; }
Property Value
Type Description
StringFieldInfo

AddressLayout

Field 'addressLayout' in table 'country': Dictionary type Id, .NET type: int

Points to address format used in the GUI

Declaration
public Int32FieldInfo AddressLayout { get; }
Property Value
Type Description
Int32FieldInfo

AddressLayoutDomestic

Field 'addressLayoutDomestic' in table 'country': Dictionary type Id, .NET type: int

Points to address format used for labels to own country

Declaration
public Int32FieldInfo AddressLayoutDomestic { get; }
Property Value
Type Description
Int32FieldInfo

AddressLayoutForeign

Field 'addressLayoutForeign' in table 'country': Dictionary type Id, .NET type: int

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

Declaration
public Int32FieldInfo AddressLayoutForeign { get; }
Property Value
Type Description
Int32FieldInfo

CountryId

Field 'country_id' in table 'country': Dictionary type PK, .NET type: int

Primary key

Declaration
public Int32FieldInfo CountryId { get; }
Property Value
Type Description
Int32FieldInfo

CurrencyId

Field 'currency_id' in table 'country': Dictionary type FK, target: Currency, .NET type: int

Default currency for this country

Declaration
public Int32FieldInfo CurrencyId { get; }
Property Value
Type Description
Int32FieldInfo

CurrencyId_InnerJoin_Currency

Generated join from the foreign key CurrencyId in this table, to its target table CurrencyTableInfo.

Declaration
public TargetedInnerJoin<CurrencyTableInfo> CurrencyId_InnerJoin_Currency { get; }
Property Value
Type Description
TargetedInnerJoinCurrencyTableInfo

CustomPhoneDesc

Field 'customPhoneDesc' in table 'country': Dictionary type String[255], .NET type: string

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

Declaration
public StringFieldInfo CustomPhoneDesc { get; }
Property Value
Type Description
StringFieldInfo

DefaultLcid

Field 'defaultLcid' in table 'country': Dictionary type UInt, .NET type: uint

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 FieldInfo DefaultLcid { get; }
Property Value
Type Description
FieldInfo

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition

Deleted

Field 'deleted' in table 'country': Dictionary type UShort, .NET type: short

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

Declaration
public UInt16FieldInfo Deleted { get; }
Property Value
Type Description
UInt16FieldInfo

DialInPrefix

Field 'dialInPrefix' in table 'country': Dictionary type String[32], .NET type: string

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

Declaration
public StringFieldInfo DialInPrefix { get; }
Property Value
Type Description
StringFieldInfo

DialOutPrefix

Field 'dialOutPrefix' in table 'country': Dictionary type String[32], .NET type: string

Prefix for dialling out of the country, voice call

Declaration
public StringFieldInfo DialOutPrefix { get; }
Property Value
Type Description
StringFieldInfo

DictionaryTableNumber

Table number for table Country in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database

Declaration
public int DictionaryTableNumber { get; }
Property Value
Type Description
int

DomainName

Field 'domainName' in table 'country': Dictionary type String[10], .NET type: string

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

Declaration
public StringFieldInfo DomainName { get; }
Property Value
Type Description
StringFieldInfo

EnglishName

Field 'english_name' in table 'country': Dictionary type String[40], .NET type: string

Name of country in english

Declaration
public StringFieldInfo EnglishName { get; }
Property Value
Type Description
StringFieldInfo

FlagresId

Field 'flagres_id' in table 'country': Dictionary type UInt, .NET type: uint

Resource ID of flag graphic

Declaration
public FieldInfo FlagresId { get; }
Property Value
Type Description
FieldInfo

InterAreaPrefix

Field 'interAreaPrefix' in table 'country': Dictionary type String[32], .NET type: string

Prefix for inter-area dialling in the country

Declaration
public StringFieldInfo InterAreaPrefix { get; }
Property Value
Type Description
StringFieldInfo

IsBuiltIn

Field 'isBuiltIn' in table 'country': Dictionary type Bool, .NET type: short

Is this record populated by SuperOffice priming data?

Declaration
public UInt16FieldInfo IsBuiltIn { get; }
Property Value
Type Description
UInt16FieldInfo

IsoNumber

Field 'isoNumber' in table 'country': Dictionary type UInt, .NET type: uint

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 FieldInfo IsoNumber { get; }
Property Value
Type Description
FieldInfo

LeftOuterJoin_Contact_CountryId

Generated left outer join from the primary key CountryId on this table, to Contact.CountryId.

Declaration
public TargetedLeftOuterJoin<ContactTableInfo> LeftOuterJoin_Contact_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinContactTableInfo

LeftOuterJoin_CountryGroupLink_CountryId

Generated left outer join from the primary key CountryId on this table, to CountryGroupLink.CountryId.

Declaration
public TargetedLeftOuterJoin<CountryGroupLinkTableInfo> LeftOuterJoin_CountryGroupLink_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinCountryGroupLinkTableInfo

LeftOuterJoin_CountryHeadingLink_CountryId

Generated left outer join from the primary key CountryId on this table, to CountryHeadingLink.CountryId.

Declaration
public TargetedLeftOuterJoin<CountryHeadingLinkTableInfo> LeftOuterJoin_CountryHeadingLink_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinCountryHeadingLinkTableInfo

LeftOuterJoin_LanguageInfoCountry_CountryId

Generated left outer join from the primary key CountryId on this table, to LanguageInfoCountry.CountryId.

Declaration
public TargetedLeftOuterJoin<LanguageInfoCountryTableInfo> LeftOuterJoin_LanguageInfoCountry_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinLanguageInfoCountryTableInfo

LeftOuterJoin_Person_CountryId

Generated left outer join from the primary key CountryId on this table, to Person.CountryId.

Declaration
public TargetedLeftOuterJoin<PersonTableInfo> LeftOuterJoin_Person_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinPersonTableInfo

LeftOuterJoin_PhoneFormat_CountryId

Generated left outer join from the primary key CountryId on this table, to PhoneFormat.CountryId.

Declaration
public TargetedLeftOuterJoin<PhoneFormatTableInfo> LeftOuterJoin_PhoneFormat_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinPhoneFormatTableInfo

LeftOuterJoin_QuoteVersion_DeliveryCountryId

Generated left outer join from the primary key CountryId on this table, to QuoteVersion.DeliveryCountryId.

Declaration
public TargetedLeftOuterJoin<QuoteVersionTableInfo> LeftOuterJoin_QuoteVersion_DeliveryCountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinQuoteVersionTableInfo

LeftOuterJoin_QuoteVersion_InvoiceCountryId

Generated left outer join from the primary key CountryId on this table, to QuoteVersion.InvoiceCountryId.

Declaration
public TargetedLeftOuterJoin<QuoteVersionTableInfo> LeftOuterJoin_QuoteVersion_InvoiceCountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinQuoteVersionTableInfo

LeftOuterJoin_RedLetterDay_CountryId

Generated left outer join from the primary key CountryId on this table, to RedLetterDay.CountryId.

Declaration
public TargetedLeftOuterJoin<RedLetterDayTableInfo> LeftOuterJoin_RedLetterDay_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinRedLetterDayTableInfo

LeftOuterJoin_TZLocation_CountryId

Generated left outer join from the primary key CountryId on this table, to TZLocation.CountryId.

Declaration
public TargetedLeftOuterJoin<TZLocationTableInfo> LeftOuterJoin_TZLocation_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinTZLocationTableInfo

LeftOuterJoin_ZipToCity_CountryId

Generated left outer join from the primary key CountryId on this table, to ZipToCity.CountryId.

Declaration
public TargetedLeftOuterJoin<ZipToCityTableInfo> LeftOuterJoin_ZipToCity_CountryId { get; }
Property Value
Type Description
TargetedLeftOuterJoinZipToCityTableInfo

Name

Field 'name' in table 'country': Dictionary type String[240], .NET type: string

Name of country in installed language

Declaration
public StringFieldInfo Name { get; }
Property Value
Type Description
StringFieldInfo

OrgNrText

Field 'orgNrText' in table 'country': Dictionary type String[255], .NET type: string

Lead text for organisation field

Declaration
public StringFieldInfo OrgNrText { get; }
Property Value
Type Description
StringFieldInfo

PhonePartOfNA

Field 'phonePartOfNA' in table 'country': Dictionary type Bool, .NET type: short

Is the phone system part of the North American system

Declaration
public UInt16FieldInfo PhonePartOfNA { get; }
Property Value
Type Description
UInt16FieldInfo

Rank

Field 'rank' in table 'country': Dictionary type UShort, .NET type: short

Rank order

Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type Description
UInt16FieldInfo

Registered

Field 'registered' in table 'country': Dictionary type UtcDateTime, .NET type: DateTime

Registered when

Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type Description
DateTimeFieldInfo

RegisteredAssociateId

Field 'registered_associate_id' in table 'country': Dictionary type FK, target: Associate, .NET type: int

Registered by whom

Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type Description
Int32FieldInfo

RegisteredAssociateId_InnerJoin_Associate

Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoinAssociateTableInfo

RuntimeDefinition

Definition of the table as described in the deployed runtime dictionary

Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type Description
SoTable

Tooltip

Field 'tooltip' in table 'country': Dictionary type String[255], .NET type: string

Tooltip or other description

Declaration
public StringFieldInfo Tooltip { get; }
Property Value
Type Description
StringFieldInfo

TzLocationId

Field 'tzLocationId' in table 'country': Dictionary type FK, target: TZLocation, .NET type: int

Default timezone location for this country

Declaration
public Int32FieldInfo TzLocationId { get; }
Property Value
Type Description
Int32FieldInfo

TzLocationId_InnerJoin_TZLocation

Generated join from the foreign key TzLocationId in this table, to its target table TZLocationTableInfo.

Declaration
public TargetedInnerJoin<TZLocationTableInfo> TzLocationId_InnerJoin_TZLocation { get; }
Property Value
Type Description
TargetedInnerJoinTZLocationTableInfo

Updated

Field 'updated' in table 'country': Dictionary type UtcDateTime, .NET type: DateTime

Last updated when

Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type Description
DateTimeFieldInfo

UpdatedAssociateId

Field 'updated_associate_id' in table 'country': Dictionary type FK, target: Associate, .NET type: int

Last updated by whom

Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type Description
Int32FieldInfo

UpdatedAssociateId_InnerJoin_Associate

Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoinAssociateTableInfo

UpdatedCount

Field 'updatedCount' in table 'country': Dictionary type UShort, .NET type: short

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type Description
UInt16FieldInfo

ZipPrefix

Field 'zip_prefix' in table 'country': Dictionary type String[6], .NET type: string

N- DK- etc.

Declaration
public StringFieldInfo ZipPrefix { get; }
Property Value
Type Description
StringFieldInfo

Implements

ICloneable

Extension Methods

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