Class TaskPolicyDetail
This class represents the EntityModel interface to the CmPolicyDetail database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class TaskPolicyDetail
Constructors
TaskPolicyDetail()
Declaration
public TaskPolicyDetail()
Properties
CreatedDateTime
Gets or sets the CreatedDateTime associated with this TaskPolicyDetail.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this TaskPolicyDetail.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsAllowedToAssign
Gets or sets the IsAllowedToAssign associated with this TaskPolicyDetail.
Declaration
public bool IsAllowedToAssign { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAllowedToAssign. |
IsAllowedToClose
Gets or sets the IsAllowedToClose associated with this TaskPolicyDetail.
Declaration
public bool IsAllowedToClose { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAllowedToClose. |
IsAllowedToEdit
Gets or sets the IsAllowedToEdit associated with this TaskPolicyDetail.
Declaration
public bool IsAllowedToEdit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAllowedToEdit. |
IsAllowedToRead
Gets or sets the IsAllowedToRead associated with this TaskPolicyDetail.
Declaration
public bool IsAllowedToRead { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAllowedToRead. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this TaskPolicyDetail.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this TaskPolicyDetail.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
PolicyRecordType
Gets or sets the PolicyRecordType associated with this TaskPolicyDetail.
Declaration
public string PolicyRecordType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PolicyRecordType. |
StaffGroup
Declaration
public virtual StaffGroup StaffGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| StaffGroup |
StaffGroupId
Gets or sets the StaffGroupId associated with this TaskPolicyDetail.
Declaration
public int? StaffGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The StaffGroupId. |
TaskPolicy
Declaration
public virtual TaskPolicy TaskPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskPolicy |
TaskPolicyId
Gets or sets the TaskPolicyId associated with this TaskPolicyDetail.
Declaration
public int TaskPolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The TaskPolicyId. |
TaskTemplate
Declaration
public virtual TaskTemplate TaskTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskTemplate |
TaskTemplateId
Gets or sets the TaskTemplateId associated with this TaskPolicyDetail.
Declaration
public int? TaskTemplateId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TaskTemplateId. |
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. |