Show / Hide Table of Contents

Class PersonInfoProvider

Implementation of IPersonInfo; create through factory (see remarks)

Inheritance
object
ContactPersonInfoProviderBase
PersonInfoProvider
Implements
IPersonInfo4
IPersonInfo3
IPersonInfo2
IPersonInfo
Inherited Members
ContactPersonInfoProviderBase.Initialize()
ContactPersonInfoProviderBase.GetFormattedNumber(CountryRow, string)
ContactPersonInfoProviderBase.HomeCountryId
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class PersonInfoProvider : ContactPersonInfoProviderBase, IPersonInfo4, IPersonInfo3, IPersonInfo2, IPersonInfo
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Properties

AssociateId

User id

Declaration
public int AssociateId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Business

Business from database

Declaration
public string Business { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Category

Category from database

Declaration
public string Category { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Chat

Chat

Declaration
public string Chat { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

ChatId

Chat id

Declaration
public int ChatId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

ChatProtocol

Chat protocol

Declaration
public string ChatProtocol { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

ContactId

Owner contact id

Declaration
public int ContactId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Country

Country

Declaration
public string Country { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Country2

Country if different from the sender's country

Declaration
public string Country2 { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

CountryCode

Country code

Declaration
public string CountryCode { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

CountryId

Country ID from database

Declaration
public int CountryId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

CustomFields

UDef fields and extra field values encoded as strings: "x_foo" = "[I:123]", "SuperOffice:1" = "[F:34.56]"

Declaration
public Dictionary<string, string> CustomFields { get; }
Property Value
Type Description
Dictionary<string, string>
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

DateOfBirth

Date of birth

Declaration
public string DateOfBirth { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Department

Person department

Declaration
public string Department { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

EMail

E-mail

Declaration
public string EMail { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

EMailId

E-mail id

Declaration
public int EMailId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Fax

Direct fax

Declaration
public string Fax { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

FaxId

Direct fax id

Declaration
public int FaxId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

FaxStripped

Fax. Any non digit characters are stripped.

Declaration
public string FaxStripped { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

FirstName

First name

Declaration
public string FirstName { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

LastName

Last name

Declaration
public string LastName { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

LineFeedGermany

Line feed for internal post in Germany

Declaration
public string LineFeedGermany { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

MiddleName

Middle name

Declaration
public string MiddleName { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

MiddleName2

Middle name if middle name is in use

Declaration
public string MiddleName2 { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

MobilePhone

Mobile phone

Declaration
public string MobilePhone { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

MobilePhoneId

Mobile phone id

Declaration
public int MobilePhoneId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

MrMrs

Mr/Mrs field

Declaration
public string MrMrs { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Nomailing

Mail Stop (for American addresses)

Declaration
public bool Nomailing { get; }
Property Value
Type Description
bool
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

OfficePhone

Direct phone

Declaration
public string OfficePhone { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

OfficePhoneId

Direct phone id

Declaration
public int OfficePhoneId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Pager

Pager

Declaration
public string Pager { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PagerId

Pager ID

Declaration
public int PagerId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Person

Implementation of IPersonInfo; create through factory (see remarks)

Declaration
public Person Person { get; }
Property Value
Type Description
Person
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PersonId

Primary key of the person

Declaration
public int PersonId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PersonNumber

The persons number

Declaration
public string PersonNumber { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Position

Position

Declaration
public string Position { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressCity

Postal town

Declaration
public string PostalAddressCity { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressCityFull

Postal town, state/province and zipcode (for American, Canadian and Australian addresses, e.g. Bedford, MA 01730).

Declaration
public string PostalAddressCityFull { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressCounty

County (for UK addresses)

Declaration
public string PostalAddressCounty { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressLine1

Postal Address, line 1

Declaration
public string PostalAddressLine1 { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressLine1Extended

First address line, including Mail Stop (for American addresses)

Declaration
public string PostalAddressLine1Extended { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressLine2

Postal Address, line 2

Declaration
public string PostalAddressLine2 { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressLine3

Postal Address, line 3

Declaration
public string PostalAddressLine3 { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressState

State/province (for American, Canadian and Australian addresses). (See also aucs.)

Declaration
public string PostalAddressState { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressStateAmericaCanadaAustralia

State/province (for American, Canadian and Australian addresses). (See also cszc.)

Declaration
public string PostalAddressStateAmericaCanadaAustralia { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PostalAddressZip

Postcode. (See also aucs.)

Declaration
public string PostalAddressZip { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PreferredLanguageId

This persons preferred support language ID

Declaration
public int PreferredLanguageId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PrivatePhone

Home phone

Declaration
public string PrivatePhone { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

PrivatePhoneId

Home phone id

Declaration
public int PrivatePhoneId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Retired

Is the person retired? English text 'True' or 'False'

Declaration
public bool Retired { get; }
Property Value
Type Description
bool
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Salutation

Salutation

Declaration
public string Salutation { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

ServiceContactId

Our service contact for this person - ID

Declaration
public int ServiceContactId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

ServiceContactName

Our service contact for this person - Full name

Declaration
public string ServiceContactName { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

ServicePriority

This persons service priority ID

Declaration
public int ServicePriority { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Title

Title

Declaration
public string Title { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Url

Voip

Declaration
public string Url { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

UrlId

Voip service

Declaration
public int UrlId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

UsePersonAddress

Use the person's postal address instead of the contact's address.

Declaration
public bool UsePersonAddress { get; }
Property Value
Type Description
bool
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Voip

Voip

Declaration
public string Voip { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

VoipId

Voip id

Declaration
public int VoipId { get; }
Property Value
Type Description
int
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

VoipService

Voip service

Declaration
public string VoipService { get; }
Property Value
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Methods

GetInternationalAddress(int)

Get a line from the international address

Declaration
[Obsolete("FAD international addresses are handled through a separate system, see FadTags.cs", true)]
public string GetInternationalAddress(int fieldNo)
Parameters
Type Name Description
int fieldNo
Returns
Type Description
string
Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

GetUserDefinedDecimal(int)

Return a user defined value of type decimal

Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type Name Description
int fieldNo

Index of field to retrieve value for

Returns
Type Description
string

String representation of the value of specified field

Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

GetUserDefinedDecimal(string)

Get the decimal udef value based on the prog.id name of the udef field.

Declaration
public double GetUserDefinedDecimal(string progId)
Parameters
Type Name Description
string progId

Program name of udef field

Returns
Type Description
double

double value of field, or NAN if field not found

Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

GetUserDefinedInt(int)

Return a user defined value of type int

Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type Name Description
int fieldNo

Index of field to retrieve value for

Returns
Type Description
string

String representation of the value of specified field

Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

GetUserDefinedInt(string)

Get the int udef value based on the prog.id name of the udef field.

Declaration
public int GetUserDefinedInt(string progId)
Parameters
Type Name Description
string progId

Program name of udef field

Returns
Type Description
int

int value of field, or MINVALUE if field not found

Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

GetUserDefinedString(int)

Return a user defined value of type string

Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type Name Description
int fieldNo

Index of field to retrieve value for

Returns
Type Description
string

Value of specified field

Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

GetUserDefinedString(string)

Get the string udef value based on the prog.id name of the udef field.

Declaration
public string GetUserDefinedString(string progId)
Parameters
Type Name Description
string progId

Program name of udef field

Returns
Type Description
string

string value of field, or NULL if field not found

Remarks

To create an instance of PersonInfoProvider, use

var info = ClassFactory.Create<IPersonInfo>(pers);

where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.

Implements

IPersonInfo4
IPersonInfo3
IPersonInfo2
IPersonInfo

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top