Class Person
This class represents the Query Model interface to the SyPerson database table. This partial is automatically generated and contains all of the entity properties as defined in the PocoMapper data mapping file. Do not edit this file, as your changes will be overwritten the next time this code is generated.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class Person
Constructors
Person()
Declaration
public Person()
Properties
Addresses
Declaration
public virtual ICollection<PersonAddress> Addresses { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<PersonAddress> |
DateOfBirth
Gets or sets the DateOfBirth associated with this Person.
Declaration
public DateTime? DateOfBirth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The DateOfBirth. |
EmailAddresses
Declaration
public virtual ICollection<PersonEmailAddress> EmailAddresses { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<PersonEmailAddress> |
FirstName
Gets or sets the FirstName associated with this Person.
Declaration
public string FirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FirstName. |
FullName
Gets or sets the FullName associated with this Person.
Declaration
public string FullName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FullName. |
Gender
Declaration
public virtual Gender Gender { get; set; }
Property Value
| Type | Description |
|---|---|
| Gender |
GenderId
Gets or sets the GenderId associated with this Person.
Declaration
public int? GenderId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The GenderId. |
Id
Gets or sets the Id associated with this Person.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
LastName
Gets or sets the LastName associated with this Person.
Declaration
public string LastName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The LastName. |
MaidenName
Gets or sets the MaidenName associated with this Person.
Declaration
public string MaidenName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The MaidenName. |
MaritalStatus
Declaration
public virtual MaritalStatus MaritalStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| MaritalStatus |
MaritalStatusId
Gets or sets the MaritalStatusId associated with this Person.
Declaration
public int? MaritalStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The MaritalStatusId. |
MiddleName
Gets or sets the MiddleName associated with this Person.
Declaration
public string MiddleName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The MiddleName. |
NickName
Gets or sets the NickName associated with this Person.
Declaration
public string NickName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The NickName. |
PhoneNumbers
Declaration
public virtual ICollection<PersonPhoneNumber> PhoneNumbers { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<PersonPhoneNumber> |
ProspectInquiries
Declaration
public virtual ICollection<ProspectInquiry> ProspectInquiries { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<ProspectInquiry> |
Ssn
Gets or sets the Ssn associated with this Person.
Declaration
public string Ssn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Ssn. |
Staff
Declaration
public virtual ICollection<Staff> Staff { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<Staff> |
Students
Declaration
public virtual ICollection<Student> Students { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<Student> |
Title
Declaration
public virtual Title Title { get; set; }
Property Value
| Type | Description |
|---|---|
| Title |
TitleId
Gets or sets the TitleId associated with this Person.
Declaration
public int? TitleId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TitleId. |
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()