Class SelectionProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ContactSelection", 1073741823)]
public class SelectionProvider : SelectionProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
SelectionProvider()
Declaration
public SelectionProvider()
Fields
ColumnSelectionMemberId
Declaration
public const string ColumnSelectionMemberId = "selectionMemberId"
Field Value
Type | Description |
---|---|
string |
ProviderName
Declaration
public const string ProviderName = "ContactSelection"
Field Value
Type | Description |
---|---|
string |
Methods
GetContactSelectionMembersRows(int, string[], bool)
Retrieve all selection members for a given selection
Declaration
public static IEnumerable<ArchiveRow> GetContactSelectionMembersRows(int selectionId, string[] returnColumns, bool includeStopped)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | Identity of selection to get members from |
string[] | returnColumns | Name of columns to return |
bool | includeStopped | Include contacts marked with stop |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> | All selection members for given selection |
SetRestriction(ArchiveRestrictionInfo[])
Override: Handle aspects of restrictions that are common to static and dynamic selections, and prepare the restriction set slightly. More special handling occurs in SelectionContactPersonExtender and SelectionDynamicContactExtender, where the default + special handling of stop, retired and noDM is done.
Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
bool |