Class CourseComponentDetail
This class represents the EntityModel interface to the AdCourseSubCourseComponents database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CourseComponentDetail
Constructors
CourseComponentDetail()
Declaration
public CourseComponentDetail()
Properties
ComponentCredits
Gets or sets the ComponentCredits associated with this CourseComponentDetail.
Declaration
public decimal ComponentCredits { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The ComponentCredits. |
ComponentTypeId
Gets or sets the ComponentTypeId associated with this CourseComponentDetail.
Declaration
public int ComponentTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ComponentTypeId. |
Course
Declaration
public virtual Course Course { get; set; }
Property Value
Type | Description |
---|---|
Course |
CourseComponent
Declaration
public virtual CourseComponent CourseComponent { get; set; }
Property Value
Type | Description |
---|---|
CourseComponent |
CourseComponentId
Gets or sets the CourseComponentId associated with this CourseComponentDetail.
Declaration
public int CourseComponentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseComponentId. |
CourseId
Gets or sets the CourseId associated with this CourseComponentDetail.
Declaration
public int CourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this CourseComponentDetail.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this CourseComponentDetail.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this CourseComponentDetail.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsGradesAllowed
Gets or sets the IsGradesAllowed associated with this CourseComponentDetail.
Declaration
public bool IsGradesAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsGradesAllowed. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this CourseComponentDetail.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
RecommendedClassSize
Gets or sets the RecommendedClassSize associated with this CourseComponentDetail.
Declaration
public int? RecommendedClassSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The RecommendedClassSize. |
TotalScheduledHours
Gets or sets the TotalScheduledHours associated with this CourseComponentDetail.
Declaration
public decimal? TotalScheduledHours { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | The TotalScheduledHours. |
WorkLoad
Gets or sets the WorkLoad associated with this CourseComponentDetail.
Declaration
public decimal? WorkLoad { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | The WorkLoad. |
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. |