Class CoursePrerequisiteRule
This class represents the EntityModel interface to the AdCoursePreReqRule database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CoursePrerequisiteRule
Constructors
CoursePrerequisiteRule()
Declaration
public CoursePrerequisiteRule()
Properties
CatalogYear
Declaration
public virtual CatalogYear CatalogYear { get; set; }
Property Value
Type | Description |
---|---|
CatalogYear |
CatalogYearId
Gets or sets the CatalogYearId associated with this CoursePrerequisiteRule.
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 CoursePrerequisiteRule.
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 CoursePrerequisiteRule.
Declaration
public int CourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this CoursePrerequisiteRule.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this CoursePrerequisiteRule.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this CoursePrerequisiteRule.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this CoursePrerequisiteRule.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this CoursePrerequisiteRule.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
NumberRequired
Gets or sets the NumberRequired associated with this CoursePrerequisiteRule.
Declaration
public int? NumberRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The NumberRequired. |
Operator
Gets or sets the Operator associated with this CoursePrerequisiteRule.
Declaration
public string Operator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Operator. |
ParentCoursePrerequisiteRuleId
Gets or sets the ParentCoursePrerequisiteRuleId associated with this CoursePrerequisiteRule.
Declaration
public int? ParentCoursePrerequisiteRuleId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The ParentCoursePrerequisiteRuleId. |
PrerequisiteCourses
Declaration
public virtual ICollection<CoursePrerequisiteRuleCourse> PrerequisiteCourses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CoursePrerequisiteRuleCourse> |
ProgramVersion
Declaration
public virtual ProgramVersion ProgramVersion { get; set; }
Property Value
Type | Description |
---|---|
ProgramVersion |
ProgramVersionId
Gets or sets the ProgramVersionId associated with this CoursePrerequisiteRule.
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 CoursePrerequisiteRule.
Declaration
public int? RequiredCourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The RequiredCourseId. |
RuleType
Gets or sets the RuleType associated with this CoursePrerequisiteRule.
Declaration
public string RuleType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The RuleType. |
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. |