Class ProjectMemberList
Inheritance
ProjectMemberList
Implements
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class ProjectMemberList : ListBase<ProjectMemberList.ProjectMemberListQuery, ProjectMemberListItem>, IList, ICollection, IList<ProjectMemberListItem>, ICollection<ProjectMemberListItem>, IEnumerable<ProjectMemberListItem>, IEnumerable
Methods
GetIndexOfItem(ProjectMemberListItem)
Returns the index of the given item.
Declaration
public int GetIndexOfItem(ProjectMemberListItem pro)
Parameters
Type | Name | Description |
---|---|---|
ProjectMemberListItem | pro | The ProjectMemberListItem to search for. |
Returns
Type | Description |
---|---|
int | The index of the ProjectMemberListItem. |
GetProject(int)
Returns the project corresponding to the project_id.
Declaration
public Project GetProject(int projectId)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | The project. |
Returns
Type | Description |
---|---|
Project | The project. |
OnLoadAsync(ProjectMemberListQuery, SoDataReader, CancellationToken)
Responsible for reading each row with data from the SoDataReader and insert the object each row represents into the class' collection.
Declaration
protected override Task OnLoadAsync(ProjectMemberList.ProjectMemberListQuery query, SoDataReader reader, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ProjectMemberList.ProjectMemberListQuery | query | |
SoDataReader | reader | The reader which contains all data in the list. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |