Class MailingsSelectionProviderBaseV2
Base class for MailingsSelection provider. Both the regular provider and the shadow provider will inherit this class.
Inheritance
MailingsSelectionProviderBaseV2
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class MailingsSelectionProviderBaseV2 : SelectionProviderBaseV2, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
MailingsSelectionProviderBaseV2(string, string, string, bool)
Base class for MailingsSelection provider. Both the regular provider and the shadow provider will inherit this class.
Declaration
public MailingsSelectionProviderBaseV2(string staticProvidername, string dynamicProviderName, string combinedProviderName, bool isShadow)
Parameters
Type | Name | Description |
---|---|---|
string | staticProvidername | |
string | dynamicProviderName | |
string | combinedProviderName | |
bool | isShadow |
Methods
GetMailingsSelectionMembersRowsAsync(int, string[], CancellationToken)
Retrieve all selection members for a given selection
Declaration
public static IAsyncEnumerable<ArchiveRow> GetMailingsSelectionMembersRowsAsync(int selectionId, string[] returnColumns, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | Identity of selection to get members from |
string[] | returnColumns | Name of columns to return |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
IAsyncEnumerable<ArchiveRow> | All selection members for given selection |