Class CatalogYearCourse
This class represents the EntityModel interface to the vw_CatalogCourses database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CatalogYearCourse
Constructors
CatalogYearCourse()
Declaration
public CatalogYearCourse()
Properties
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this CatalogYearCourse.
Declaration
public int CampusGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CampusGroupId. |
CatalogYear
Declaration
public virtual CatalogYear CatalogYear { get; set; }
Property Value
| Type | Description |
|---|---|
| CatalogYear |
CatalogYearCode
Gets or sets the CatalogYearCode associated with this CatalogYearCourse.
Declaration
public string CatalogYearCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CatalogYearCode. |
CatalogYearEffectiveEndDate
Gets or sets the CatalogYearEffectiveEndDate associated with this CatalogYearCourse.
Declaration
public DateTime? CatalogYearEffectiveEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The CatalogYearEffectiveEndDate. |
CatalogYearEffectiveStartDate
Gets or sets the CatalogYearEffectiveStartDate associated with this CatalogYearCourse.
Declaration
public DateTime? CatalogYearEffectiveStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The CatalogYearEffectiveStartDate. |
CatalogYearId
Gets or sets the CatalogYearId associated with this CatalogYearCourse.
Declaration
public int CatalogYearId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CatalogYearId. |
CatalogYearName
Gets or sets the CatalogYearName associated with this CatalogYearCourse.
Declaration
public string CatalogYearName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CatalogYearName. |
Course
Declaration
public virtual Course Course { get; set; }
Property Value
| Type | Description |
|---|---|
| Course |
CourseCatalogCode
Gets or sets the CourseCatalogCode associated with this CatalogYearCourse.
Declaration
public string CourseCatalogCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CourseCatalogCode. |
CourseClockHours
Gets or sets the CourseClockHours associated with this CatalogYearCourse.
Declaration
public decimal CourseClockHours { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The CourseClockHours. |
CourseCode
Gets or sets the CourseCode associated with this CatalogYearCourse.
Declaration
public string CourseCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CourseCode. |
CourseCreditHours
Gets or sets the CourseCreditHours associated with this CatalogYearCourse.
Declaration
public decimal CourseCreditHours { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The CourseCreditHours. |
CourseId
Gets or sets the CourseId associated with this CatalogYearCourse.
Declaration
public int CourseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CourseId. |
CourseName
Gets or sets the CourseName associated with this CatalogYearCourse.
Declaration
public string CourseName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CourseName. |
Id
Gets or sets the Id associated with this CatalogYearCourse.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsCatalogYearActive
Gets or sets the IsCatalogYearActive associated with this CatalogYearCourse.
Declaration
public bool IsCatalogYearActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsCatalogYearActive. |
IsCourseActive
Gets or sets the IsCourseActive associated with this CatalogYearCourse.
Declaration
public bool IsCourseActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsCourseActive. |
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. |