Class ContactInfoProvider
Implementation of IContactInfo; create through factory (see remarks)
Inherited Members
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class ContactInfoProvider : ContactPersonInfoProviderBase, IContactInfo3, IContactInfo2, IContactInfo
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Properties
AddressLine1
Postal address line 1. If this is empty, street address line 1
Declaration
public string AddressLine1 { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Business
Business
Declaration
public string Business { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Category
Category
Declaration
public string Category { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Code
Code
Declaration
public string Code { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Contact
Implementation of IContactInfo; create through factory (see remarks)
Declaration
public Contact Contact { get; }
Property Value
| Type | Description |
|---|---|
| Contact |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.ContactId
Primary key of the contact
Declaration
public int ContactId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.CountryEnglish
English name of country
Declaration
public string CountryEnglish { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.County
County
Declaration
public string County { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.CountyZipUK
County and postcode (for UK addresses)
Declaration
public string CountyZipUK { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Department
Department
Declaration
public string Department { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Primary e-mail address.
Declaration
public string EMail { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.EMailId
Primary e-mail address id.
Declaration
public int EMailId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Fax
Fax
Declaration
public string Fax { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.FaxId
Fax id
Declaration
public int FaxId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.LineFeedAustraliaUK
Line feed for Australian and UK treatment of counties and postcodes
Declaration
public string LineFeedAustraliaUK { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Name
Company name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Number
Number
Declaration
public string Number { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.OrganisationNumber
Organisation number
Declaration
public string OrganisationNumber { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.OurContact
Our contact
Declaration
public string OurContact { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Phone
Phone
Declaration
public string Phone { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.PhoneId
Phone Id
Declaration
public int PhoneId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.PostCode
Postcode. For German addresses, don't add zip prefix
Declaration
public string PostCode { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.PostalAddressLine1And3
First address line, including Mail Stop (for American addresses).
Declaration
public string PostalAddressLine1And3 { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.PostalAddressPrefix
Postcode prefix
Declaration
public string PostalAddressPrefix { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.PostalAddressZipCity
Postcode and postal town (e.g. 0572 OSLO)
Declaration
public string PostalAddressZipCity { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressCity
Street town
Declaration
public string StreetAddressCity { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressCityFull
Streetaddress town, state/province and zipcode (for American, Canadian and Australian addresses, e.g. Bedford, MA 01730)
Declaration
public string StreetAddressCityFull { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressLine1
Street Address, line 1
Declaration
public string StreetAddressLine1 { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressLine2
Street Address, line 2
Declaration
public string StreetAddressLine2 { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressLine3
Street Address, line 3
Declaration
public string StreetAddressLine3 { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressState
State/province (for American, Canadian and Australian addresses). (See also aucs.)
Declaration
public string StreetAddressState { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressZip
Postcode. (See also aucs.)
Declaration
public string StreetAddressZip { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.StreetAddressZipGerman
Postcode for street address (for German addresses)
Declaration
public string StreetAddressZipGerman { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.SupportPersonId
Contact's support person ID
Declaration
public int SupportPersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.Web
Primary web address.
Declaration
public string Web { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.WebId
Primary web address id
Declaration
public int WebId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.ZipCity
Implementation of IContactInfo; create through factory (see remarks)
Declaration
public string ZipCity { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.GetSupportPersonNameAsync(CancellationToken)
Contact's support person - Full name
Declaration
public Task<string> GetSupportPersonNameAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<string> |
Remarks
To create an instance of ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo 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 ContactInfoProvider, use
var info = ClassFactory.Create<IContactInfo>(cont);
where cont is a Contact, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, 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 SimpleContactInfo instead, fully populate it, and pass that to the factory.