Show / Hide Table of Contents

Class ContactListItem

ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.

Inheritance
object
ListItemBase<ContactList.ContactListQuery>
ContactListItem
Inherited Members
ListItemBase<ContactList.ContactListQuery>.TableRight
ListItemBase<ContactList.ContactListQuery>.FieldProperties
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class ContactListItem : ListItemBase<ContactList.ContactListQuery>
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

Constructors

ContactListItem(ContactListQuery, SoDataReader)

Default constructor

Declaration
public ContactListItem(ContactList.ContactListQuery query, SoDataReader reader)
Parameters
Type Name Description
ContactList.ContactListQuery query
SoDataReader reader
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Properties

ActiveErpLinks

ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.

Declaration
public int ActiveErpLinks { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

AssociateId

The associate id for the contact's owner

Declaration
public int AssociateId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

BusinessId

The business list id for the contact

Declaration
public int BusinessId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

CategoryId

The category list id for the contact

Declaration
public int CategoryId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

City

The city identifier for the contact

Declaration
public string City { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

ContactId

The unique identifier for the contact

Declaration
public int ContactId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

CountryId

The country id for the contact

Declaration
public int CountryId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Department

The contact's department

Declaration
public string Department { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

DirectPhone

The contact's direct phone

Declaration
public string DirectPhone { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Email

The contact's email

Declaration
public string Email { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Kananame

Contact kana name, used in Japanese versions only

Declaration
public string Kananame { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Name

The name of the contact

Declaration
public string Name { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Number1

ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.

Declaration
public string Number1 { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Number2

ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.

Declaration
public string Number2 { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

OrgNr

The contact's organization number

Declaration
public string OrgNr { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonCountryId

The title for the contact's owner

Declaration
public int PersonCountryId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonFirstname

The Firstname for the contact's owner

Declaration
public string PersonFirstname { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonId

The unique identifier for the contact's owner

Declaration
public int PersonId { get; }
Property Value
Type Description
int
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonLastname

The Lastname for the contact's owner

Declaration
public string PersonLastname { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonMiddleName

The MiddleName for the contact's owner

Declaration
public string PersonMiddleName { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonMrmrs

The Mrmrs for the contact's owner

Declaration
public string PersonMrmrs { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PersonTitle

The title for the contact's owner

Declaration
public string PersonTitle { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

PostalAddress

Contact postal address array

Declaration
public string[] PostalAddress { get; }
Property Value
Type Description
string[]
Remarks

ordering: address1, address2, address3, city, county, state, zipcode

See Also
ContactList

StreetAddress

Contact street address array

Declaration
public string[] StreetAddress { get; }
Property Value
Type Description
string[]
Remarks

ordering: address1, address2, address3, city, county, state, zipcode

See Also
ContactList

UrlAddress

The url for the contact

Declaration
public string UrlAddress { get; }
Property Value
Type Description
string
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Wgs84Latitude

ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.

Declaration
public double Wgs84Latitude { get; }
Property Value
Type Description
double
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Wgs84Longitude

ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.

Declaration
public double Wgs84Longitude { get; }
Property Value
Type Description
double
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Methods

GetContactListItemAsync(int, bool, CancellationToken)

Get one item by contact id, and optionally include data from owning associates person record

Declaration
public static Task<ContactListItem> GetContactListItemAsync(int contactId, bool includeOwnerInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int contactId

The contact id

bool includeOwnerInfo

Should data from the owning associates person record be included

CancellationToken cancellationToken
Returns
Type Description
Task<ContactListItem>

ContactListItem

Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

GetContactListItemAsync(int, CancellationToken)

Get one item by contact id

Declaration
public static Task<ContactListItem> GetContactListItemAsync(int contactId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int contactId

The contact id

CancellationToken cancellationToken
Returns
Type Description
Task<ContactListItem>

ContactListItem

Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Initialize()

Initializes all class-members.

Declaration
protected override void Initialize()
Overrides
ListItemBase<ContactList.ContactListQuery>.Initialize()
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Load(ContactListQuery, SoDataReader)

Responsible for reading the current row in the data reader and insert the value in the right part ob the object.

Declaration
protected override void Load(ContactList.ContactListQuery query, SoDataReader reader)
Parameters
Type Name Description
ContactList.ContactListQuery query
SoDataReader reader

The reader contains the items data.

Overrides
ListItemBase<ContactList.ContactListQuery>.Load(ContactList.ContactListQuery, SoDataReader)
Remarks

The contact list item contains some person info on the contact's owner (contact.associate_id).

See Also
ContactList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)

See Also

ContactList
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top