Class CourseAssociatedAttribute
This class represents the EntityModel interface to the vw_CourseAttributes database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CourseAssociatedAttribute
Constructors
CourseAssociatedAttribute()
Declaration
public CourseAssociatedAttribute()
Properties
AttributeCode
Gets or sets the AttributeCode associated with this CourseAssociatedAttribute.
Declaration
public string AttributeCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The AttributeCode. |
AttributeName
Gets or sets the AttributeName associated with this CourseAssociatedAttribute.
Declaration
public string AttributeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The AttributeName. |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
Type | Description |
---|---|
CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this CourseAssociatedAttribute.
Declaration
public int? CampusGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CampusGroupId. |
Course
Declaration
public virtual Course Course { get; set; }
Property Value
Type | Description |
---|---|
Course |
CourseAttributeId
Gets or sets the CourseAttributeId associated with this CourseAssociatedAttribute.
Declaration
public int CourseAttributeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseAttributeId. |
CourseId
Gets or sets the CourseId associated with this CourseAssociatedAttribute.
Declaration
public int CourseId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CourseId. |
IsActive
Gets or sets the IsActive associated with this CourseAssociatedAttribute.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
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. |