Class DocumentTypeFile
This class represents the EntityModel interface to the CmEDocument database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class DocumentTypeFile
Constructors
DocumentTypeFile()
Declaration
public DocumentTypeFile()
Properties
CreatedDateTime
Gets or sets the CreatedDateTime associated with this DocumentTypeFile.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
DocumentImage
Gets or sets the DocumentImage associated with this DocumentTypeFile.
Declaration
public byte[] DocumentImage { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The DocumentImage. |
DocumentType
Declaration
public virtual DocumentType DocumentType { get; set; }
Property Value
Type | Description |
---|---|
DocumentType |
DocumentTypeId
Gets or sets the DocumentTypeId associated with this DocumentTypeFile.
Declaration
public int DocumentTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The DocumentTypeId. |
FileName
Gets or sets the FileName associated with this DocumentTypeFile.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FileName. |
Id
Gets or sets the Id associated with this DocumentTypeFile.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this DocumentTypeFile.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this DocumentTypeFile.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
TaskTemplateDocumentTypes
Declaration
public virtual ICollection<TaskTemplateDocumentType> TaskTemplateDocumentTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TaskTemplateDocumentType> |
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. |