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