Class TuitionDiscountPolicy
This class represents the EntityModel interface to the SaTuitionDiscountPolicy database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.StudentAccounts
Assembly: Cmc.Nexus.Models.dll
Syntax
public class TuitionDiscountPolicy
Constructors
TuitionDiscountPolicy()
Declaration
public TuitionDiscountPolicy()
Properties
AgeSql
Gets or sets the AgeSql associated with this TuitionDiscountPolicy.
Declaration
public string AgeSql { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The AgeSql. |
AgeStartDate
Gets or sets the AgeStartDate associated with this TuitionDiscountPolicy.
Declaration
public string AgeStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The AgeStartDate. |
BillingCodeTransaction
Declaration
public virtual BillingTransactionCode BillingCodeTransaction { get; set; }
Property Value
| Type | Description |
|---|---|
| BillingTransactionCode |
BillingCodeTransactionId
Gets or sets the BillingCodeTransactionId associated with this TuitionDiscountPolicy.
Declaration
public int BillingCodeTransactionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The BillingCodeTransactionId. |
BillingTransactionCodeCode
Gets or sets the BillingTransactionCodeCode associated with this TuitionDiscountPolicy.
Declaration
public string BillingTransactionCodeCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The BillingTransactionCodeCode. |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this TuitionDiscountPolicy.
Declaration
public int? CampusGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CampusGroupId. |
Code
Gets or sets the Code associated with this TuitionDiscountPolicy.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Code. |
CourseAttributeEqualsFlag
Gets or sets the CourseAttributeEqualsFlag associated with this TuitionDiscountPolicy.
Declaration
public bool CourseAttributeEqualsFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The CourseAttributeEqualsFlag. |
CourseDiscountAmount
Gets or sets the CourseDiscountAmount associated with this TuitionDiscountPolicy.
Declaration
public decimal? CourseDiscountAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The CourseDiscountAmount. |
CourseDiscountPercentage
Gets or sets the CourseDiscountPercentage associated with this TuitionDiscountPolicy.
Declaration
public decimal? CourseDiscountPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The CourseDiscountPercentage. |
CourseLevelEqualsFlag
Gets or sets the CourseLevelEqualsFlag associated with this TuitionDiscountPolicy.
Declaration
public bool CourseLevelEqualsFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The CourseLevelEqualsFlag. |
CoursePercentageAmountFlag
Gets or sets the CoursePercentageAmountFlag associated with this TuitionDiscountPolicy.
Declaration
public string CoursePercentageAmountFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CoursePercentageAmountFlag. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this TuitionDiscountPolicy.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
CurrencyCode
Declaration
public virtual CurrencyCode CurrencyCode { get; set; }
Property Value
| Type | Description |
|---|---|
| CurrencyCode |
CurrencyCodeId
Gets or sets the CurrencyCodeId associated with this TuitionDiscountPolicy.
Declaration
public int? CurrencyCodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CurrencyCodeId. |
DiscountCourseAttributes
Declaration
public virtual ICollection<TuitionDiscountPolicyCourseAttribute> DiscountCourseAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<TuitionDiscountPolicyCourseAttribute> |
DiscountCourseLevels
Declaration
public virtual ICollection<TuitionDiscountPolicyCourseLevel> DiscountCourseLevels { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<TuitionDiscountPolicyCourseLevel> |
DiscountStudentGroups
Declaration
public virtual ICollection<TuitionDiscountPolicyStudentGroup> DiscountStudentGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<TuitionDiscountPolicyStudentGroup> |
Id
Gets or sets the Id associated with this TuitionDiscountPolicy.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this TuitionDiscountPolicy.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsAutomated
Gets or sets the IsAutomated associated with this TuitionDiscountPolicy.
Declaration
public bool IsAutomated { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAutomated. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this TuitionDiscountPolicy.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this TuitionDiscountPolicy.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this TuitionDiscountPolicy.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Name. |
StudentAccountTransactions
Declaration
public virtual ICollection<StudentAccountTransaction> StudentAccountTransactions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentAccountTransaction> |
TermDiscountAmount
Gets or sets the TermDiscountAmount associated with this TuitionDiscountPolicy.
Declaration
public decimal? TermDiscountAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The TermDiscountAmount. |
TermDiscountPercentage
Gets or sets the TermDiscountPercentage associated with this TuitionDiscountPolicy.
Declaration
public decimal? TermDiscountPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The TermDiscountPercentage. |
TermPercentageAmountFlag
Gets or sets the TermPercentageAmountFlag associated with this TuitionDiscountPolicy.
Declaration
public string TermPercentageAmountFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The TermPercentageAmountFlag. |
TuitionDiscountOrders
Declaration
public virtual ICollection<TuitionDiscountOrder> TuitionDiscountOrders { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<TuitionDiscountOrder> |
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. |