Show / Hide Table of Contents

Class SimpleContactInfo

Plain-old-data implementation of IContactInfo, 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
Object
SimpleContactInfo
Implements
IContactInfo2
IContactInfo
Inherited Members
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 SimpleContactInfo : IContactInfo2, IContactInfo

Constructors

SimpleContactInfo()

Declaration
public SimpleContactInfo()

Properties

AddressLine1

Declaration
public string AddressLine1 { get; set; }
Property Value
Type Description
String

Business

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

Category

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

Code

Declaration
public string Code { get; set; }
Property Value
Type Description
String

ContactId

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

Country

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

Country2

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

CountryCode

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

CountryEnglish

Declaration
public string CountryEnglish { get; set; }
Property Value
Type Description
String

CountryId

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

County

Declaration
public string County { get; set; }
Property Value
Type Description
String

CountyZipUK

Declaration
public string CountyZipUK { get; set; }
Property Value
Type Description
String

Department

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

EMail

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

EMailId

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

Fax

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

FaxId

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

FaxStripped

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

LineFeedAustraliaUK

Declaration
public string LineFeedAustraliaUK { get; set; }
Property Value
Type Description
String

LineFeedGermany

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

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
String

Number

Declaration
public string Number { get; set; }
Property Value
Type Description
String

OrganisationNumber

Declaration
public string OrganisationNumber { get; set; }
Property Value
Type Description
String

OurContact

Declaration
public string OurContact { get; set; }
Property Value
Type Description
String

Phone

Declaration
public string Phone { get; set; }
Property Value
Type Description
String

PhoneId

Declaration
public int PhoneId { get; set; }
Property Value
Type Description
Int32

PostalAddressCity

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

PostalAddressCityFull

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

PostalAddressCounty

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

PostalAddressLine1

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

PostalAddressLine1And3

Declaration
public string PostalAddressLine1And3 { get; set; }
Property Value
Type Description
String

PostalAddressLine2

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

PostalAddressLine3

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

PostalAddressPrefix

Declaration
public string PostalAddressPrefix { get; set; }
Property Value
Type Description
String

PostalAddressState

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

PostalAddressZip

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

PostalAddressZipCity

Declaration
public string PostalAddressZipCity { get; set; }
Property Value
Type Description
String

PostCode

Declaration
public string PostCode { get; set; }
Property Value
Type Description
String

StreetAddressCity

Declaration
public string StreetAddressCity { get; set; }
Property Value
Type Description
String

StreetAddressCityFull

Declaration
public string StreetAddressCityFull { get; set; }
Property Value
Type Description
String

StreetAddressLine1

Declaration
public string StreetAddressLine1 { get; set; }
Property Value
Type Description
String

StreetAddressLine2

Declaration
public string StreetAddressLine2 { get; set; }
Property Value
Type Description
String

StreetAddressLine3

Declaration
public string StreetAddressLine3 { get; set; }
Property Value
Type Description
String

StreetAddressState

Declaration
public string StreetAddressState { get; set; }
Property Value
Type Description
String

StreetAddressZip

Declaration
public string StreetAddressZip { get; set; }
Property Value
Type Description
String

StreetAddressZipGerman

Declaration
public string StreetAddressZipGerman { get; set; }
Property Value
Type Description
String

SupportPersonId

Declaration
public int SupportPersonId { get; set; }
Property Value
Type Description
Int32

SupportPersonName

Declaration
public string SupportPersonName { 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

Web

Declaration
public string Web { get; set; }
Property Value
Type Description
String

WebId

Declaration
public int WebId { get; set; }
Property Value
Type Description
Int32

Methods

GetInternationalAddress(Int32)

FADx elements

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
Type Description
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
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
Type Description
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
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
Type Description
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
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
Type Description
String

Implements

IContactInfo2
IContactInfo

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