Class CoursePrerequisite
This class represents the EntityModel interface to the AdCoursePreReqConfig database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CoursePrerequisite
Constructors
CoursePrerequisite()
Declaration
public CoursePrerequisite()
Properties
CatalogYear
Declaration
public virtual CatalogYear CatalogYear { get; set; }
Property Value
Type | Description |
---|---|
CatalogYear |
CatalogYearId
Gets or sets the CatalogYearId associated with this CoursePrerequisite.
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 CoursePrerequisite.
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 CoursePrerequisite.
Declaration
public int CourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this CoursePrerequisite.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this CoursePrerequisite.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsEnabled
Gets or sets the IsEnabled associated with this CoursePrerequisite.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsEnabled. |
IsOptional
Gets or sets the IsOptional associated with this CoursePrerequisite.
Declaration
public bool IsOptional { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsOptional. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this CoursePrerequisite.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this CoursePrerequisite.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
MinNumberRequired
Gets or sets the MinNumberRequired associated with this CoursePrerequisite.
Declaration
public int? MinNumberRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The MinNumberRequired. |
PrerequisiteType
Gets or sets the PrerequisiteType associated with this CoursePrerequisite.
Declaration
public string PrerequisiteType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PrerequisiteType. |
ProgramVersion
Declaration
public virtual ProgramVersion ProgramVersion { get; set; }
Property Value
Type | Description |
---|---|
ProgramVersion |
ProgramVersionId
Gets or sets the ProgramVersionId associated with this CoursePrerequisite.
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 CoursePrerequisite.
Declaration
public int? RequiredCourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The RequiredCourseId. |
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. |