Class StudentRelationshipAddress
This class represents the EntityModel interface to the SyAddress database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class StudentRelationshipAddress
Constructors
StudentRelationshipAddress()
Declaration
public StudentRelationshipAddress()
Properties
AddressBeginDate
Gets or sets the AddressBeginDate associated with this StudentRelationshipAddress.
Declaration
public DateTime? AddressBeginDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The AddressBeginDate. |
AddressEndDate
Gets or sets the AddressEndDate associated with this StudentRelationshipAddress.
Declaration
public DateTime? AddressEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The AddressEndDate. |
AddressType
Declaration
public virtual AddressType AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| AddressType |
AddressTypeId
Gets or sets the AddressTypeId associated with this StudentRelationshipAddress.
Declaration
public int AddressTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The AddressTypeId. |
AdmissionsRegionId
Gets or sets the AdmissionsRegionId associated with this StudentRelationshipAddress.
Declaration
public int? AdmissionsRegionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The AdmissionsRegionId. |
City
Gets or sets the City associated with this StudentRelationshipAddress.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The City. |
ContactPreferences
Declaration
public virtual ICollection<StudentContactPreference> ContactPreferences { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentContactPreference> |
Country
Declaration
public virtual Country Country { get; set; }
Property Value
| Type | Description |
|---|---|
| Country |
CountryId
Gets or sets the CountryId associated with this StudentRelationshipAddress.
Declaration
public int? CountryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CountryId. |
CountryName
Gets or sets the CountryName associated with this StudentRelationshipAddress.
Declaration
public string CountryName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CountryName. |
CountyId
Gets or sets the CountyId associated with this StudentRelationshipAddress.
Declaration
public int? CountyId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CountyId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this StudentRelationshipAddress.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
EmailAddress
Gets or sets the EmailAddress associated with this StudentRelationshipAddress.
Declaration
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmailAddress. |
EmployerName
Gets or sets the EmployerName associated with this StudentRelationshipAddress.
Declaration
public string EmployerName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmployerName. |
FirstName
Gets or sets the FirstName associated with this StudentRelationshipAddress.
Declaration
public string FirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FirstName. |
ForeignPhoneCountryCode
Gets or sets the ForeignPhoneCountryCode associated with this StudentRelationshipAddress.
Declaration
public string ForeignPhoneCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ForeignPhoneCountryCode. |
ForeignWorkPhoneCountryCode
Gets or sets the ForeignWorkPhoneCountryCode associated with this StudentRelationshipAddress.
Declaration
public string ForeignWorkPhoneCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ForeignWorkPhoneCountryCode. |
FullName
Gets or sets the FullName associated with this StudentRelationshipAddress.
Declaration
public string FullName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FullName. |
Id
Gets or sets the Id associated with this StudentRelationshipAddress.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsExcludedCrmIntegration
Gets or sets the IsExcludedCrmIntegration associated with this StudentRelationshipAddress.
Declaration
public bool IsExcludedCrmIntegration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsExcludedCrmIntegration. |
IsPermanentAddress
Declaration
[Obsolete("Use IsSeasonalAddress")]
public bool IsPermanentAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsSeasonalAddress
Gets or sets the IsSeasonalAddress associated with this StudentRelationshipAddress.
Declaration
public bool IsSeasonalAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsSeasonalAddress. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this StudentRelationshipAddress.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUser
Declaration
public virtual Staff LastModifiedUser { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this StudentRelationshipAddress.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
LastName
Gets or sets the LastName associated with this StudentRelationshipAddress.
Declaration
public string LastName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The LastName. |
MobileNumber
Gets or sets the MobileNumber associated with this StudentRelationshipAddress.
Declaration
public string MobileNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The MobileNumber. |
Note
Gets or sets the Note associated with this StudentRelationshipAddress.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
OtherEmailAddress
Gets or sets the OtherEmailAddress associated with this StudentRelationshipAddress.
Declaration
public string OtherEmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The OtherEmailAddress. |
OtherPhone
Gets or sets the OtherPhone associated with this StudentRelationshipAddress.
Declaration
public string OtherPhone { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The OtherPhone. |
PhoneNumber
Gets or sets the PhoneNumber associated with this StudentRelationshipAddress.
Declaration
public string PhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneNumber. |
PlusReferenceNumber
Gets or sets the PlusReferenceNumber associated with this StudentRelationshipAddress.
Declaration
public int PlusReferenceNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The PlusReferenceNumber. |
PostalCode
Gets or sets the PostalCode associated with this StudentRelationshipAddress.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCode. |
PrintedOnMasterPromNote
Gets or sets the PrintedOnMasterPromNote associated with this StudentRelationshipAddress.
Declaration
public string PrintedOnMasterPromNote { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PrintedOnMasterPromNote. |
PrintedOnPlusPromNote
Gets or sets the PrintedOnPlusPromNote associated with this StudentRelationshipAddress.
Declaration
public string PrintedOnPlusPromNote { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PrintedOnPlusPromNote. |
ReferenceConfirmed
Gets or sets the ReferenceConfirmed associated with this StudentRelationshipAddress.
Declaration
public string ReferenceConfirmed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ReferenceConfirmed. |
ReferenceConfirmedDate
Gets or sets the ReferenceConfirmedDate associated with this StudentRelationshipAddress.
Declaration
public DateTime? ReferenceConfirmedDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The ReferenceConfirmedDate. |
ReferenceNumber
Gets or sets the ReferenceNumber associated with this StudentRelationshipAddress.
Declaration
public int ReferenceNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The ReferenceNumber. |
Region
Declaration
public virtual AdmissionsRegion Region { get; set; }
Property Value
| Type | Description |
|---|---|
| AdmissionsRegion |
RelationToStudent
Gets or sets the RelationToStudent associated with this StudentRelationshipAddress.
Declaration
public string RelationToStudent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The RelationToStudent. |
SecondPhoneNumber
Gets or sets the SecondPhoneNumber associated with this StudentRelationshipAddress.
Declaration
public string SecondPhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SecondPhoneNumber. |
SourceSystem
Gets or sets the SourceSystem associated with this StudentRelationshipAddress.
Declaration
public string SourceSystem { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SourceSystem. |
Ssn
Gets or sets the Ssn associated with this StudentRelationshipAddress.
Declaration
public string Ssn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Ssn. |
State
Gets or sets the State associated with this StudentRelationshipAddress.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this StudentRelationshipAddress.
Declaration
public string StreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StreetAddress. |
StreetAddress2
Gets or sets the StreetAddress2 associated with this StudentRelationshipAddress.
Declaration
public string StreetAddress2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StreetAddress2. |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
| Type | Description |
|---|---|
| Student |
StudentEnrollmentPeriod
Declaration
public virtual StudentEnrollmentPeriod StudentEnrollmentPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| StudentEnrollmentPeriod |
StudentEnrollmentPeriodId
Gets or sets the StudentEnrollmentPeriodId associated with this StudentRelationshipAddress.
Declaration
public int StudentEnrollmentPeriodId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The StudentEnrollmentPeriodId. |
StudentId
Gets or sets the StudentId associated with this StudentRelationshipAddress.
Declaration
public int StudentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The StudentId. |
Title
Declaration
public virtual Title Title { get; set; }
Property Value
| Type | Description |
|---|---|
| Title |
TitleId
Gets or sets the TitleId associated with this StudentRelationshipAddress.
Declaration
public int? TitleId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TitleId. |
WorkPhoneNumber
Gets or sets the WorkPhoneNumber associated with this StudentRelationshipAddress.
Declaration
public string WorkPhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The WorkPhoneNumber. |
YearsAtAddress
Gets or sets the YearsAtAddress associated with this StudentRelationshipAddress.
Declaration
public decimal? YearsAtAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The YearsAtAddress. |
YearsKnownStudent
Gets or sets the YearsKnownStudent associated with this StudentRelationshipAddress.
Declaration
public decimal? YearsKnownStudent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The YearsKnownStudent. |
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. |