Show / Hide Table of Contents

Class ProjectListItem

PersonListItem contains the attributes for the person list item used in PersonList.

Inheritance
object
ListItemBase<ProjectList.ProjectListQuery>
ProjectListItem
Inherited Members
ListItemBase<ProjectList.ProjectListQuery>.TableRight
ListItemBase<ProjectList.ProjectListQuery>.FieldProperties
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class ProjectListItem : ListItemBase<ProjectList.ProjectListQuery>

Constructors

ProjectListItem(ProjectListQuery, SoDataReader)

Default constructor

Declaration
public ProjectListItem(ProjectList.ProjectListQuery query, SoDataReader reader)
Parameters
Type Name Description
ProjectList.ProjectListQuery query
SoDataReader reader

Properties

AssociateFullName

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string AssociateFullName { get; }
Property Value
Type Description
string

AssociateId

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public int AssociateId { get; }
Property Value
Type Description
int

IsPublished

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public bool IsPublished { get; }
Property Value
Type Description
bool

ProjectId

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public int ProjectId { get; }
Property Value
Type Description
int

ProjectName

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string ProjectName { get; }
Property Value
Type Description
string

ProjectNumber

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string ProjectNumber { get; }
Property Value
Type Description
string

ProjectStatus

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string ProjectStatus { get; }
Property Value
Type Description
string

ProjectStatusId

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public int ProjectStatusId { get; }
Property Value
Type Description
int

ProjectType

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string ProjectType { get; }
Property Value
Type Description
string

ProjectTypeId

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public int ProjectTypeId { get; }
Property Value
Type Description
int

PublishFrom

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public DateTime PublishFrom { get; }
Property Value
Type Description
DateTime

PublishTo

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public DateTime PublishTo { get; }
Property Value
Type Description
DateTime

Text

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string Text { get; }
Property Value
Type Description
string

TextId

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public int TextId { get; }
Property Value
Type Description
int

Updated

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public DateTime Updated { get; }
Property Value
Type Description
DateTime

Url

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string Url { get; }
Property Value
Type Description
string

UrlName

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public string UrlName { get; }
Property Value
Type Description
string

Methods

GetProjectListItemAsync(int, CancellationToken)

PersonListItem contains the attributes for the person list item used in PersonList.

Declaration
public static Task<ProjectListItem> GetProjectListItemAsync(int projectId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int projectId
CancellationToken cancellationToken
Returns
Type Description
Task<ProjectListItem>

Initialize()

Initializes all class-members.

Declaration
protected override void Initialize()
Overrides
ListItemBase<ProjectList.ProjectListQuery>.Initialize()

Load(ProjectListQuery, SoDataReader)

Responsible for reading the current row in the data reader and insert the value in the right part ob the object.

Declaration
protected override void Load(ProjectList.ProjectListQuery query, SoDataReader reader)
Parameters
Type Name Description
ProjectList.ProjectListQuery query
SoDataReader reader

The reader contains the items data.

Overrides
ListItemBase<ProjectList.ProjectListQuery>.Load(ProjectList.ProjectListQuery, SoDataReader)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top