Class HousingRoommateMatch
This class represents the EntityModel interface to the HSRoomMateMatch database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.StudentServices
Assembly: Cmc.Nexus.Models.dll
Syntax
public class HousingRoommateMatch
  Constructors
HousingRoommateMatch()
Declaration
public HousingRoommateMatch()
  Properties
Campus
Declaration
public virtual Campus Campus { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Campus | 
CampusId
Gets or sets the CampusId associated with this HousingRoommateMatch.
Declaration
public int CampusId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The CampusId.  | 
      
CreatedDateTime
Gets or sets the CreatedDateTime associated with this HousingRoommateMatch.
Declaration
public DateTime CreatedDateTime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.DateTime | The CreatedDateTime.  | 
      
HousingApplication
Declaration
public virtual HousingApplication HousingApplication { get; set; }
  Property Value
| Type | Description | 
|---|---|
| HousingApplication | 
HousingApplicationId
Gets or sets the HousingApplicationId associated with this HousingRoommateMatch.
Declaration
public int HousingApplicationId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The HousingApplicationId.  | 
      
Id
Gets or sets the Id associated with this HousingRoommateMatch.
Declaration
public int Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The Id.  | 
      
IsAutomatic
Gets or sets the IsAutomatic associated with this HousingRoommateMatch.
Declaration
public bool IsAutomatic { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | The IsAutomatic.  | 
      
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this HousingRoommateMatch.
Declaration
public DateTime LastModifiedDateTime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.DateTime | The LastModifiedDateTime.  | 
      
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this HousingRoommateMatch.
Declaration
public int LastModifiedUserId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The LastModifiedUserId.  | 
      
Name
Gets or sets the Name associated with this HousingRoommateMatch.
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The Name.  | 
      
Staff
Declaration
public virtual Staff Staff { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Staff | 
StaffId
Gets or sets the StaffId associated with this HousingRoommateMatch.
Declaration
public int StaffId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The StaffId.  | 
      
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.  |