Class DocumentDataChange
This class represents the EntityModel interface to the SyAudit_CmDocument database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class DocumentDataChange
Constructors
DocumentDataChange()
Declaration
public DocumentDataChange()
Fields
PropertyNameAsStatus
Declaration
public static readonly string PropertyNameAsStatus
Field Value
Type | Description |
---|---|
System.String |
Properties
CreatedDateTime
Gets or sets the CreatedDateTime associated with this DocumentDataChange.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Document
Declaration
public virtual Document Document { get; set; }
Property Value
Type | Description |
---|---|
Document |
DocumentId
Gets or sets the DocumentId associated with this DocumentDataChange.
Declaration
public int? DocumentId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The DocumentId. |
DocumentType
Declaration
public virtual DocumentType DocumentType { get; set; }
Property Value
Type | Description |
---|---|
DocumentType |
DocumentTypeId
Gets or sets the DocumentTypeId associated with this DocumentDataChange.
Declaration
public int DocumentTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The DocumentTypeId. |
Id
Gets or sets the Id associated with this DocumentDataChange.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsDeleted
Gets or sets the IsDeleted associated with this DocumentDataChange.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsDeleted. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this DocumentDataChange.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this DocumentDataChange.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
NewValue
Gets or sets the NewValue associated with this DocumentDataChange.
Declaration
public string NewValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | The NewValue. |
Note
Gets or sets the Note associated with this DocumentDataChange.
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Note. |
OldValue
Gets or sets the OldValue associated with this DocumentDataChange.
Declaration
public string OldValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OldValue. |
PropertyName
Gets or sets the PropertyName associated with this DocumentDataChange.
Declaration
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PropertyName. |
StaffUser
Declaration
public virtual Staff StaffUser { get; set; }
Property Value
Type | Description |
---|---|
Staff |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
Type | Description |
---|---|
Student |
StudentId
Gets or sets the StudentId associated with this DocumentDataChange.
Declaration
public int StudentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The StudentId. |
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. |