Class TaskEntity
This class represents the EntityModel interface to the CmEvent database table.
Inheritance
Implements
Namespace: Cmc.Nexus.Crm.Entities
Assembly: Cmc.Nexus.Crm.Contracts.dll
Syntax
public class TaskEntity : Entity, IIdentifiable, IAuditable
Constructors
TaskEntity()
Declaration
public TaskEntity()
Fields
AssignedToStaffIdProperty
The The person assigned to the task. For a new task, the default is your user ID. If you have permission in the policy, the names of other staff members are displayed. If you are filtering on Assigned To, the maximum number of staff members you can select is 50. property.
Declaration
public static readonly EntityProperty AssignedToStaffIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
AttachmentsIdProperty
The AttachmentsId property.
Declaration
public static readonly EntityProperty AttachmentsIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
AttachmentsProperty
The Attachments property.
Declaration
public static readonly EntityProperty AttachmentsProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
ClassSectionIdProperty
The ClassSectionId property.
Declaration
public static readonly EntityProperty ClassSectionIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
CompletedByStaffIdProperty
The The last and then first name of the staff member who completed the item. property.
Declaration
public static readonly EntityProperty CompletedByStaffIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
CreatedByStaffIdProperty
The The last and then first name of the staff member who added or created the item. property.
Declaration
public static readonly EntityProperty CreatedByStaffIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
CreatedDateTimeProperty
The The date when the item or person was added or the status change was entered. property.
Declaration
public static readonly EntityProperty CreatedDateTimeProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
CrmSuppressFlagProperty
The CrmSuppressFlag property.
Declaration
public static readonly EntityProperty CrmSuppressFlagProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
EmailSubjectProperty
The The text that appears in the subject line of the email. It contains the subject configured by your organization for the type of task and can be edited. property.
Declaration
public static readonly EntityProperty EmailSubjectProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
EmployerContactIdProperty
The The name of the contact within the organization. If you are selecting a contact in a list, it contains the contacts configured for your institution. If your institution uses the Contact Type/Activities Security to limit access to contacts (Setup > Career Services), the list only contains the contacts you are authorized to select. property.
Declaration
public static readonly EntityProperty EmployerContactIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
EmployerIdProperty
The The name of the employer. If you are selecting the employer from a list, it contains the names of all the employers configured for your institution. property.
Declaration
public static readonly EntityProperty EmployerIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
EmployerJobIdProperty
The The job title with the employer. The list also displays the status of the job. The statuses are Available, Canceled, Closed, Pending, and Unable to Fill. No value in the status column indicates there is no status available for the job. property.
Declaration
public static readonly EntityProperty EmployerJobIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
HighPriority
Declaration
public static readonly string HighPriority
Field Value
| Type | Description |
|---|---|
| System.String |
IdProperty
The Id property.
Declaration
public static readonly EntityProperty IdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
IsActivityNotViewedProperty
The IsActivityNotViewed property.
Declaration
public static readonly EntityProperty IsActivityNotViewedProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
LastModifiedDateTimeProperty
The The date that the item was updated or changed. property.
Declaration
public static readonly EntityProperty LastModifiedDateTimeProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
LastModifiedUserIdProperty
The The last and then first name of the person that changed the item. property.
Declaration
public static readonly EntityProperty LastModifiedUserIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
LockedByUserIdProperty
The LockedByUserId property.
Declaration
public static readonly EntityProperty LockedByUserIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
LowPriority
Declaration
public static readonly string LowPriority
Field Value
| Type | Description |
|---|---|
| System.String |
NormalPriority
Declaration
public static readonly string NormalPriority
Field Value
| Type | Description |
|---|---|
| System.String |
NoteProperty
The Area you can use to display or specify comments or additional information. property.
Declaration
public static readonly EntityProperty NoteProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
OrganizationContactIdProperty
The The name of the contact within the institution. If you are selecting a contact in a list, it contains the contacts configured for your institution. property.
Declaration
public static readonly EntityProperty OrganizationContactIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
OrganizationIdProperty
The Specifies the organization for the student that is contacted for the task (such as High School). property.
Declaration
public static readonly EntityProperty OrganizationIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
PreviouslyAssignedToStaffIdProperty
The The name of the contact within the institution. If you are selecting a contact in a list, it contains the contacts configured for your institution. property.
Declaration
public static readonly EntityProperty PreviouslyAssignedToStaffIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
PriorityProperty
The The priority of the task. The options are Low, Normal, and High. The default is Normal. property.
Declaration
public static readonly EntityProperty PriorityProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
ProspectInquiryIdProperty
The The name of the program and date that the student made the inquiry. The list is only displayed if the student has a CampusNexus Student Status Category of Lead (such as New Lead, Interview Schedule, or Interviewed). For the list to be available, the Track Multiple Lead Inquiries box must also be selected in CampusNexus Student on the Lead Sources Code Setup form (List > Admissions > Lead Sources > Add/Edit Lead Source > Lead Sources Code Setup). property.
Declaration
public static readonly EntityProperty ProspectInquiryIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
ReassignedDateProperty
The The date that the task was reassigned to you. property.
Declaration
public static readonly EntityProperty ReassignedDateProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
RemindDateProperty
The RemindDate property.
Declaration
public static readonly EntityProperty RemindDateProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
ResultTextProperty
The The outcome of the task. The list is only displayed for a Status of Closed. It contains results defined by your institution. property.
Declaration
public static readonly EntityProperty ResultTextProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
RowVersionProperty
The RowVersion property.
Declaration
public static readonly EntityProperty RowVersionProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
SessionSyCampusIdProperty
The SessionSyCampusId property.
Declaration
public static readonly EntityProperty SessionSyCampusIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
SourceRecordIdProperty
The SourceRecordId property.
Declaration
public static readonly EntityProperty SourceRecordIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
SourceSystemProperty
The SourceSystem property.
Declaration
public static readonly EntityProperty SourceSystemProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
SourceTableProperty
The SourceTable property.
Declaration
public static readonly EntityProperty SourceTableProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
StudentEnrollmentPeriodIdProperty
The The code and name of the enrollment. property.
Declaration
public static readonly EntityProperty StudentEnrollmentPeriodIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
StudentIdProperty
The The last and then first name of the student. property.
Declaration
public static readonly EntityProperty StudentIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
SubjectProperty
The The description of the task. If you are specifying the description, the default is the value that you selected for Task and can be modified. property.
Declaration
public static readonly EntityProperty SubjectProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskCreatedByCampusNexus
Declaration
public static readonly string TaskCreatedByCampusNexus
Field Value
| Type | Description |
|---|---|
| System.String |
TaskCreatedByCampusVue
Declaration
public static readonly string TaskCreatedByCampusVue
Field Value
| Type | Description |
|---|---|
| System.String |
TaskCreatedByMicrosoftCrm
Declaration
public static readonly string TaskCreatedByMicrosoftCrm
Field Value
| Type | Description |
|---|---|
| System.String |
TaskDueDateProperty
The The date the task or a document is due. For a new task, the default is today. If you are specifying the value, specify the value in the format MM/DD/YYYY or click the calendar button to select the date. property.
Declaration
public static readonly EntityProperty TaskDueDateProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskEndDateProperty
The The date that the item was completed. property.
Declaration
public static readonly EntityProperty TaskEndDateProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskResultIdProperty
The The outcome of the task. The list is only displayed for a Status of Closed. It contains results defined by your institution. property.
Declaration
public static readonly EntityProperty TaskResultIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskStartDateProperty
The TaskStartDate property.
Declaration
public static readonly EntityProperty TaskStartDateProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskStatusDateProperty
The The date that the status was last changed. property.
Declaration
public static readonly EntityProperty TaskStatusDateProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskStatusIdProperty
The The status of the task. If you are selecting a value, the list contains the system statuses of Pending (default), Queued, Closed, Activity Reassigned, and Activity Failed. Any additional items in the lists were defined by your organization. property.
Declaration
public static readonly EntityProperty TaskStatusIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskTemplateIdProperty
The The task that must be performed. A task corresponds to an activity in the Desktop Client. It is the description given to the type of task when it was configured by your institution. property.
Declaration
public static readonly EntityProperty TaskTemplateIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TaskTypeIdProperty
The The type of event associated with the task. They are defined by the system and are selected for task type when it is configured by your institution. property.
Declaration
public static readonly EntityProperty TaskTypeIdProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
TemplateTextFileProperty
The TemplateTextFile property.
Declaration
public static readonly EntityProperty TemplateTextFileProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
WorkflowInstanceIdentifierProperty
The WorkflowInstanceIdentifier property.
Declaration
public static readonly EntityProperty WorkflowInstanceIdentifierProperty
Field Value
| Type | Description |
|---|---|
| Cmc.Core.EntityModel.EntityProperty |
Properties
AssignedToStaffId
Gets or sets the AssignedToStaffId associated with this TaskEntity.
Declaration
public int? AssignedToStaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The AssignedToStaffId. |
Attachments
Gets or sets the Attachments associated with this TaskEntity.
Declaration
public string Attachments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Attachments. |
AttachmentsId
Gets or sets the AttachmentsId associated with this TaskEntity.
Declaration
public int? AttachmentsId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The AttachmentsId. |
ClassSectionId
Gets or sets the ClassSectionId associated with this TaskEntity.
Declaration
public int? ClassSectionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The ClassSectionId. |
CompletedByStaffId
Gets or sets the CompletedByStaffId associated with this TaskEntity.
Declaration
public int? CompletedByStaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CompletedByStaffId. |
CreatedByStaffId
Gets or sets the CreatedByStaffId associated with this TaskEntity.
Declaration
public int CreatedByStaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CreatedByStaffId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this TaskEntity.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
CrmSuppressFlag
Gets or sets the CrmSuppressFlag associated with this TaskEntity.
Declaration
public bool CrmSuppressFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The CrmSuppressFlag. |
EmailSubject
Gets or sets the EmailSubject associated with this TaskEntity.
Declaration
public string EmailSubject { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmailSubject. |
EmployerContactId
Gets or sets the EmployerContactId associated with this TaskEntity.
Declaration
public int? EmployerContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The EmployerContactId. |
EmployerId
Gets or sets the EmployerId associated with this TaskEntity.
Declaration
public int? EmployerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The EmployerId. |
EmployerJobId
Gets or sets the EmployerJobId associated with this TaskEntity.
Declaration
public int? EmployerJobId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The EmployerJobId. |
Id
Gets or sets the Id associated with this TaskEntity.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActivityNotViewed
Gets or sets the IsActivityNotViewed associated with this TaskEntity.
Declaration
public bool IsActivityNotViewed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActivityNotViewed. |
IsRequestFromMessage
Declaration
public bool IsRequestFromMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this TaskEntity.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this TaskEntity.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
LockedByUserId
Gets or sets the LockedByUserId associated with this TaskEntity.
Declaration
public int? LockedByUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The LockedByUserId. |
Note
Gets or sets the Note associated with this TaskEntity.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
OrganizationContactId
Gets or sets the OrganizationContactId associated with this TaskEntity.
Declaration
public int? OrganizationContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The OrganizationContactId. |
OrganizationId
Gets or sets the OrganizationId associated with this TaskEntity.
Declaration
public int? OrganizationId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The OrganizationId. |
PreviouslyAssignedToStaffId
Gets or sets the PreviouslyAssignedToStaffId associated with this TaskEntity.
Declaration
public int? PreviouslyAssignedToStaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PreviouslyAssignedToStaffId. |
Priority
Gets or sets the Priority associated with this TaskEntity.
Declaration
public string Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Priority. |
ProspectInquiryId
Gets or sets the ProspectInquiryId associated with this TaskEntity.
Declaration
public int? ProspectInquiryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The ProspectInquiryId. |
ReassignedDate
Gets or sets the ReassignedDate associated with this TaskEntity.
Declaration
public DateTime? ReassignedDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The ReassignedDate. |
RemindDate
Gets or sets the RemindDate associated with this TaskEntity.
Declaration
public DateTime? RemindDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The RemindDate. |
ResultText
Gets or sets the ResultText associated with this TaskEntity.
Declaration
public string ResultText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ResultText. |
RowVersion
Gets or sets the RowVersion associated with this TaskEntity.
Declaration
public byte[] RowVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte[] | The RowVersion. |
SessionSyCampusId
Gets or sets the SessionSyCampusId associated with this TaskEntity.
Declaration
public int? SessionSyCampusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The SessionSyCampusId. |
SourceRecordId
Gets or sets the SourceRecordId associated with this TaskEntity.
Declaration
public int? SourceRecordId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The SourceRecordId. |
SourceSystem
Gets or sets the SourceSystem associated with this TaskEntity.
Declaration
public string SourceSystem { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SourceSystem. |
SourceTable
Gets or sets the SourceTable associated with this TaskEntity.
Declaration
public string SourceTable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SourceTable. |
StudentEnrollmentPeriodId
Gets or sets the StudentEnrollmentPeriodId associated with this TaskEntity.
Declaration
public int? StudentEnrollmentPeriodId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The StudentEnrollmentPeriodId. |
StudentId
Gets or sets the StudentId associated with this TaskEntity.
Declaration
public int? StudentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The StudentId. |
Subject
Gets or sets the Subject associated with this TaskEntity.
Declaration
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Subject. |
TaskDueDate
Gets or sets the TaskDueDate associated with this TaskEntity.
Declaration
public DateTime? TaskDueDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The TaskDueDate. |
TaskEndDate
Gets or sets the TaskEndDate associated with this TaskEntity.
Declaration
public DateTime? TaskEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The TaskEndDate. |
TaskResultId
Gets or sets the TaskResultId associated with this TaskEntity.
Declaration
public int? TaskResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TaskResultId. |
TaskStartDate
Gets or sets the TaskStartDate associated with this TaskEntity.
Declaration
public DateTime? TaskStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The TaskStartDate. |
TaskStatusCode
Declaration
public string TaskStatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TaskStatusDate
Gets or sets the TaskStatusDate associated with this TaskEntity.
Declaration
public DateTime? TaskStatusDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The TaskStatusDate. |
TaskStatusId
Gets or sets the TaskStatusId associated with this TaskEntity.
Declaration
public int TaskStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The TaskStatusId. |
TaskTemplateId
Gets or sets the TaskTemplateId associated with this TaskEntity.
Declaration
public int TaskTemplateId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The TaskTemplateId. |
TaskTypeId
Gets or sets the TaskTypeId associated with this TaskEntity.
Declaration
public int? TaskTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TaskTypeId. |
TemplateTextFile
Gets or sets the TemplateTextFile associated with this TaskEntity.
Declaration
public string TemplateTextFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The TemplateTextFile. |
WorkflowInstanceIdentifier
Gets or sets the WorkflowInstanceIdentifier associated with this TaskEntity.
Declaration
public Guid? WorkflowInstanceIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Guid> | The WorkflowInstanceIdentifier. |
Methods
DeepCopy()
Create a clone of the entity. References to original object are NOT kept.
Declaration
public TaskEntity DeepCopy()
Returns
| Type | Description |
|---|---|
| TaskEntity | TaskEntity |
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
ShallowCopy()
Create a clone of the entity. References to original object are kept.
Declaration
public TaskEntity ShallowCopy()
Returns
| Type | Description |
|---|---|
| TaskEntity | TaskEntity |