Class StaticSelectionMemberBase
Extender base class used to add information about static selection membership to contact or person rows, if so requested by the client.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class StaticSelectionMemberBase : TableExtenderBase<SelectionMemberTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection.Constructors
StaticSelectionMemberBase()
Extender base class used to add information about static selection membership to contact or person rows, if so requested by the client.
Declaration
protected StaticSelectionMemberBase()
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection.Fields
_colSelectionIdRequest
Extender base class used to add information about static selection membership to contact or person rows, if so requested by the client.
Declaration
protected ArchiveColumnInfo _colSelectionIdRequest
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection._colSelectionMemberId
Extender base class used to add information about static selection membership to contact or person rows, if so requested by the client.
Declaration
protected ArchiveColumnInfo _colSelectionMemberId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection._selectionId
Extender base class used to add information about static selection membership to contact or person rows, if so requested by the client.
Declaration
protected int _selectionId
Field Value
Type | Description |
---|---|
int |
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection.Methods
InnerModifyQuery()
Add the correct return field, and prevent the auto sentry system from adding its own cascade behind the selectionmember table (tolerance for null tableInfo needed for some cases)
Declaration
protected override void InnerModifyQuery()
Overrides
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection.InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate selection member id column if available - or add a null valued column
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |
Overrides
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection.SetRestriction(params ArchiveRestrictionInfo[])
Extract our restriction, which is not really a restriction but rather a request to join with selectionmember on that particular restriction
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
bool |
Overrides
Remarks
The purpose is to simplify duplicate detection during add member operations, where a contact/person search may result in some rows that are already members - and for delete members via search, where we also need to know which rows overlap with the existing selection members.
To use this functionality, include the 'selectionIdRequest' restriction, use the '=' operator and give the id of the static selection to attempt to join with. If this is done, then the 'selectionMemberId' will contain a non-null value for those contacts or persons that exist in the given static selection.