Class ContactList.ContactListQuery
PersonListQuery is a nested class containing the necessary information to provide its outer class with enough information to build the list.
Inheritance
ContactList.ContactListQuery
Implements
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public abstract class ContactList.ContactListQuery : ListSelect, ICloneable
Properties
AssociateTableInfo
Get AssociateTableInfo
Declaration
public AssociateTableInfo AssociateTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| AssociateTableInfo |
ContactTableInfo
Get ContactTableInfo
Declaration
public ContactTableInfo ContactTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| ContactTableInfo |
EmailTableInfo
Get EmailTableInfo
Declaration
public EmailTableInfo EmailTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| EmailTableInfo |
PersonTableInfo
Get PersonTableInfo
Declaration
public PersonTableInfo PersonTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| PersonTableInfo |
PhoneTableInfo
Get PhoneTableInfo
Declaration
public PhoneTableInfo PhoneTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| PhoneTableInfo |
PostalAddressTableInfo
Get PostalAddressTableInfo
Declaration
public AddressTableInfo PostalAddressTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| AddressTableInfo |
StreetAddressTableInfo
Get StreetAddressTableInfo
Declaration
public AddressTableInfo StreetAddressTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| AddressTableInfo |
URLTableInfo
Get URLTableInfo
Declaration
public URLTableInfo URLTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| URLTableInfo |
Methods
ParseQueryStructure(int, bool)
Load builds the select-structure for the current list. If we have restrictions on contact_id, we give it as in-parameter.
Declaration
protected virtual void ParseQueryStructure(int contactid, bool includeOwnerInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | contactid | Restriction on contact_id. |
| bool | includeOwnerInfo | If true we get person info for the contacts owning associate. |
ToContactListAsync(CancellationToken)
ToContactList creates the person list based on the information that is contained in its class.
Declaration
public Task<ContactList> ToContactListAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<ContactList> | The contact list. |