Class ProjectEventListItem
Summary description for ProjectEventListItem.
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class ProjectEventListItem : ListItemBase<ProjectEventList.ProjectEventListQuery>
Constructors
ProjectEventListItem(ProjectEventListQuery, SoDataReader)
Default constructor
Declaration
public ProjectEventListItem(ProjectEventList.ProjectEventListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| ProjectEventList.ProjectEventListQuery | query | |
| SoDataReader | reader |
Properties
AssociateFullName
Name of the person that ows the event (i.e. project)
Declaration
public string AssociateFullName { get; }
Property Value
| Type | Description |
|---|---|
| string |
AssociateId
Id of the person that ows the event (i.e. project)
Declaration
public int AssociateId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Description
The event description (i.e. the project text)
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Enabled
If true the event is enabled (visible)
Declaration
public bool Enabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
EventDate
Date of the event. Event is not visible after this date.
Declaration
public DateTime EventDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
EventName
The name of the event (i.e. the project name)
Declaration
public string EventName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsSignedOn
True if the current user is signed on to the event (i.e. is project member)
Declaration
public bool IsSignedOn { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ProjectId
Id of the project that represents the event
Declaration
public int ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| int |
SignOff
If true, it is possible to sign off the event.
Declaration
public bool SignOff { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SignOffConfirmationText
Text shown as confirmation text before accepting sign off.
Declaration
public string SignOffConfirmationText { get; }
Property Value
| Type | Description |
|---|---|
| string |
SignOffPersonId
If 0, the sign off activity should go into the person's Our Contact; if not 0, this is the Person whose diary should get the activity.
Declaration
public int SignOffPersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
SignOffTaskEnable
If true, a task should be created when the external user signs off an event
Declaration
public bool SignOffTaskEnable { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SignOffTaskId
If not 0, sign off should cause an Activity of this type to be registered
Declaration
public int SignOffTaskId { get; }
Property Value
| Type | Description |
|---|---|
| int |
SignOffText
Default text for the activity created when signing off.
Declaration
public string SignOffText { get; }
Property Value
| Type | Description |
|---|---|
| string |
SignOffTriggersAssign
If true, the sign off task should be created as an Assigned task, triggering the invitation dialog
Declaration
public bool SignOffTriggersAssign { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SignOn
If true, it is possible to sign on the event.
Declaration
public bool SignOn { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SignOnConfirmationText
Text shown as confirmation text before accepting sign on.
Declaration
public string SignOnConfirmationText { get; }
Property Value
| Type | Description |
|---|---|
| string |
SignOnPersonId
If 0, the sign on activity should go into the person's Our Contact; if not 0, this is the Person whose diary should get the activity.
Declaration
public int SignOnPersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
SignOnTaskEnable
If true, a task should be created when the external user signs on an event
Declaration
public bool SignOnTaskEnable { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SignOnTaskId
If not 0, sign on should cause an Activity of this type to be registered
Declaration
public int SignOnTaskId { get; }
Property Value
| Type | Description |
|---|---|
| int |
SignOnText
Default text for the activity created when signing on.
Declaration
public string SignOnText { get; }
Property Value
| Type | Description |
|---|---|
| string |
SignOnTriggersAssign
If true, the sign on task should be created as an Assigned task, triggering the invitation dialog
Declaration
public bool SignOnTriggersAssign { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
GetProjectEventListItemAsync(int, CancellationToken)
Summary description for ProjectEventListItem.
Declaration
public static Task<ProjectEventListItem> GetProjectEventListItemAsync(int projectId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | projectId | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<ProjectEventListItem> |
GetProjectEventListItemOnPersonAsync(int, int, CancellationToken)
Summary description for ProjectEventListItem.
Declaration
public static Task<ProjectEventListItem> GetProjectEventListItemOnPersonAsync(int projectId, int personId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | projectId | |
| int | personId | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<ProjectEventListItem> |
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Load(ProjectEventListQuery, 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(ProjectEventList.ProjectEventListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| ProjectEventList.ProjectEventListQuery | query | |
| SoDataReader | reader | The reader contains the items data. |