Class RegistrationRule
This class represents the EntityModel interface to the AdRegistrationLock database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class RegistrationRule
Constructors
RegistrationRule()
Declaration
public RegistrationRule()
Properties
AppliedTermName
Declaration
public string AppliedTermName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConfiguredOn
Declaration
public string ConfiguredOn { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this RegistrationRule.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
GroupName
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or sets the Id associated with this RegistrationRule.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsDropCoursesIncludedInNumberLimit
Gets or sets the IsDropCoursesIncludedInNumberLimit associated with this RegistrationRule.
Declaration
public bool IsDropCoursesIncludedInNumberLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsDropCoursesIncludedInNumberLimit. |
IsLoaCoursesIncludedInNumberLimit
Gets or sets the IsLoaCoursesIncludedInNumberLimit associated with this RegistrationRule.
Declaration
public bool IsLoaCoursesIncludedInNumberLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsLoaCoursesIncludedInNumberLimit. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this RegistrationRule.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this RegistrationRule.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LockTypeName
Declaration
public string LockTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NumberLimit
Gets or sets the NumberLimit associated with this RegistrationRule.
Declaration
public decimal? NumberLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | The NumberLimit. |
RuleType
Gets or sets the RuleType associated with this RegistrationRule.
Declaration
public string RuleType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The RuleType. |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
Type | Description |
---|---|
Student |
StudentGroup
Declaration
public virtual StudentGroup StudentGroup { get; set; }
Property Value
Type | Description |
---|---|
StudentGroup |
StudentGroupId
Gets or sets the StudentGroupId associated with this RegistrationRule.
Declaration
public int? StudentGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The StudentGroupId. |
StudentId
Gets or sets the StudentId associated with this RegistrationRule.
Declaration
public int? StudentId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The StudentId. |
Term
Declaration
public virtual Term Term { get; set; }
Property Value
Type | Description |
---|---|
Term |
TermId
Gets or sets the TermId associated with this RegistrationRule.
Declaration
public int? TermId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The TermId. |
TermType
Gets or sets the TermType associated with this RegistrationRule.
Declaration
public string TermType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TermType. |
UnitType
Gets or sets the UnitType associated with this RegistrationRule.
Declaration
public string UnitType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The UnitType. |
UnitTypeName
Declaration
public string UnitTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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. |