Person Class

This class contains details of a Person.

Definition

Namespace: Common.Core.Models
Assembly: Common.Core (in Common.Core.dll) Version: 2.1.5
C#
public class Person : ModelEdit, IPerson
Inheritance
Object    ModelBase    ModelData    ModelEdit    Person
Implements
IPerson

Constructors

PersonInitializes a new instance of the Person class

Properties

AddressGets or sets the Primary Address.
BirthDateGets or sets the Date of Birth.
FirstNameGets or sets the First Name.
FullNameGets the Full Name.
GovernmentNumberGets or sets the Government Number.
HomePhoneGets or sets the Home Phone Number.
IdGets or sets the primary key.
(Overrides ModelDataId)
IdNumberGets or sets the Identification Number.
IdProvinceGets or sets the Identification Province.
LastNameGets or sets the Last Name.
MiddleNameGets or sets the Middle Name.

Methods

CloneCreates a new object that is a copy of the current instance.
(Overrides ModelEditClone)
EqualsIndicates whether the current object is equal to another object of the same type.
(Overrides ModelEditEquals(Object))
GetSerializerOptionsGets the Json serializer options for Person objects.
ReadBuilds a Person object from a database table row.
UpdateUpdates the current object properties from an object of the same type.
(Overrides ModelEditUpdate(Object))
UpdateSQLBuilds the SQL script for any value changes.

Fields

cDefaultFileDefault name of the Person data file.

See Also