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
SimplePersonInfo
Assembly: SoDataBase.dll
Syntax
public class SimplePersonInfo : IPersonInfo2, IPersonInfo
Constructors
SimplePersonInfo()
Declaration
public SimplePersonInfo()
Properties
AssociateId
Declaration
public int AssociateId { get; set; }
Property Value
Chat
Declaration
public string Chat { get; set; }
Property Value
ChatId
Declaration
public int ChatId { get; set; }
Property Value
ChatProtocol
Declaration
public string ChatProtocol { get; set; }
Property Value
Declaration
public int ContactId { get; set; }
Property Value
Country
Declaration
public string Country { get; set; }
Property Value
Country2
Declaration
public string Country2 { get; set; }
Property Value
CountryCode
Declaration
public string CountryCode { get; set; }
Property Value
CountryId
Declaration
public int CountryId { get; set; }
Property Value
DateOfBirth
Declaration
public string DateOfBirth { get; set; }
Property Value
Department
Declaration
public string Department { get; set; }
Property Value
EMail
Declaration
public string EMail { get; set; }
Property Value
EMailId
Declaration
public int EMailId { get; set; }
Property Value
Fax
Declaration
public string Fax { get; set; }
Property Value
FaxId
Declaration
public int FaxId { get; set; }
Property Value
FaxStripped
Declaration
public string FaxStripped { get; set; }
Property Value
FirstName
Declaration
public string FirstName { get; set; }
Property Value
LastName
Declaration
public string LastName { get; set; }
Property Value
LineFeedGermany
Declaration
public string LineFeedGermany { get; set; }
Property Value
MiddleName
Declaration
public string MiddleName { get; set; }
Property Value
MiddleName2
Declaration
public string MiddleName2 { get; set; }
Property Value
MobilePhone
Declaration
public string MobilePhone { get; set; }
Property Value
MobilePhoneId
Declaration
public int MobilePhoneId { get; set; }
Property Value
MrMrs
Declaration
public string MrMrs { get; set; }
Property Value
Nomailing
Declaration
public bool Nomailing { get; set; }
Property Value
OfficePhone
Declaration
public string OfficePhone { get; set; }
Property Value
OfficePhoneId
Declaration
public int OfficePhoneId { get; set; }
Property Value
Declaration
public string Pager { get; set; }
Property Value
Declaration
public int PagerId { get; set; }
Property Value
PersonId
Declaration
public int PersonId { get; set; }
Property Value
PersonNumber
Declaration
public string PersonNumber { get; set; }
Property Value
Position
Declaration
public string Position { get; set; }
Property Value
PostalAddressCity
Declaration
public string PostalAddressCity { get; set; }
Property Value
PostalAddressCityFull
Declaration
public string PostalAddressCityFull { get; set; }
Property Value
PostalAddressCounty
Declaration
public string PostalAddressCounty { get; set; }
Property Value
PostalAddressLine1
Declaration
public string PostalAddressLine1 { get; set; }
Property Value
PostalAddressLine1Extended
Declaration
public string PostalAddressLine1Extended { get; set; }
Property Value
PostalAddressLine2
Declaration
public string PostalAddressLine2 { get; set; }
Property Value
PostalAddressLine3
Declaration
public string PostalAddressLine3 { get; set; }
Property Value
PostalAddressState
Declaration
public string PostalAddressState { get; set; }
Property Value
PostalAddressStateAmericaCanadaAustralia
Declaration
public string PostalAddressStateAmericaCanadaAustralia { get; set; }
Property Value
PostalAddressZip
Declaration
public string PostalAddressZip { get; set; }
Property Value
PreferredLanguageId
Declaration
public int PreferredLanguageId { get; set; }
Property Value
PreferredLanguageName
Declaration
public string PreferredLanguageName { get; set; }
Property Value
PrivatePhone
Declaration
public string PrivatePhone { get; set; }
Property Value
PrivatePhoneId
Declaration
public int PrivatePhoneId { get; set; }
Property Value
Retired
Declaration
public bool Retired { get; set; }
Property Value
Salutation
Declaration
public string Salutation { get; set; }
Property Value
Declaration
public int ServiceContactId { get; set; }
Property Value
Declaration
public string ServiceContactName { get; set; }
Property Value
ServicePriority
Declaration
public int ServicePriority { get; set; }
Property Value
Title
Declaration
public string Title { get; set; }
Property Value
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
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
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
Url
Declaration
public string Url { get; set; }
Property Value
UrlId
Declaration
public int UrlId { get; set; }
Property Value
UsePersonAddress
Declaration
public bool UsePersonAddress { get; set; }
Property Value
Voip
Declaration
public string Voip { get; set; }
Property Value
VoipId
Declaration
public int VoipId { get; set; }
Property Value
VoipService
Declaration
public string VoipService { get; set; }
Property Value
Methods
GetInternationalAddress(Int32)
Declaration
[Obsolete("FAD international addresses are handled through a separate system, see FadTags.cs", true)]
public string GetInternationalAddress(int lineNo)
Parameters
Type |
Name |
Description |
Int32 |
lineNo |
|
Returns
GetUserDefinedDecimal(Int32)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type |
Name |
Description |
Int32 |
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
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 |
Int32 |
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
GetUserDefinedString(Int32)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type |
Name |
Description |
Int32 |
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
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)