Class TermProgramAssociation
This class represents the EntityModel interface to the AdTermProgramAssociation database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class TermProgramAssociation
Constructors
TermProgramAssociation()
Declaration
public TermProgramAssociation()
Properties
AcademicYearSequence
Gets or sets the AcademicYearSequence associated with this TermProgramAssociation.
Declaration
public int AcademicYearSequence { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The AcademicYearSequence. |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
Type | Description |
---|---|
CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this TermProgramAssociation.
Declaration
public int CampusGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CampusGroupId. |
Id
Gets or sets the Id associated with this TermProgramAssociation.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
Program
Declaration
public virtual Program Program { get; set; }
Property Value
Type | Description |
---|---|
Program |
ProgramId
Gets or sets the ProgramId associated with this TermProgramAssociation.
Declaration
public int ProgramId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ProgramId. |
ProgramVersion
Declaration
public virtual ProgramVersion ProgramVersion { get; set; }
Property Value
Type | Description |
---|---|
ProgramVersion |
ProgramVersionId
Gets or sets the ProgramVersionId associated with this TermProgramAssociation.
Declaration
public int ProgramVersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ProgramVersionId. |
ShiftSchoolStartDate
Declaration
public virtual ShiftSchoolStartDate ShiftSchoolStartDate { get; set; }
Property Value
Type | Description |
---|---|
ShiftSchoolStartDate |
ShiftSchoolStartDateId
Gets or sets the ShiftSchoolStartDateId associated with this TermProgramAssociation.
Declaration
public int ShiftSchoolStartDateId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ShiftSchoolStartDateId. |
Term
Declaration
public virtual Term Term { get; set; }
Property Value
Type | Description |
---|---|
Term |
TermId
Gets or sets the TermId associated with this TermProgramAssociation.
Declaration
public int TermId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The TermId. |
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. |