The CContactBasic type exposes the following members.

Constructors

  NameDescription
Public methodCContactBasic
Creates a new contact object with properties initialized to their defaults

Methods

  NameDescription
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFormatCompanySort
Nominal .Net method to return a company sort string, given a string identifying the company name.
Public methodStatic memberFormatFullName
Generates the contact's full name from its component parts. Calculated from Prefix FirstName MiddleName LastName, Suffix, Designation Like: Mr. John C. Doe, Jr., DDS
Public methodStatic memberGetCompanySortName
Obtain a sortable version of a given company name.
Public methodStatic memberGetFullName
Obtain a contact's full name from its component parts.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetLastFirst
Calculate LastFirst given last and first names.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetNames
Calls internal methods to calculcate FullName and LastFirst
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Validates the data set in the contact's properties against cross-property business rules. If any errors are found Validate will return false and the Asi.iBO.Errors property should be checked for details. Validate can be called at any time to check for errors but it will automatically be called at save time.
(Overrides iboBase..::..Validate()()()().)

Fields

  NameDescription
Protected fieldm_blnCompanyRecord
Whether or not this contact is an Institute.
Protected fieldm_blnDupMatchInfoDirty
Whether or not duplicate match key is out of date.
Protected fieldm_DisableNameUpdates
Whether or not to automatically update FullName and LastFirst
Protected fieldm_strCompany
Company name
Protected fieldm_strCompanySort
Company sort
Protected fieldm_strContactId
Contact ID
Protected fieldm_strDesignation
Designation
Protected fieldm_strEmail
Email
Protected fieldm_strFax
Fax
Protected fieldm_strFirstName
First name
Protected fieldm_strFullName
Calculate FullName string
Protected fieldm_strInformal
Informal name
Protected fieldm_strLastFirst
Calculated LastFirst string
Protected fieldm_strLastName
Last name
Protected fieldm_strMiddleName
Middle name
Protected fieldm_strPrefix
Prefix
Protected fieldm_strSuffix
Suffix
Protected fieldm_strTitle
Title
Protected fieldm_strTollFreePhone
Toll free phone
Protected fieldm_strWorkPhone
Work phone
Protected fieldmChangeLogEntries
Stores change log entries. Indexed by PropertyName.
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Public propertyDesignation
Gets or sets the designation that follows the customer's/contact's name.
Public propertyDisableNameUpdates
Whether or not to automatically update FullName and LastFirst
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyEmailAddress
The primary email address of the contact.
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyFax
Gets or sets the FAX number (facsimile telephone number) of this contact.
Public propertyFirstName
Gets or sets the first (or given) name of this contact, if a person. Not set for Institute/Company records.
Public propertyFullName
Gets the full name of the contact/customer.
Public propertyInformal
Gets or sets the informal or nickname of the contact. For example, FirstName = "Robert", the informal name might be "Bob".
Public propertyInstituteName
Gets or sets the name of the institute/company for which the ship to customer works, or if the customer is an institute/company, its name.
Public propertyInstituteSort
Gets the Institute name, optimized for sorting
Public propertyIsInstitute
Gets or sets an indicator of whether this contact is an institute/company (true) or a Person (false).
Public propertyLastFirst
Gets the contact's last and first name. Calculated as LastName, FirstName. Like Doe, John
Public propertyLastFirstInstitute
Gets the contact's last and first name or the institute name if no last or first is available. Calculated as LastName, FirstName. Like Doe, John or ABC Corp.
Public propertyLastName
Gets or sets the last name, family name or surname of this contact/customer, if a person. Not set for Institute/Company records.
Public propertyMiddleName
Gets or sets the middle name of the contact/customer.
Public propertyPrefix
Gets or sets the prefix (personal title) to the customer's name. Like Mr., Mrs., etc.
Public propertySortName
Gets the name of the contact, optimized for sorting
Public propertySuffix
Gets or sets the suffix to the customer's name. Like Sr., Jr., etc.
Public propertyTitle
The job title of the contact. Like CEO, Staff Accountant, etc.
Public propertyTollFreePhone
Gets or sets the toll free telephone number of this contact. (A.K.A., 800 number)
Public propertyWorkPhone
Gets or sets the work/business telephone number of this contact.

See Also