Class ClassSectionTerm
This class represents the EntityModel interface to the vw_ClassSectionTerms database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class ClassSectionTerm
Constructors
ClassSectionTerm()
Declaration
public ClassSectionTerm()
Properties
ClassSection
Declaration
public virtual ClassSection ClassSection { get; set; }
Property Value
Type | Description |
---|---|
ClassSection |
ClassSectionId
Gets or sets the ClassSectionId associated with this ClassSectionTerm.
Declaration
public int ClassSectionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ClassSectionId. |
Term
Declaration
public virtual Term Term { get; set; }
Property Value
Type | Description |
---|---|
Term |
TermCode
Gets or sets the TermCode associated with this ClassSectionTerm.
Declaration
public string TermCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TermCode. |
TermEndDate
Gets or sets the TermEndDate associated with this ClassSectionTerm.
Declaration
public DateTime? TermEndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The TermEndDate. |
TermId
Gets or sets the TermId associated with this ClassSectionTerm.
Declaration
public int TermId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The TermId. |
TermName
Gets or sets the TermName associated with this ClassSectionTerm.
Declaration
public string TermName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TermName. |
TermStartDate
Gets or sets the TermStartDate associated with this ClassSectionTerm.
Declaration
public DateTime? TermStartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The TermStartDate. |
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. |