Class DocumentType
This class represents the EntityModel interface to the CmDocType database table.
Inheritance
Implements
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class DocumentType : IReferenceItem, IIdentifiable
Constructors
DocumentType()
Declaration
public DocumentType()
Properties
Agencies
Declaration
public virtual ICollection<AgencyDocumentType> Agencies { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<AgencyDocumentType> |
CalculateDueDateDays
Gets or sets the CalculateDueDateDays associated with this DocumentType.
Declaration
public decimal? CalculateDueDateDays { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | The CalculateDueDateDays. |
CalculateDueDateType
Gets or sets the CalculateDueDateType associated with this DocumentType.
Declaration
public string CalculateDueDateType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The CalculateDueDateType. |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
Type | Description |
---|---|
CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this DocumentType.
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 DocumentType.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this DocumentType.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
DefaultCmDocStatusId
Gets or sets the DefaultCmDocStatusId associated with this DocumentType.
Declaration
public int? DefaultCmDocStatusId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The DefaultCmDocStatusId. |
DefaultDocumentStatus
Declaration
public virtual DocumentStatus DefaultDocumentStatus { get; set; }
Property Value
Type | Description |
---|---|
DocumentStatus |
DirectionType
Gets or sets the DirectionType associated with this DocumentType.
Declaration
public string DirectionType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The DirectionType. |
DownloadDocumentName
Gets or sets the DownloadDocumentName associated with this DocumentType.
Declaration
public string DownloadDocumentName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The DownloadDocumentName. |
ElectronicDocs
Declaration
public virtual ICollection<DocumentTypeFile> ElectronicDocs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<DocumentTypeFile> |
ExtendedProperties
Extended Properties
Declaration
public ICollection<DocumentTypeExtendedProperty> ExtendedProperties { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<DocumentTypeExtendedProperty> |
Id
Gets or sets the Id associated with this DocumentType.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
ImageNowDocDesc
Gets or sets the ImageNowDocDesc associated with this DocumentType.
Declaration
public string ImageNowDocDesc { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ImageNowDocDesc. |
IntegrateToCrm
Gets or sets the IntegrateToCrm associated with this DocumentType.
Declaration
public bool IntegrateToCrm { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IntegrateToCrm. |
IsActive
Gets or sets the IsActive associated with this DocumentType.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsAwardYearSpecific
Gets or sets the IsAwardYearSpecific associated with this DocumentType.
Declaration
public bool IsAwardYearSpecific { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsAwardYearSpecific. |
IsPlacementSpecific
Gets or sets the IsPlacementSpecific associated with this DocumentType.
Declaration
public bool IsPlacementSpecific { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsPlacementSpecific. |
IsSystemCode
Gets or sets the IsSystemCode associated with this DocumentType.
Declaration
public bool IsSystemCode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsSystemCode. |
IsTranscriptRequest
Gets or sets the IsTranscriptRequest associated with this DocumentType.
Declaration
public bool IsTranscriptRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsTranscriptRequest. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this DocumentType.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this DocumentType.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Module
Declaration
public virtual Module Module { get; set; }
Property Value
Type | Description |
---|---|
Module |
ModuleId
Gets or sets the ModuleId associated with this DocumentType.
Declaration
public int ModuleId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ModuleId. |
Name
Gets or sets the Name associated with this DocumentType.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
PermitTypes
Gets or sets the PermitTypes associated with this DocumentType.
Declaration
public int PermitTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The PermitTypes. |
Programs
Declaration
public virtual ICollection<ProgramDocumentType> Programs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<ProgramDocumentType> |
ProgramVersions
Declaration
public virtual ICollection<ProgramVersionDocumentType> ProgramVersions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<ProgramVersionDocumentType> |
TranscriptRequestType
Gets or sets the TranscriptRequestType associated with this DocumentType.
Declaration
public string TranscriptRequestType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TranscriptRequestType. |
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 relationships 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 |