Show / Hide Table of Contents

Class SimplePersonInfo

Plain-old-data implementation of IPersonInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Inheritance
System.Object
SimplePersonInfo
Implements
IPersonInfo2
IPersonInfo
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class SimplePersonInfo : Object, IPersonInfo2, IPersonInfo

Constructors

SimplePersonInfo()

Declaration
public SimplePersonInfo()

Properties

AssociateId

Declaration
public int AssociateId { get; set; }
Property Value
Type Description
System.Int32

Chat

Declaration
public string Chat { get; set; }
Property Value
Type Description
System.String

ChatId

Declaration
public int ChatId { get; set; }
Property Value
Type Description
System.Int32

ChatProtocol

Declaration
public string ChatProtocol { get; set; }
Property Value
Type Description
System.String

ContactId

Declaration
public int ContactId { get; set; }
Property Value
Type Description
System.Int32

Country

Declaration
public string Country { get; set; }
Property Value
Type Description
System.String

Country2

Declaration
public string Country2 { get; set; }
Property Value
Type Description
System.String

CountryCode

Declaration
public string CountryCode { get; set; }
Property Value
Type Description
System.String

CountryId

Declaration
public int CountryId { get; set; }
Property Value
Type Description
System.Int32

DateOfBirth

Declaration
public string DateOfBirth { get; set; }
Property Value
Type Description
System.String

Department

Declaration
public string Department { get; set; }
Property Value
Type Description
System.String

EMail

Declaration
public string EMail { get; set; }
Property Value
Type Description
System.String

EMailId

Declaration
public int EMailId { get; set; }
Property Value
Type Description
System.Int32

Fax

Declaration
public string Fax { get; set; }
Property Value
Type Description
System.String

FaxId

Declaration
public int FaxId { get; set; }
Property Value
Type Description
System.Int32

FaxStripped

Declaration
public string FaxStripped { get; set; }
Property Value
Type Description
System.String

FirstName

Declaration
public string FirstName { get; set; }
Property Value
Type Description
System.String

LastName

Declaration
public string LastName { get; set; }
Property Value
Type Description
System.String

LineFeedGermany

Declaration
public string LineFeedGermany { get; set; }
Property Value
Type Description
System.String

MiddleName

Declaration
public string MiddleName { get; set; }
Property Value
Type Description
System.String

MiddleName2

Declaration
public string MiddleName2 { get; set; }
Property Value
Type Description
System.String

MobilePhone

Declaration
public string MobilePhone { get; set; }
Property Value
Type Description
System.String

MobilePhoneId

Declaration
public int MobilePhoneId { get; set; }
Property Value
Type Description
System.Int32

MrMrs

Declaration
public string MrMrs { get; set; }
Property Value
Type Description
System.String

Nomailing

Declaration
public bool Nomailing { get; set; }
Property Value
Type Description
System.Boolean

OfficePhone

Declaration
public string OfficePhone { get; set; }
Property Value
Type Description
System.String

OfficePhoneId

Declaration
public int OfficePhoneId { get; set; }
Property Value
Type Description
System.Int32

Pager

Declaration
public string Pager { get; set; }
Property Value
Type Description
System.String

PagerId

Declaration
public int PagerId { get; set; }
Property Value
Type Description
System.Int32

PersonId

Declaration
public int PersonId { get; set; }
Property Value
Type Description
System.Int32

PersonNumber

Declaration
public string PersonNumber { get; set; }
Property Value
Type Description
System.String

Position

Declaration
public string Position { get; set; }
Property Value
Type Description
System.String

PostalAddressCity

Declaration
public string PostalAddressCity { get; set; }
Property Value
Type Description
System.String

PostalAddressCityFull

Declaration
public string PostalAddressCityFull { get; set; }
Property Value
Type Description
System.String

PostalAddressCounty

Declaration
public string PostalAddressCounty { get; set; }
Property Value
Type Description
System.String

PostalAddressLine1

Declaration
public string PostalAddressLine1 { get; set; }
Property Value
Type Description
System.String

PostalAddressLine1Extended

Declaration
public string PostalAddressLine1Extended { get; set; }
Property Value
Type Description
System.String

PostalAddressLine2

Declaration
public string PostalAddressLine2 { get; set; }
Property Value
Type Description
System.String

PostalAddressLine3

Declaration
public string PostalAddressLine3 { get; set; }
Property Value
Type Description
System.String

PostalAddressState

Declaration
public string PostalAddressState { get; set; }
Property Value
Type Description
System.String

PostalAddressStateAmericaCanadaAustralia

Declaration
public string PostalAddressStateAmericaCanadaAustralia { get; set; }
Property Value
Type Description
System.String

PostalAddressZip

Declaration
public string PostalAddressZip { get; set; }
Property Value
Type Description
System.String

PreferredLanguageId

Declaration
public int PreferredLanguageId { get; set; }
Property Value
Type Description
System.Int32

PreferredLanguageName

Declaration
public string PreferredLanguageName { get; set; }
Property Value
Type Description
System.String

PrivatePhone

Declaration
public string PrivatePhone { get; set; }
Property Value
Type Description
System.String

PrivatePhoneId

Declaration
public int PrivatePhoneId { get; set; }
Property Value
Type Description
System.Int32

Retired

Declaration
public bool Retired { get; set; }
Property Value
Type Description
System.Boolean

Salutation

Declaration
public string Salutation { get; set; }
Property Value
Type Description
System.String

ServiceContactId

Declaration
public int ServiceContactId { get; set; }
Property Value
Type Description
System.Int32

ServiceContactName

Declaration
public string ServiceContactName { get; set; }
Property Value
Type Description
System.String

ServicePriority

Declaration
public int ServicePriority { get; set; }
Property Value
Type Description
System.Int32

Title

Declaration
public string Title { get; set; }
Property Value
Type Description
System.String

UdefDecimal

Set the value of a user-defined DECIMAL field, identified by the field number (1-10)

Declaration
public InfoUdefDict UdefDecimal { get; set; }
Property Value
Type Description
InfoUdefDict

UdefInt

Set the value of a user-defined INT field, identified by the field number (1-60)

Declaration
public InfoUdefDict UdefInt { get; set; }
Property Value
Type Description
InfoUdefDict

UdefString

Set the value of a user-defined STRING field, identified by the field number. Number 1-40 are short strings, 41-49 are long strings

Declaration
public InfoUdefDict UdefString { get; set; }
Property Value
Type Description
InfoUdefDict

Url

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String

UrlId

Declaration
public int UrlId { get; set; }
Property Value
Type Description
System.Int32

UsePersonAddress

Declaration
public bool UsePersonAddress { get; set; }
Property Value
Type Description
System.Boolean

Voip

Declaration
public string Voip { get; set; }
Property Value
Type Description
System.String

VoipId

Declaration
public int VoipId { get; set; }
Property Value
Type Description
System.Int32

VoipService

Declaration
public string VoipService { get; set; }
Property Value
Type Description
System.String

Methods

GetInternationalAddress(Int32)

Declaration
public string GetInternationalAddress(int lineNo)
Parameters
Type Name Description
System.Int32 lineNo
Returns
Type Description
System.String

GetUserDefinedDecimal(Int32)

User-defined field 1-10 of the decimal (.NET double) number type.

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

Field number (1-10).

Returns
Type Description
System.String

User-defined field value.

GetUserDefinedDecimal(String)

NOT SUPPORTED: 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
System.String progId
Returns
Type Description
System.Double

GetUserDefinedInt(Int32)

Get user-defined field 1-60 of the whole (.NET Int32) number type.

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

Field number (1-60).

Returns
Type Description
System.String

User-defined field value.

GetUserDefinedInt(String)

NOT SUPPORTED: 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
System.String progId
Returns
Type Description
System.Int32

GetUserDefinedString(Int32)

Get user-defined field 1-49 of the text (.NET string) type.

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

Field number (1-39).

Returns
Type Description
System.String

User-defined field value.

GetUserDefinedString(String)

NOT SUPPORTED: 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
System.String progId
Returns
Type Description
System.String

Implements

IPersonInfo2
IPersonInfo

Extension Methods

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