Class TaskTemplate
This class represents the EntityModel interface to the CmTemplate database table.
Inheritance
Implements
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class TaskTemplate : IReferenceItem, IIdentifiable
Constructors
TaskTemplate()
Declaration
public TaskTemplate()
Properties
AddressTypeId
Gets or sets the AddressTypeId associated with this TaskTemplate.
Declaration
public int? AddressTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The AddressTypeId. |
AdvisorTypes
Gets or sets the AdvisorTypes associated with this TaskTemplate.
Declaration
public string AdvisorTypes { get; set; }
Property Value
Type | Description |
---|---|
System.String | The AdvisorTypes. |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
Type | Description |
---|---|
CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this TaskTemplate.
Declaration
public int? CampusGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CampusGroupId. |
Code
Gets or sets the Code associated with this TaskTemplate.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this TaskTemplate.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
CrmIntegrationEffectiveDate
Gets or sets the CrmIntegrationEffectiveDate associated with this TaskTemplate.
Declaration
public DateTime? CrmIntegrationEffectiveDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The CrmIntegrationEffectiveDate. |
CrmProcess
Gets or sets the CrmProcess associated with this TaskTemplate.
Declaration
public bool CrmProcess { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The CrmProcess. |
DefaultDuration
Gets or sets the DefaultDuration associated with this TaskTemplate.
Declaration
public int DefaultDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The DefaultDuration. |
DefaultStaffStatus
Gets or sets the DefaultStaffStatus associated with this TaskTemplate.
Declaration
public string DefaultStaffStatus { get; set; }
Property Value
Type | Description |
---|---|
System.String | The DefaultStaffStatus. |
DefaultTaskResult
Declaration
public virtual TaskResult DefaultTaskResult { get; set; }
Property Value
Type | Description |
---|---|
TaskResult |
DefaultTaskResultId
Gets or sets the DefaultTaskResultId associated with this TaskTemplate.
Declaration
public int? DefaultTaskResultId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The DefaultTaskResultId. |
DefaultTaskStatus
Declaration
public virtual TaskStatus DefaultTaskStatus { get; set; }
Property Value
Type | Description |
---|---|
TaskStatus |
DefaultTaskStatusId
Gets or sets the DefaultTaskStatusId associated with this TaskTemplate.
Declaration
public int? DefaultTaskStatusId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The DefaultTaskStatusId. |
DefaultText
Gets or sets the DefaultText associated with this TaskTemplate.
Declaration
public string DefaultText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The DefaultText. |
DocumentTypes
Declaration
public virtual ICollection<TaskTemplateDocumentType> DocumentTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TaskTemplateDocumentType> |
EmailSubject
Gets or sets the EmailSubject associated with this TaskTemplate.
Declaration
public string EmailSubject { get; set; }
Property Value
Type | Description |
---|---|
System.String | The EmailSubject. |
EmployerContactActivityFlag
Gets or sets the EmployerContactActivityFlag associated with this TaskTemplate.
Declaration
public string EmployerContactActivityFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The EmployerContactActivityFlag. |
EmployerContactFlag
Gets or sets the EmployerContactFlag associated with this TaskTemplate.
Declaration
public string EmployerContactFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The EmployerContactFlag. |
EventText
Gets or sets the EventText associated with this TaskTemplate.
Declaration
public byte[] EventText { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The EventText. |
FaEnrollmentTransferTasks
Declaration
public virtual ICollection<StudentEnrollmentPeriodTransfer> FaEnrollmentTransferTasks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<StudentEnrollmentPeriodTransfer> |
Id
Gets or sets the Id associated with this TaskTemplate.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IncidentLocationFlag
Gets or sets the IncidentLocationFlag associated with this TaskTemplate.
Declaration
public string IncidentLocationFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The IncidentLocationFlag. |
Incidents
Declaration
public virtual ICollection<Incident> Incidents { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<Incident> |
IncidentType
Declaration
public virtual IncidentType IncidentType { get; set; }
Property Value
Type | Description |
---|---|
IncidentType |
IncidentTypeId
Gets or sets the IncidentTypeId associated with this TaskTemplate.
Declaration
public int? IncidentTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The IncidentTypeId. |
IsActive
Gets or sets the IsActive associated with this TaskTemplate.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsCommentsDisplayedToStudent
Gets or sets the IsCommentsDisplayedToStudent associated with this TaskTemplate.
Declaration
public bool IsCommentsDisplayedToStudent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsCommentsDisplayedToStudent. |
IsFollowupRequired
Gets or sets the IsFollowupRequired associated with this TaskTemplate.
Declaration
public bool IsFollowupRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsFollowupRequired. |
IsIntegrated
Gets or sets the IsIntegrated associated with this TaskTemplate.
Declaration
public bool IsIntegrated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsIntegrated. |
IsLastEditedInDesktop
Gets or sets the IsLastEditedInDesktop associated with this TaskTemplate.
Declaration
public bool IsLastEditedInDesktop { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsLastEditedInDesktop. |
IsSmsSentAsEmail
Gets or sets the IsSmsSentAsEmail associated with this TaskTemplate.
Declaration
public bool IsSmsSentAsEmail { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsSmsSentAsEmail. |
IsSystemCode
Gets or sets the IsSystemCode associated with this TaskTemplate.
Declaration
public bool IsSystemCode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsSystemCode. |
JobActivityFlag
Gets or sets the JobActivityFlag associated with this TaskTemplate.
Declaration
public string JobActivityFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The JobActivityFlag. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this TaskTemplate.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this TaskTemplate.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Message
Gets or sets the Message associated with this TaskTemplate.
Declaration
public byte[] Message { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The Message. |
Name
Gets or sets the Name associated with this TaskTemplate.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
OrganizationContactActivityFlag
Gets or sets the OrganizationContactActivityFlag associated with this TaskTemplate.
Declaration
public string OrganizationContactActivityFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OrganizationContactActivityFlag. |
OrganizationContactFlag
Gets or sets the OrganizationContactFlag associated with this TaskTemplate.
Declaration
public string OrganizationContactFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OrganizationContactFlag. |
OrganizationTypeId
Gets or sets the OrganizationTypeId associated with this TaskTemplate.
Declaration
public int? OrganizationTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The OrganizationTypeId. |
OtherAdvisorTypes
Gets or sets the OtherAdvisorTypes associated with this TaskTemplate.
Declaration
public string OtherAdvisorTypes { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OtherAdvisorTypes. |
SaEnrollmentTransferTasks
Declaration
public virtual ICollection<StudentEnrollmentPeriodTransfer> SaEnrollmentTransferTasks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<StudentEnrollmentPeriodTransfer> |
ScriptQuestionAnswerValueActions
Declaration
public virtual ICollection<TaskTemplateScriptQuestionAnswerAction> ScriptQuestionAnswerValueActions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TaskTemplateScriptQuestionAnswerAction> |
ScriptQuestionAnswerValues
Declaration
public virtual ICollection<TaskTemplateScriptQuestionAnswer> ScriptQuestionAnswerValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TaskTemplateScriptQuestionAnswer> |
ScriptQuestions
Declaration
public virtual ICollection<TaskTemplateScriptQuestion> ScriptQuestions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TaskTemplateScriptQuestion> |
SendTo
Gets or sets the SendTo associated with this TaskTemplate.
Declaration
public string SendTo { get; set; }
Property Value
Type | Description |
---|---|
System.String | The SendTo. |
StaffId
Gets or sets the StaffId associated with this TaskTemplate.
Declaration
public int? StaffId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The StaffId. |
StudentContactFlag
Gets or sets the StudentContactFlag associated with this TaskTemplate.
Declaration
public string StudentContactFlag { get; set; }
Property Value
Type | Description |
---|---|
System.String | The StudentContactFlag. |
TaskCategory
Declaration
public virtual TaskCategory TaskCategory { get; set; }
Property Value
Type | Description |
---|---|
TaskCategory |
TaskCategoryId
Gets or sets the TaskCategoryId associated with this TaskTemplate.
Declaration
public int? TaskCategoryId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The TaskCategoryId. |
TaskType
Declaration
public virtual TaskType TaskType { get; set; }
Property Value
Type | Description |
---|---|
TaskType |
TaskTypeId
Gets or sets the TaskTypeId associated with this TaskTemplate.
Declaration
public int TaskTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The TaskTypeId. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |