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)
Inherited Members
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class SimplePersonInfo : IPersonInfo2, IPersonInfo
Constructors
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)
Declaration
public SimplePersonInfo()
Properties
AssociateId
User id
Declaration
public int AssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Chat
Chat
Declaration
public string Chat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChatId
Chat id
Declaration
public int ChatId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ChatProtocol
Chat protocol
Declaration
public string ChatProtocol { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContactId
Owner contact id
Declaration
public int ContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Country
Country
Declaration
public string Country { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Country2
Country if different from the sender's country
Declaration
public string Country2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CountryCode
Country code
Declaration
public string CountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CountryId
Country ID from database
Declaration
public int CountryId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DateOfBirth
Date of birth
Declaration
public string DateOfBirth { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Department
Person department
Declaration
public string Department { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Declaration
public string EMail { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EMailId
E-mail id
Declaration
public int EMailId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Fax
Direct fax
Declaration
public string Fax { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FaxId
Direct fax id
Declaration
public int FaxId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FaxStripped
Fax. Any non digit characters are stripped.
Declaration
public string FaxStripped { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FirstName
First name
Declaration
public string FirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LastName
Last name
Declaration
public string LastName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LineFeedGermany
Line feed for internal post in Germany
Declaration
public string LineFeedGermany { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MiddleName
Middle name
Declaration
public string MiddleName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MiddleName2
Middle name if middle name is in use
Declaration
public string MiddleName2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobilePhone
Mobile phone
Declaration
public string MobilePhone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobilePhoneId
Mobile phone id
Declaration
public int MobilePhoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MrMrs
Mr/Mrs field
Declaration
public string MrMrs { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Nomailing
Mail Stop (for American addresses)
Declaration
public bool Nomailing { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
OfficePhone
Direct phone
Declaration
public string OfficePhone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OfficePhoneId
Direct phone id
Declaration
public int OfficePhoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Pager
Pager
Declaration
public string Pager { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PagerId
Pager ID
Declaration
public int PagerId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PersonId
Primary key of the person
Declaration
public int PersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PersonNumber
The persons number
Declaration
public string PersonNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Position
Position
Declaration
public string Position { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressCity
Postal town
Declaration
public string PostalAddressCity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressCityFull
Postal town, state/province and zipcode (for American, Canadian and Australian addresses, e.g. Bedford, MA 01730).
Declaration
public string PostalAddressCityFull { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressCounty
County (for UK addresses)
Declaration
public string PostalAddressCounty { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressLine1
Postal Address, line 1
Declaration
public string PostalAddressLine1 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressLine1Extended
First address line, including Mail Stop (for American addresses)
Declaration
public string PostalAddressLine1Extended { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressLine2
Postal Address, line 2
Declaration
public string PostalAddressLine2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressLine3
Postal Address, line 3
Declaration
public string PostalAddressLine3 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressState
State/province (for American, Canadian and Australian addresses). (See also aucs.)
Declaration
public string PostalAddressState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressStateAmericaCanadaAustralia
State/province (for American, Canadian and Australian addresses). (See also cszc.)
Declaration
public string PostalAddressStateAmericaCanadaAustralia { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressZip
Postcode. (See also aucs.)
Declaration
public string PostalAddressZip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PreferredLanguageId
This persons preferred support language ID
Declaration
public int PreferredLanguageId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PreferredLanguageName
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)
Declaration
public string PreferredLanguageName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrivatePhone
Home phone
Declaration
public string PrivatePhone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrivatePhoneId
Home phone id
Declaration
public int PrivatePhoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Retired
Is the person retired? English text 'True' or 'False'
Declaration
public bool Retired { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Salutation
Salutation
Declaration
public string Salutation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServiceContactId
Our service contact for this person - ID
Declaration
public int ServiceContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ServiceContactName
Our service contact for this person - Full name
Declaration
public string ServiceContactName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServicePriority
This persons service priority ID
Declaration
public int ServicePriority { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Title
Title
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
Voip
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UrlId
Voip service
Declaration
public int UrlId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UsePersonAddress
Use the person's postal address instead of the contact's address.
Declaration
public bool UsePersonAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Voip
Voip
Declaration
public string Voip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VoipId
Voip id
Declaration
public int VoipId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
VoipService
Voip service
Declaration
public string VoipService { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 lineNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | lineNo |
Returns
| Type | Description |
|---|---|
| string |
GetUserDefinedDecimal(int)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Field number (1-10). |
Returns
| Type | Description |
|---|---|
| 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 |
|---|---|---|
| string | progId |
Returns
| Type | Description |
|---|---|
| double |
GetUserDefinedInt(int)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Field number (1-60). |
Returns
| Type | Description |
|---|---|
| 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 |
|---|---|---|
| string | progId |
Returns
| Type | Description |
|---|---|
| int |
GetUserDefinedString(int)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Field number (1-39). |
Returns
| Type | Description |
|---|---|
| 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 |
|---|---|---|
| string | progId |
Returns
| Type | Description |
|---|---|
| string |