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