Class ContactPersonSelectionDynamicProviderV2
Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ContactPersonDynamicSelectionV2", 1073741823)]
public class ContactPersonSelectionDynamicProviderV2 : DynamicSelectionMultiCriteriaGroupBase, IArchiveMultiQueryProvider, IArchiveCombinedContactPersonProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
ContactPersonSelectionDynamicProviderV2()
Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.
Declaration
public ContactPersonSelectionDynamicProviderV2()
ContactPersonSelectionDynamicProviderV2(string)
Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.
Declaration
public ContactPersonSelectionDynamicProviderV2(string context)
Parameters
Type | Name | Description |
---|---|---|
string | context |
Fields
ProviderName
Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.
Declaration
public const string ProviderName = "ContactPersonDynamicSelectionV2"
Field Value
Type | Description |
---|---|
string |
Properties
IsInPersonMode
Is the provider operating in Person mode; if false, Contact mode is running
Declaration
public bool IsInPersonMode { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
ForcePersonMode(bool)
Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.
Declaration
public void ForcePersonMode(bool mode = true)
Parameters
Type | Name | Description |
---|---|---|
bool | mode |
ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])
Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.
Declaration
protected override ArchiveRestrictionInfo[] ModifyRestrictionGroup(IArchiveProvider provider, ArchiveRestrictionInfo[] resGroup)
Parameters
Type | Name | Description |
---|---|---|
IArchiveProvider | provider | |
ArchiveRestrictionInfo[] | resGroup |
Returns
Type | Description |
---|---|
ArchiveRestrictionInfo[] |
Overrides
SetDesiredEntities(params string[])
Store the desired entities, so they don't get lost until SetRestrictions tells us what to do
Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
Type | Name | Description |
---|---|---|
string[] | entities |