Show / Hide Table of Contents

Class ProjectListItem

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

Inheritance
object
ListItemBaseProjectListProjectListQuery
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: SuperOfficeCRMArchives
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
ProjectListProjectListQuery query
SoDataReader reader

Properties

AssociateFullName

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

AssociateId

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

IsPublished

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

ProjectId

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

ProjectName

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

ProjectNumber

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

ProjectStatus

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

ProjectStatusId

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

ProjectType

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

ProjectTypeId

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

PublishFrom

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

PublishTo

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

Text

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

TextId

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

Updated

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

Url

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

UrlName

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

Methods

GetProjectListItemAsync(int, CancellationToken)

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

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
ProjectListProjectListQuery 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