Class StudentCourseDocumentPermit
This class represents the EntityModel interface to the CmDocumentPermit database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Crm
Assembly: Cmc.Nexus.Models.dll
Syntax
public class StudentCourseDocumentPermit
Constructors
StudentCourseDocumentPermit()
Declaration
public StudentCourseDocumentPermit()
Properties
ClassSection
Declaration
public virtual ClassSection ClassSection { get; set; }
Property Value
Type | Description |
---|---|
ClassSection |
ClassSectionId
Gets or sets the ClassSectionId associated with this StudentCourseDocumentPermit.
Declaration
public int? ClassSectionId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The ClassSectionId. |
Course
Declaration
public virtual Course Course { get; set; }
Property Value
Type | Description |
---|---|
Course |
CourseId
Gets or sets the CourseId associated with this StudentCourseDocumentPermit.
Declaration
public int CourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this StudentCourseDocumentPermit.
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 StudentCourseDocumentPermit.
Declaration
public int DocumentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The DocumentId. |
Id
Gets or sets the Id associated with this StudentCourseDocumentPermit.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this StudentCourseDocumentPermit.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUser
Declaration
public virtual Staff LastModifiedUser { get; set; }
Property Value
Type | Description |
---|---|
Staff |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this StudentCourseDocumentPermit.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
PermitType
Gets or sets the PermitType associated with this StudentCourseDocumentPermit.
Declaration
public int PermitType { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The PermitType. |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
Type | Description |
---|---|
Student |
StudentId
Gets or sets the StudentId associated with this StudentCourseDocumentPermit.
Declaration
public int StudentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The StudentId. |
Term
Declaration
public virtual Term Term { get; set; }
Property Value
Type | Description |
---|---|
Term |
TermId
Gets or sets the TermId associated with this StudentCourseDocumentPermit.
Declaration
public int? TermId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The TermId. |
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. |