Class CourseGroup
This class represents the EntityModel interface to the AdCourseGroup database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CourseGroup
Constructors
CourseGroup()
Declaration
public CourseGroup()
Properties
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
Type | Description |
---|---|
CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this CourseGroup.
Declaration
public int CampusGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CampusGroupId. |
Code
Gets or sets the Code associated with this CourseGroup.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
Courses
Declaration
public virtual ICollection<CourseGroupCourse> Courses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CourseGroupCourse> |
Degrees
Declaration
public virtual ICollection<CourseGroupDegree> Degrees { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CourseGroupDegree> |
Id
Gets or sets the Id associated with this CourseGroup.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this CourseGroup.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsFteUsedWlm
Gets or sets the IsFteUsedWlm associated with this CourseGroup.
Declaration
public bool? IsFteUsedWlm { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | The IsFteUsedWlm. |
IsUsedWlm
Gets or sets the IsUsedWlm associated with this CourseGroup.
Declaration
public bool? IsUsedWlm { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | The IsUsedWlm. |
Name
Gets or sets the Name associated with this CourseGroup.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
ProgramGroups
Declaration
public virtual ICollection<CourseGroupProgramGroup> ProgramGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CourseGroupProgramGroup> |
Programs
Declaration
public virtual ICollection<CourseGroupProgram> Programs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CourseGroupProgram> |
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. |