Show / Hide Table of Contents

Class ZipToCityTableInfo

Table 'ziptocity': Zip codes and city names. Zip codes used during address entry. You will find more information about addressformat on http://techdoc.superoffice.com

Inheritance
Object
TableInfo
ZipToCityTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ziptocity")]
public class ZipToCityTableInfo : 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 .

Fields

DictionaryTableName

Conceptual name of table ZipToCity in the database dictionary: ziptocity

Declaration
public const string DictionaryTableName = "ziptocity"
Field Value
Type Description
String

Properties

City

Field 'city' in table 'ziptocity': Dictionary type String[80], .NET type: String

City field

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

CountryId

Field 'country_id' in table 'ziptocity': Dictionary type FK, .NET type: Int32

Country this zip table is valid for

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

CountryId_InnerJoin_Country

Generated join from the foreign key CountryId in this table, to its target table CountryTableInfo.

Declaration
public TargetedInnerJoin<CountryTableInfo> CountryId_InnerJoin_Country { get; }
Property Value
Type Description
TargetedInnerJoin<CountryTableInfo>

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

DictionaryTableNumber

Table number for table ZipToCity 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
Int32

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

UpdatedCount

Field 'updatedCount' in table 'ziptocity': Dictionary type UShort, .NET type: Int16

Number of updates made to this record

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

Zipcode

Field 'zipcode' in table 'ziptocity': Dictionary type String[12], .NET type: String

Zipcode

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

ZiptocityId

Field 'ziptocity_id' in table 'ziptocity': Dictionary type PK, .NET type: Int32

Primary key

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

Methods

IdxCountryId(Int32)

Shortcut method for looking up using the database index CountryId, which spans the following fields:

FieldDescription
CountryIdCountry this zip table is valid for
Declaration
public Restriction IdxCountryId(int countryId)
Parameters
Type Name Description
Int32 countryId
Returns
Type Description
Restriction

Implements

System.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