Class PersonContactExtender
This class extends a Person archive provider extender with its parent Contact (and thereby all subtables of contact as well)
Inheritance
PersonContactExtender
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class PersonContactExtender : ContactExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
PersonContactExtender()
Construct the object using the default options, which give a deep contact
Declaration
public PersonContactExtender()
PersonContactExtender(Features)
Construct the object using the given options
Declaration
public PersonContactExtender(ContactExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
ContactExtenderBase.Features | features |
Methods
SetJoin()
Set up the join for a person's contact
Declaration
protected override ContactTableInfo SetJoin()
Returns
Type | Description |
---|---|
ContactTableInfo | TableInfo instance of the newly joined-in table |
Overrides
Remarks
The join is always set up as INNER, since a person by definition must be connected to a contact. In particular, when a contact is deleted, its persons, project members etc are NOT cascade deleted, and so the only way to filter out person that are implicitly deleted (by being dependent on a contact that HAS been deleted) is to inner-join to contact.