Class LessonEntity
This class represents the EntityModel interface to the AdLesson database table.
Inheritance
Implements
Namespace: Cmc.Nexus.Academics.Entities
Assembly: Cmc.Nexus.Academics.Contracts.dll
Syntax
public class LessonEntity : Entity, IIdentifiable, IAuditable
Constructors
LessonEntity()
Declaration
public LessonEntity()
Fields
CampusGroupIdProperty
The CampusGroupId property.
Declaration
public static readonly EntityProperty CampusGroupIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
CodeProperty
The Code property.
Declaration
public static readonly EntityProperty CodeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
CreatedByUserIdProperty
The CreatedByUserId property.
Declaration
public static readonly EntityProperty CreatedByUserIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
CreatedDateTimeProperty
The CreatedDateTime property.
Declaration
public static readonly EntityProperty CreatedDateTimeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IdProperty
The Id property.
Declaration
public static readonly EntityProperty IdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsActiveProperty
The IsActive property.
Declaration
public static readonly EntityProperty IsActiveProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsRetakeAllowedProperty
The IsRetakeAllowed property.
Declaration
public static readonly EntityProperty IsRetakeAllowedProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastModifiedDateTimeProperty
The LastModifiedDateTime property.
Declaration
public static readonly EntityProperty LastModifiedDateTimeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastModifiedUserIdProperty
The LastModifiedUserId property.
Declaration
public static readonly EntityProperty LastModifiedUserIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LessonSkillsProperty
The LessonSkills property.
Declaration
public static readonly EntityProperty LessonSkillsProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LessonTypeIdProperty
The LessonTypeId property.
Declaration
public static readonly EntityProperty LessonTypeIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
MaxRetakeAttemptsProperty
The MaxRetakeAttempts property.
Declaration
public static readonly EntityProperty MaxRetakeAttemptsProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
NameProperty
The Name property.
Declaration
public static readonly EntityProperty NameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
NoteProperty
The Note property.
Declaration
public static readonly EntityProperty NoteProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
PercentOfFinalGradeProperty
The PercentOfFinalGrade property.
Declaration
public static readonly EntityProperty PercentOfFinalGradeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
RowVersionProperty
The RowVersion property.
Declaration
public static readonly EntityProperty RowVersionProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
Properties
CampusGroup
Declaration
public virtual CampusGroupEntity CampusGroup { get; set; }
Property Value
Type | Description |
---|---|
Cmc.Nexus.Common.Entities.CampusGroupEntity |
CampusGroupId
Gets or sets the CampusGroupId associated with this LessonEntity.
Declaration
public int? CampusGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CampusGroupId. |
CampusIdList
Gets or sets for the campus id list.
Declaration
public List<int> CampusIdList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
Code
Gets or sets the Code associated with this LessonEntity.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
CreatedByUserId
Gets or sets the CreatedByUserId associated with this LessonEntity.
Declaration
public int CreatedByUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CreatedByUserId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this LessonEntity.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this LessonEntity.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this LessonEntity.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsRetakeAllowed
Gets or sets the IsRetakeAllowed associated with this LessonEntity.
Declaration
public bool? IsRetakeAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | The IsRetakeAllowed. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this LessonEntity.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this LessonEntity.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LessonSkills
Declaration
public virtual EntityCollection<LessonSkillEntity> LessonSkills { get; set; }
Property Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityCollection<LessonSkillEntity> |
LessonTypeId
Gets or sets the LessonTypeId associated with this LessonEntity.
Declaration
public int LessonTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LessonTypeId. |
MaxRetakeAttempts
Gets or sets the MaxRetakeAttempts associated with this LessonEntity.
Declaration
public int? MaxRetakeAttempts { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The MaxRetakeAttempts. |
Name
Gets or sets the Name associated with this LessonEntity.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
Note
Gets or sets the Note associated with this LessonEntity.
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Note. |
PercentOfFinalGrade
Gets or sets the PercentOfFinalGrade associated with this LessonEntity.
Declaration
public decimal PercentOfFinalGrade { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The PercentOfFinalGrade. |
RowVersion
Gets or sets the RowVersion associated with this LessonEntity.
Declaration
public byte[] RowVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The RowVersion. |
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()