Class PersonEntity
This class represents the EntityModel interface to the SyPerson database table.
Inheritance
Implements
Namespace: Cmc.Nexus.Common.Entities
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public class PersonEntity : Entity, IIdentifiable, IAuditable
Constructors
PersonEntity()
Declaration
public PersonEntity()
Fields
CreatedDateTimeProperty
The CreatedDateTime property.
Declaration
public static readonly EntityProperty CreatedDateTimeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
DateOfBirthProperty
The Person's date of birth property.
Declaration
public static readonly EntityProperty DateOfBirthProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
FirstNameProperty
The Person's first name property.
Declaration
public static readonly EntityProperty FirstNameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
FullNameProperty
The Full Name property.
Declaration
public static readonly EntityProperty FullNameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
GenderIdProperty
The GenderId property.
Declaration
public static readonly EntityProperty GenderIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IdProperty
The Id property.
Declaration
public static readonly EntityProperty IdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsActiveProperty
The IsActive property.
Declaration
public static readonly EntityProperty IsActiveProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsDeletedProperty
The IsDeleted property.
Declaration
public static readonly EntityProperty IsDeletedProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastModifiedDateTimeProperty
The LastModifiedDateTime property.
Declaration
public static readonly EntityProperty LastModifiedDateTimeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastModifiedUserIdProperty
The LastModifiedUserId property.
Declaration
public static readonly EntityProperty LastModifiedUserIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastNameProperty
The Person's last name property.
Declaration
public static readonly EntityProperty LastNameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
MaidenNameProperty
The Person's maiden name property.
Declaration
public static readonly EntityProperty MaidenNameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
MaritalStatusIdProperty
The MaritalStatusId property.
Declaration
public static readonly EntityProperty MaritalStatusIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
MiddleNameProperty
The Person's middle name property.
Declaration
public static readonly EntityProperty MiddleNameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
NickNameProperty
The Person's nickname property.
Declaration
public static readonly EntityProperty NickNameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
RecordIdProperty
The RecordId property.
Declaration
public static readonly EntityProperty RecordIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
RowVersionProperty
The RowVersion property.
Declaration
public static readonly EntityProperty RowVersionProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
SsnProperty
The Person's social security number property.
Declaration
public static readonly EntityProperty SsnProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
TitleIdProperty
The TitleId property.
Declaration
public static readonly EntityProperty TitleIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
Properties
Addresses
Declaration
public virtual ICollection<PersonAddressEntity> Addresses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<PersonAddressEntity> |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this PersonEntity.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
DateOfBirth
Gets or sets the DateOfBirth associated with this PersonEntity.
Declaration
public DateTime? DateOfBirth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The DateOfBirth. |
EmailAddresses
Declaration
public virtual ICollection<PersonEmailAddressEntity> EmailAddresses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<PersonEmailAddressEntity> |
FirstName
Gets or sets the FirstName associated with this PersonEntity.
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FirstName. |
FullName
Gets or sets the FullName associated with this PersonEntity.
Declaration
public string FullName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FullName. |
GenderId
Gets or sets the GenderId associated with this PersonEntity.
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 PersonEntity.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this PersonEntity.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsDeleted
Gets or sets the IsDeleted associated with this PersonEntity.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsDeleted. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this PersonEntity.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this PersonEntity.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LastName
Gets or sets the LastName associated with this PersonEntity.
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LastName. |
MaidenName
Gets or sets the MaidenName associated with this PersonEntity.
Declaration
public string MaidenName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The MaidenName. |
MaritalStatusId
Gets or sets the MaritalStatusId associated with this PersonEntity.
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 PersonEntity.
Declaration
public string MiddleName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The MiddleName. |
NickName
Gets or sets the NickName associated with this PersonEntity.
Declaration
public string NickName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The NickName. |
PhoneNumbers
Declaration
public virtual ICollection<PersonPhoneNumberEntity> PhoneNumbers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<PersonPhoneNumberEntity> |
RecordId
Gets or sets the RecordId associated with this PersonEntity.
Declaration
public int? RecordId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The RecordId. |
RowVersion
Gets or sets the RowVersion associated with this PersonEntity.
Declaration
public byte[] RowVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The RowVersion. |
Ssn
Gets or sets the Ssn associated with this PersonEntity.
Declaration
public string Ssn { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Ssn. |
TitleId
Gets or sets the TitleId associated with this PersonEntity.
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()