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()

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

Declaration
public 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.

Fields

Address1

Address line 1

Declaration
public string Address1
Field Value
Type Description
string
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.

Address2

Address line 2

Declaration
public string Address2
Field Value
Type Description
string
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.

Address3

Address line 3

Declaration
public string Address3
Field Value
Type Description
string
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.

AddressId

Primary key

Declaration
public int AddressId
Field Value
Type Description
int
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.

AtypeIdx

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

Declaration
public AddressType AtypeIdx
Field Value
Type Description
AddressType
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.

City

City corresponding to zip code

Declaration
public string City
Field Value
Type Description
string
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.

County

County (not country)

Declaration
public string County
Field Value
Type Description
string
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.

OwnerId

Record id of owner: Contact or Person

Declaration
public int OwnerId
Field Value
Type Description
int
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.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
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.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
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.

State

State

Declaration
public string State
Field Value
Type Description
string
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.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
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.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
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.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
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.

ValidFrom

Valid from date for this record

Declaration
public DateTime ValidFrom
Field Value
Type Description
DateTime
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.

ValidTo

Valid to date for this record

Declaration
public DateTime ValidTo
Field Value
Type Description
DateTime
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.

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

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

Zipcode

Zip code, alphanumeric

Declaration
public string Zipcode
Field Value
Type Description
string
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.

Extension Methods

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