Class ContactListItem
ContactListItem contains the attributes for the contact list item used to represent a contact in lists or as a property on person.
Inherited Members
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Remarks
The contact list item contains some person info on the contact's owner (contact.associate_id).
See Also
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
Remarks
The contact list item contains some person info on the contact's owner (contact.associate_id).