Class ProjectMemberProvider
Provider for the Project Member archive under Project
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ProjectMember", 1073741823)]
public class ProjectMemberProvider : MemberProvider<ProjectMemberProjectMemberExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Remarks
There are two important, optional entities: 'retired' (for retired persons) and 'stop' (contacts makred with stop). If these are not selected through SetDesiredEntities, project members of these types will be dropped from the result.
Constructors
ProjectMemberProvider()
Provider for the Project Member archive under Project
Declaration
public ProjectMemberProvider()
Remarks
There are two important, optional entities: 'retired' (for retired persons) and 'stop' (contacts makred with stop). If these are not selected through SetDesiredEntities, project members of these types will be dropped from the result.
Methods
AddPersonAndContactIds()
Provider for the Project Member archive under Project
Declaration
protected override void AddPersonAndContactIds()
Overrides
Remarks
There are two important, optional entities: 'retired' (for retired persons) and 'stop' (contacts makred with stop). If these are not selected through SetDesiredEntities, project members of these types will be dropped from the result.
GetProjectMembersRows(int, string[], bool, bool)
Retrieve all project members for a given project
Declaration
public static IEnumerable<ArchiveRow> GetProjectMembersRows(int projectId, string[] returnColumns, bool includeStopped, bool includeRetired)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
string[] | returnColumns | Name of columns to return |
bool | includeStopped | Include contacts marked with stop |
bool | includeRetired | Include persons marked as retired |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> | All project members for given project |
Remarks
There are two important, optional entities: 'retired' (for retired persons) and 'stop' (contacts makred with stop). If these are not selected through SetDesiredEntities, project members of these types will be dropped from the result.
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Override: Set the navigation hint for the row
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |
Overrides
Remarks
There are two important, optional entities: 'retired' (for retired persons) and 'stop' (contacts makred with stop). If these are not selected through SetDesiredEntities, project members of these types will be dropped from the result.
SetDesiredEntities(params string[])
Override: Drop stopped contacts and retired persons unless their entities have been chosen
Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
Type | Name | Description |
---|---|---|
string[] | entities |
Overrides
Remarks
There are two important, optional entities: 'retired' (for retired persons) and 'stop' (contacts makred with stop). If these are not selected through SetDesiredEntities, project members of these types will be dropped from the result.