Class Course
This class represents the EntityModel interface to the AdCourse database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class Course
Constructors
Course()
Declaration
public Course()
Properties
AddDropDays
Gets or sets the AddDropDays associated with this Course.
Declaration
public byte? AddDropDays { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Byte> | The AddDropDays. |
AdDependentCourseId
Gets or sets the AdDependentCourseId associated with this Course.
Declaration
public int? AdDependentCourseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The AdDependentCourseId. |
AllowOverride
Gets or sets the AllowOverride associated with this Course.
Declaration
public bool AllowOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The AllowOverride. |
AllowRetakeOverride
Gets or sets the AllowRetakeOverride associated with this Course.
Declaration
public bool AllowRetakeOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The AllowRetakeOverride. |
Attributes
Declaration
public virtual ICollection<CourseAssociatedAttribute> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseAssociatedAttribute> |
BookLists
Declaration
public virtual ICollection<CourseBookList> BookLists { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseBookList> |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this Course.
Declaration
public int? CampusGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CampusGroupId. |
CatalogCode
WlmActivityType relationship
Declaration
public string CatalogCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CatalogCode. |
Remarks
Added to non-generated class without the ForiegnKey attribute - as the foreign key may not be present in the database and the property ignored.
CatalogYears
Declaration
public virtual ICollection<CatalogYearCourse> CatalogYears { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CatalogYearCourse> |
ClassSections
Declaration
public virtual ICollection<ClassSection> ClassSections { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<ClassSection> |
ClockHours
Gets or sets the ClockHours associated with this Course.
Declaration
public decimal ClockHours { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The ClockHours. |
Code
Gets or sets the Code associated with this Course.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Code. |
CompareContactHrsWithClsSched
Gets or sets the CompareContactHrsWithClsSched associated with this Course.
Declaration
public bool CompareContactHrsWithClsSched { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The CompareContactHrsWithClsSched. |
CourseCorequisiteRules
Declaration
public virtual ICollection<CourseCorequisiteRule> CourseCorequisiteRules { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseCorequisiteRule> |
CourseEquivalencies
Declaration
public virtual ICollection<CourseEquivalent> CourseEquivalencies { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseEquivalent> |
CourseEquivalentTo
Declaration
public virtual ICollection<CourseEquivalent> CourseEquivalentTo { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseEquivalent> |
CourseFeeSchedules
Declaration
public virtual ICollection<CourseFeeSchedule> CourseFeeSchedules { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseFeeSchedule> |
CourseLevel
Declaration
public virtual CourseLevel CourseLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| CourseLevel |
CourseLevelId
Gets or sets the CourseLevelId associated with this Course.
Declaration
public int? CourseLevelId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CourseLevelId. |
CoursePrefixes
Declaration
public virtual ICollection<CoursePrefixCourseAssociation> CoursePrefixes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CoursePrefixCourseAssociation> |
CoursePrerequisiteRuleCreditsGradeLevel
Declaration
public virtual ICollection<CoursePrerequisiteRuleCreditsGradeLevel> CoursePrerequisiteRuleCreditsGradeLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CoursePrerequisiteRuleCreditsGradeLevel> |
CoursePrerequisiteRules
Declaration
public virtual ICollection<CoursePrerequisiteRule> CoursePrerequisiteRules { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CoursePrerequisiteRule> |
CourseSkills
Declaration
public virtual ICollection<CourseSkill> CourseSkills { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseSkill> |
CourseType
Declaration
public virtual CourseType CourseType { get; set; }
Property Value
| Type | Description |
|---|---|
| CourseType |
CourseTypeId
Gets or sets the CourseTypeId associated with this Course.
Declaration
public int? CourseTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CourseTypeId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this Course.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
CreditHours
Gets or sets the CreditHours associated with this Course.
Declaration
public decimal CreditHours { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The CreditHours. |
DefaultMaxNumOfRepeat
Gets or sets the DefaultMaxNumOfRepeat associated with this Course.
Declaration
public int DefaultMaxNumOfRepeat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The DefaultMaxNumOfRepeat. |
DefaultPassFailSetting
Gets or sets the DefaultPassFailSetting associated with this Course.
Declaration
public byte DefaultPassFailSetting { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte | The DefaultPassFailSetting. |
EnrollStatusCredits
Gets or sets the EnrollStatusCredits associated with this Course.
Declaration
public decimal EnrollStatusCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The EnrollStatusCredits. |
EnrollStatusHours
Gets or sets the EnrollStatusHours associated with this Course.
Declaration
public decimal EnrollStatusHours { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The EnrollStatusHours. |
ExtendedProperties
Extended Properties
Declaration
public ICollection<CourseExtendedProperty> ExtendedProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseExtendedProperty> |
FromEnrollmentTransfers
Declaration
public virtual ICollection<StudentEnrollmentPeriodTransferCourse> FromEnrollmentTransfers { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentEnrollmentPeriodTransferCourse> |
GradeLevel
Gets or sets the GradeLevel associated with this Course.
Declaration
public byte GradeLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte | The GradeLevel. |
Id
Gets or sets the Id associated with this Course.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IncompleteGradeExpirationDays
Gets or sets the IncompleteGradeExpirationDays associated with this Course.
Declaration
public int? IncompleteGradeExpirationDays { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The IncompleteGradeExpirationDays. |
IsActive
Gets or sets the IsActive associated with this Course.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsAddDropDaysBasedOnCalenderDays
Gets or sets the IsAddDropDaysBasedOnCalenderDays associated with this Course.
Declaration
public bool IsAddDropDaysBasedOnCalenderDays { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAddDropDaysBasedOnCalenderDays. |
IsCertificationCourse
Gets or sets the IsCertificationCourse associated with this Course.
Declaration
public bool IsCertificationCourse { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsCertificationCourse. |
IsCourseRemedial
Gets or sets the IsCourseRemedial associated with this Course.
Declaration
public bool IsCourseRemedial { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsCourseRemedial. |
IsDependent
Gets or sets the IsDependent associated with this Course.
Declaration
public bool IsDependent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsDependent. |
IsExcludeDropsFromAttemptsCount
Gets or sets the IsExcludeDropsFromAttemptsCount associated with this Course.
Declaration
public bool IsExcludeDropsFromAttemptsCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsExcludeDropsFromAttemptsCount. |
IsRetakeFee
Gets or sets the IsRetakeFee associated with this Course.
Declaration
public bool IsRetakeFee { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsRetakeFee. |
IsSupplementaryCourse
Gets or sets the IsSupplementaryCourse associated with this Course.
Declaration
public bool IsSupplementaryCourse { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsSupplementaryCourse. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this Course.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this Course.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
LessonScores
Declaration
public virtual ICollection<StudentEnrollmentPeriodLesson> LessonScores { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentEnrollmentPeriodLesson> |
LoadMethod
Gets or sets the LoadMethod associated with this Course.
Declaration
public string LoadMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The LoadMethod. |
MatchOverrideCredits
Gets or sets the MatchOverrideCredits associated with this Course.
Declaration
public bool MatchOverrideCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The MatchOverrideCredits. |
MaximumCredits
Gets or sets the MaximumCredits associated with this Course.
Declaration
public decimal? MaximumCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The MaximumCredits. |
MaximumDays
Gets or sets the MaximumDays associated with this Course.
Declaration
public short MaximumDays { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int16 | The MaximumDays. |
MaximumNumWithoutRetakeFee
Gets or sets the MaximumNumWithoutRetakeFee associated with this Course.
Declaration
public int? MaximumNumWithoutRetakeFee { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The MaximumNumWithoutRetakeFee. |
MaxNumberAssignments
Gets or sets the MaxNumberAssignments associated with this Course.
Declaration
public int? MaxNumberAssignments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The MaxNumberAssignments. |
MinimumCredits
Gets or sets the MinimumCredits associated with this Course.
Declaration
public decimal? MinimumCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The MinimumCredits. |
MinimumDays
Gets or sets the MinimumDays associated with this Course.
Declaration
public short MinimumDays { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int16 | The MinimumDays. |
Name
Gets or sets the Name associated with this Course.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Name. |
Note
Gets or sets the Note associated with this Course.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
OtherLanguageCode
Gets or sets the OtherLanguageCode associated with this Course.
Declaration
public string OtherLanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The OtherLanguageCode. |
OtherLanguageDescription
Gets or sets the OtherLanguageDescription associated with this Course.
Declaration
public string OtherLanguageDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The OtherLanguageDescription. |
OutsideCourseWorkHours
Gets or sets the OutsideCourseWorkHours associated with this Course.
Declaration
public decimal OutsideCourseWorkHours { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The OutsideCourseWorkHours. |
RequiredCourseLists
Declaration
public virtual ICollection<RequiredCourse> RequiredCourseLists { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<RequiredCourse> |
Resources
Declaration
public virtual ICollection<CourseResource> Resources { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<CourseResource> |
RetakeAssessmentType
Gets or sets the RetakeAssessmentType associated with this Course.
Declaration
public string RetakeAssessmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The RetakeAssessmentType. |
StudentCourses
Declaration
public virtual ICollection<StudentCourse> StudentCourses { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentCourse> |
StudentCourseStatusChanges
Declaration
public virtual ICollection<StudentCourseStatusChange> StudentCourseStatusChanges { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentCourseStatusChange> |
StudentTransferCredits
Declaration
public virtual ICollection<StudentTransferCredit> StudentTransferCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentTransferCredit> |
SupplementaryAssessmentType
Gets or sets the SupplementaryAssessmentType associated with this Course.
Declaration
public string SupplementaryAssessmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SupplementaryAssessmentType. |
ToEnrollmentTransfers
Declaration
public virtual ICollection<StudentEnrollmentPeriodTransferCourse> ToEnrollmentTransfers { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentEnrollmentPeriodTransferCourse> |
UnitType
Gets or sets the UnitType associated with this Course.
Declaration
public string UnitType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The UnitType. |
WlmActivityType
Declaration
public virtual WlmActivityType WlmActivityType { get; set; }
Property Value
| Type | Description |
|---|---|
| WlmActivityType |
WlmActivityTypeId
Gets or sets the WlmActivityTypeId associated with this Course.
Declaration
public int? WlmActivityTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The WlmActivityTypeId. |
WlmAssignmentType
Declaration
public virtual WlmAssignmentType WlmAssignmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| WlmAssignmentType |
WlmAssignmentTypeId
Gets or sets the WlmAssignmentTypeId associated with this Course.
Declaration
public int? WlmAssignmentTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The WlmAssignmentTypeId. |
WlmDepartment
Declaration
public virtual WlmDepartment WlmDepartment { get; set; }
Property Value
| Type | Description |
|---|---|
| WlmDepartment |
WlmDepartmentId
Gets or sets the WlmDepartmentId associated with this Course.
Declaration
public int? WlmDepartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The WlmDepartmentId. |
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 relationships 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 |