Class SaleList.SaleListQuery
SaleListQuery is a nested class containing the necessary information to provide its outer class with enough information to build the list.
Implements
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public abstract class SaleList.SaleListQuery : 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 |
CurrencyTableInfo
Get CurrencyTableInfo
Declaration
public CurrencyTableInfo CurrencyTableInfo { get; }
Property Value
Type | Description |
---|---|
CurrencyTableInfo |
PersonTableInfo
Get PersonTableInfo
Declaration
public PersonTableInfo PersonTableInfo { get; }
Property Value
Type | Description |
---|---|
PersonTableInfo |
ProjectTableInfo
Get ProjectTableInfo
Declaration
public ProjectTableInfo ProjectTableInfo { get; }
Property Value
Type | Description |
---|---|
ProjectTableInfo |
SaleTableInfo
Get SaleTableInfo
Declaration
public SaleTableInfo SaleTableInfo { get; }
Property Value
Type | Description |
---|---|
SaleTableInfo |
SaleTypeTableInfo
Get CurrencyTableInfo
Declaration
public SaleTypeTableInfo SaleTypeTableInfo { get; }
Property Value
Type | Description |
---|---|
SaleTypeTableInfo |
TextTableInfo
Get TextTableInfo
Declaration
public TextTableInfo TextTableInfo { get; }
Property Value
Type | Description |
---|---|
TextTableInfo |
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 retired)
Parameters
Type | Name | Description |
---|---|---|
int | contactid | Restriction on contact_id. |
bool | retired | True: Get all persons. False: do not get the retired people |
ToSaleListAsync(CancellationToken)
ToSaleList creates the person list based on the information that is contained in its class.
Declaration
public Task<SaleList> ToSaleListAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<SaleList> | The contact list. |