Class CourseGroupCourse
This class represents the EntityModel interface to the AdCourseGroupCourse database table.
Inheritance
System.Object
CourseGroupCourse
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CourseGroupCourse
Constructors
CourseGroupCourse()
Declaration
public CourseGroupCourse()
Properties
Course
Declaration
public virtual Course Course { get; set; }
Property Value
Type | Description |
---|---|
Course |
CourseGroupId
Gets or sets the CourseGroupId associated with this CourseGroupCourse.
Declaration
public int CourseGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseGroupId. |
CourseId
Gets or sets the CourseId associated with this CourseGroupCourse.
Declaration
public int CourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseId. |
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. |