Class ListItemsProvider
Archive provider for the list of ListItems
Inheritance
System.Object
ListItemsProvider
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ListItems", 1073741823)]
public class ListItemsProvider : QueryProviderBase<ArchiveRow>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
ListItemsProvider()
Declaration
protected ListItemsProvider()
Fields
_colDeleted
Declaration
protected ArchiveColumnInfo _colDeleted
Field Value
_colEmailTemplateType
Declaration
protected ArchiveColumnInfo _colEmailTemplateType
Field Value
_colId
Declaration
protected ArchiveColumnInfo _colId
Field Value
_colLocation
Declaration
protected ArchiveColumnInfo _colLocation
Field Value
_colName
Declaration
protected ArchiveColumnInfo _colName
Field Value
_colProbability
Declaration
protected ArchiveColumnInfo _colProbability
Field Value
_colRank
Declaration
protected ArchiveColumnInfo _colRank
Field Value
_colRecordType
Declaration
protected ArchiveColumnInfo _colRecordType
Field Value
Declaration
protected ArchiveColumnInfo _colTooltip
Field Value
_colUDListDefintionId
Declaration
protected ArchiveColumnInfo _colUDListDefintionId
Field Value
ProviderName
Declaration
public const string ProviderName = "ListItems"
Field Value
Type |
Description |
System.String |
|
Properties
PrimaryTable
Declaration
public override TableInfo PrimaryTable { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.PrimaryTable
Query
Declaration
public override ArchiveSelect Query { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.Query
RootExtenders
Declaration
protected override List<IArchiveExtender> RootExtenders { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.RootExtenders
Methods
AcceptRow(SoDataReader)
Accept only those rows that have at least one of the desired rowtypes
Declaration
protected override bool AcceptRow(SoDataReader reader)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.AcceptRow(SuperOffice.Data.SoDataReader)
InnerMapFields()
Add/map return fields to the query; call SetJoin to obtain the contact table info instance from
the derived class
Declaration
public override void InnerMapFields()
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.InnerMapFields()
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Derived classes should implement the population of ColumnData items for columns
that are NOT handled by this base class in this method. Whether a column is handled by
this base class is part of its database binding information, set by the various MapXXX methods.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type |
Name |
Description |
SoDataReader |
reader |
Data reader with the query result (one row)
|
ArchiveRow |
row |
archive row to be populated
|
Overrides
RequiredPhaseOneFields()
Declaration
protected override FieldInfo[] RequiredPhaseOneFields()
Returns
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.RequiredPhaseOneFields()
SetDesiredEntities(String[])
Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
Type |
Name |
Description |
System.String[] |
entities |
|
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.SetDesiredEntities(System.String[])
SetRestriction(ArchiveRestrictionInfo[])
Set the restriction for the query. This method sets the restrictions for this provider,
as well as invoking the same call on all known extenders. Recursion will take it to the bottom.
This method actually only saves the restriction specification for use during query processing.
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.SetRestriction(SuperOffice.CRM.ArchiveLists.ArchiveRestrictionInfo[])
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)