Class MemberProvider<RootExtender>
Implements
Inherited Members
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, Boolean, String, ArchiveColumnInfo[])
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, IPlugin 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 |
---|---|
Boolean |
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.AcceptRow(SuperOffice.Data.SoDataReader)
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()
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.PostProcessQuery()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)