Show / Hide Table of Contents

Class AddressRecordData

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

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

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

Constructors

AddressRecordData()

Declaration
public AddressRecordData()

Fields

Address1

Address line 1

Declaration
public string Address1
Field Value
Type Description
String

Address2

Address line 2

Declaration
public string Address2
Field Value
Type Description
String

Address3

Address line 3

Declaration
public string Address3
Field Value
Type Description
String

AddressId

Primary key

Declaration
public int AddressId
Field Value
Type Description
Int32

AtypeIdx

Bit mask, combines address type (EAddressType) and owner type (EOwnerType)

Declaration
public AddressType AtypeIdx
Field Value
Type Description
AddressType

City

City corresponding to zip code

Declaration
public string City
Field Value
Type Description
String

County

County (not country)

Declaration
public string County
Field Value
Type Description
String

OwnerId

Record id of owner: Contact or Person

Declaration
public int OwnerId
Field Value
Type Description
Int32

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

State

State

Declaration
public string State
Field Value
Type Description
String

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

ValidFrom

Valid from date for this record

Declaration
public DateTime ValidFrom
Field Value
Type Description
DateTime

ValidTo

Valid to date for this record

Declaration
public DateTime ValidTo
Field Value
Type Description
DateTime

Wgs84Latitude

Latitude (that's north/south), decimal degrees, relative to WGS 84 ellipsoid. SuperOffice ASA is at 59.91892. This value needs no further grid reference or other qualifying information.

Declaration
public double Wgs84Latitude
Field Value
Type Description
Double

Wgs84Longitude

Longitude (that's East/west), decimal degrees, relative to WGS 84 ellipsoid. SuperOffice ASA is at 10.73159. This value needs no further grid reference or other qualifying information.

Declaration
public double Wgs84Longitude
Field Value
Type Description
Double

Zipcode

Zip code, alphanumeric

Declaration
public string Zipcode
Field Value
Type Description
String

Extension Methods

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