Class HousingSuite
This class represents the EntityModel interface to the HsBuildingSuites database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.StudentServices
Assembly: Cmc.Nexus.Models.dll
Syntax
public class HousingSuite
Constructors
HousingSuite()
Declaration
public HousingSuite()
Properties
BillingTransactionCode
Declaration
public virtual BillingTransactionCode BillingTransactionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| BillingTransactionCode |
BillingTransactionCodeId
Gets or sets the BillingTransactionCodeId associated with this HousingSuite.
Declaration
public int? BillingTransactionCodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The BillingTransactionCodeId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this HousingSuite.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Frequency
Gets or sets the Frequency associated with this HousingSuite.
Declaration
public string Frequency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Frequency. |
Gender
Gets or sets the Gender associated with this HousingSuite.
Declaration
public string Gender { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Gender. |
HousingBuilding
Declaration
public virtual HousingBuilding HousingBuilding { get; set; }
Property Value
| Type | Description |
|---|---|
| HousingBuilding |
HousingBuildingId
Gets or sets the HousingBuildingId associated with this HousingSuite.
Declaration
public int HousingBuildingId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The HousingBuildingId. |
HousingRooms
Declaration
public virtual ICollection<HousingRoom> HousingRooms { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<HousingRoom> |
HousingSuiteCategory
Declaration
public virtual HousingSuiteCategory HousingSuiteCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| HousingSuiteCategory |
HousingSuiteCategoryId
Gets or sets the HousingSuiteCategoryId associated with this HousingSuite.
Declaration
public int HousingSuiteCategoryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The HousingSuiteCategoryId. |
Id
Gets or sets the Id associated with this HousingSuite.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this HousingSuite.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsAggregateCharge
Gets or sets the IsAggregateCharge associated with this HousingSuite.
Declaration
public bool IsAggregateCharge { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsAggregateCharge. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this HousingSuite.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this HousingSuite.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
SuiteNumber
Gets or sets the SuiteNumber associated with this HousingSuite.
Declaration
public string SuiteNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SuiteNumber. |
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. |