Class MemberProvider<RootExtender>
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class MemberProvider<RootExtender> : TypedQueryProviderBase<ArchiveRow, RootExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities where RootExtender : IArchiveExtender, new()
Type Parameters
Name | Description |
---|---|
RootExtender |
Constructors
MemberProvider(ArchiveRowTypeInfo)
Declaration
public MemberProvider(ArchiveRowTypeInfo rowTypeInfo)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRowTypeInfo | rowTypeInfo |
Fields
_retiredPersonEntity
Declaration
protected const string _retiredPersonEntity = "retired"
Field Value
Type | Description |
---|---|
string |
_stoppedContactEntity
Declaration
protected const string _stoppedContactEntity = "stop"
Field Value
Type | Description |
---|---|
string |
Methods
AcceptRow(SoDataReader)
Override: If the person id / contact id is not readable, then we should skip the whole row
Declaration
protected override bool AcceptRow(SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader |
Returns
Type | Description |
---|---|
bool |
Overrides
AddPersonAndContactIds()
Declaration
protected abstract void AddPersonAndContactIds()
PostProcessQuery()
Override: Make sure the query returns the contact and person id's from the projectmember table; also get hold of contact and person id fields from the contact and person tables if present in the query, for later use in AcceptRow.
Declaration
public override void PostProcessQuery()