Class CoursePrerequisiteRuleDocumentType
This class represents the EntityModel interface to the AdCoursePreReqDocument database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CoursePrerequisiteRuleDocumentType
Constructors
CoursePrerequisiteRuleDocumentType()
Declaration
public CoursePrerequisiteRuleDocumentType()
Properties
CatalogYear
Declaration
public virtual CatalogYear CatalogYear { get; set; }
Property Value
| Type | Description |
|---|---|
| CatalogYear |
CatalogYearId
Gets or sets the CatalogYearId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int? CatalogYearId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CatalogYearId. |
Course
Declaration
public virtual Course Course { get; set; }
Property Value
| Type | Description |
|---|---|
| Course |
CourseCategory
Declaration
public virtual CourseCategory CourseCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| CourseCategory |
CourseCategoryId
Gets or sets the CourseCategoryId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int? CourseCategoryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CourseCategoryId. |
CourseId
Gets or sets the CourseId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int? CourseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CourseId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
DocumentType
Declaration
public virtual DocumentType DocumentType { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentType |
DocumentTypeId
Gets or sets the DocumentTypeId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int? DocumentTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The DocumentTypeId. |
Id
Gets or sets the Id associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
MinimumNumberRequired
Gets or sets the MinimumNumberRequired associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int MinimumNumberRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The MinimumNumberRequired. |
ProgramVersion
Declaration
public virtual ProgramVersion ProgramVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| ProgramVersion |
ProgramVersionId
Gets or sets the ProgramVersionId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int? ProgramVersionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The ProgramVersionId. |
RequiredCourseId
Gets or sets the RequiredCourseId associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int? RequiredCourseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The RequiredCourseId. |
RuleNumber
Gets or sets the RuleNumber associated with this CoursePrerequisiteRuleDocumentType.
Declaration
public int RuleNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The RuleNumber. |
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. |