Class TaskProcessJobResult
This class represents the EntityModel interface to the CmTaskMaintenanceProcessResults database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class TaskProcessJobResult
Constructors
TaskProcessJobResult()
Declaration
public TaskProcessJobResult()
Properties
AssignedStaff
Declaration
public virtual Staff AssignedStaff { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
AssignedStaffId
Gets or sets the AssignedStaffId associated with this TaskProcessJobResult.
Declaration
public int? AssignedStaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The AssignedStaffId. |
BackGroundBatchStatusId
Gets or sets the BackGroundBatchStatusId associated with this TaskProcessJobResult.
Declaration
public int BackGroundBatchStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The BackGroundBatchStatusId. |
CompletedByUser
Declaration
public virtual Staff CompletedByUser { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
CompletedByUserId
Gets or sets the CompletedByUserId associated with this TaskProcessJobResult.
Declaration
public int? CompletedByUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CompletedByUserId. |
DueDate
Gets or sets the DueDate associated with this TaskProcessJobResult.
Declaration
public DateTime? DueDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The DueDate. |
EndDate
Gets or sets the EndDate associated with this TaskProcessJobResult.
Declaration
public DateTime? EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The EndDate. |
Id
Gets or sets the Id associated with this TaskProcessJobResult.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
JobCreatedDateTime
Gets or sets the JobCreatedDateTime associated with this TaskProcessJobResult.
Declaration
public DateTime JobCreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The JobCreatedDateTime. |
JobResult
Gets or sets the JobResult associated with this TaskProcessJobResult.
Declaration
public string JobResult { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The JobResult. |
JobStartedDateTime
Gets or sets the JobStartedDateTime associated with this TaskProcessJobResult.
Declaration
public DateTime? JobStartedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The JobStartedDateTime. |
JobStatus
Gets or sets the JobStatus associated with this TaskProcessJobResult.
Declaration
public string JobStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The JobStatus. |
Note
Gets or sets the Note associated with this TaskProcessJobResult.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
PreviousAssignedStaff
Declaration
public virtual Staff PreviousAssignedStaff { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
PreviousAssignedStaffId
Gets or sets the PreviousAssignedStaffId associated with this TaskProcessJobResult.
Declaration
public int? PreviousAssignedStaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PreviousAssignedStaffId. |
PreviousTaskResult
Declaration
public virtual TaskResult PreviousTaskResult { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskResult |
PreviousTaskResultId
Gets or sets the PreviousTaskResultId associated with this TaskProcessJobResult.
Declaration
public int? PreviousTaskResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PreviousTaskResultId. |
PreviousTaskStatus
Declaration
public virtual TaskStatus PreviousTaskStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskStatus |
PreviousTaskStatusId
Gets or sets the PreviousTaskStatusId associated with this TaskProcessJobResult.
Declaration
public int? PreviousTaskStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PreviousTaskStatusId. |
Priority
Gets or sets the Priority associated with this TaskProcessJobResult.
Declaration
public string Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Priority. |
Task
Declaration
public virtual Task Task { get; set; }
Property Value
| Type | Description |
|---|---|
| Task |
TaskId
Gets or sets the TaskId associated with this TaskProcessJobResult.
Declaration
public int TaskId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The TaskId. |
TaskResult
Declaration
public virtual TaskResult TaskResult { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskResult |
TaskResultId
Gets or sets the TaskResultId associated with this TaskProcessJobResult.
Declaration
public int? TaskResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TaskResultId. |
TaskStatus
Declaration
public virtual TaskStatus TaskStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskStatus |
TaskStatusId
Gets or sets the TaskStatusId associated with this TaskProcessJobResult.
Declaration
public int? TaskStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TaskStatusId. |
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. |