Class RequirementRule
This class represents the EntityModel interface to the AdRequirementRule database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class RequirementRule
Constructors
RequirementRule()
Declaration
public RequirementRule()
Properties
Code
Gets or sets the Code associated with this RequirementRule.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Code. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this RequirementRule.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
DocumentStatus
Declaration
public virtual DocumentStatus DocumentStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentStatus |
DocumentStatusId
Gets or sets the DocumentStatusId associated with this RequirementRule.
Declaration
public int? DocumentStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The DocumentStatusId. |
DocumentType
Declaration
public virtual DocumentType DocumentType { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentType |
DocumentTypeId
Gets or sets the DocumentTypeId associated with this RequirementRule.
Declaration
public int? DocumentTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The DocumentTypeId. |
EntranceTest
Declaration
public virtual EntranceTest EntranceTest { get; set; }
Property Value
| Type | Description |
|---|---|
| EntranceTest |
EntranceTestId
Gets or sets the EntranceTestId associated with this RequirementRule.
Declaration
public int? EntranceTestId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The EntranceTestId. |
Id
Gets or sets the Id associated with this RequirementRule.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this RequirementRule.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsAdvanced
Gets or sets the IsAdvanced associated with this RequirementRule.
Declaration
public bool IsAdvanced { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAdvanced. |
IsRuleBased
Gets or sets the IsRuleBased associated with this RequirementRule.
Declaration
public bool? IsRuleBased { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> | The IsRuleBased. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this RequirementRule.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this RequirementRule.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
MinCredits
Gets or sets the MinCredits associated with this RequirementRule.
Declaration
public decimal MinCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The MinCredits. |
MinimumCredits
Gets or sets the MinimumCredits associated with this RequirementRule.
Declaration
public int? MinimumCredits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The MinimumCredits. |
Name
Gets or sets the Name associated with this RequirementRule.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Name. |
NumberOfCourses
Gets or sets the NumberOfCourses associated with this RequirementRule.
Declaration
public int? NumberOfCourses { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The NumberOfCourses. |
ResultDate
Gets or sets the ResultDate associated with this RequirementRule.
Declaration
public DateTime? ResultDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The ResultDate. |
ResultNumber
Gets or sets the ResultNumber associated with this RequirementRule.
Declaration
public int? ResultNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The ResultNumber. |
ResultText
Gets or sets the ResultText associated with this RequirementRule.
Declaration
public string ResultText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ResultText. |
RuleIdentifier
Gets or sets the RuleIdentifier associated with this RequirementRule.
Declaration
public Guid RuleIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid | The RuleIdentifier. |
RuleType
Gets or sets the RuleType associated with this RequirementRule.
Declaration
public string RuleType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The RuleType. |
Score
Gets or sets the Score associated with this RequirementRule.
Declaration
public string Score { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Score. |
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. |