The CContactBasic type exposes the following members.

Constructors

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

Methods

  NameDescription
CheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Delete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FormatCompanySort
Nominal .Net method to return a company sort string, given a string identifying the company name.
FormatFullName
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
GetCompanySortName
Obtain a sortable version of a given company name.
GetFullName
Obtain a contact's full name from its component parts.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLastFirst
Calculate LastFirst given last and first names.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetNames
Calls internal methods to calculcate FullName and LastFirst
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Validate
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
m_blnCompanyRecord
Whether or not this contact is an Institute.
m_blnDupMatchInfoDirty
Whether or not duplicate match key is out of date.
m_DisableNameUpdates
Whether or not to automatically update FullName and LastFirst
m_strCompany
Company name
m_strCompanySort
Company sort
m_strContactId
Contact ID
m_strDesignation
Designation
m_strEmail
Email
m_strFax
Fax
m_strFirstName
First name
m_strFullName
Calculate FullName string
m_strInformal
Informal name
m_strLastFirst
Calculated LastFirst string
m_strLastName
Last name
m_strMiddleName
Middle name
m_strPrefix
Prefix
m_strSuffix
Suffix
m_strTitle
Title
m_strTollFreePhone
Toll free phone
m_strWorkPhone
Work phone
mChangeLogEntries
Stores change log entries. Indexed by PropertyName.
mEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
mErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Designation
Gets or sets the designation that follows the customer's/contact's name.
DisableNameUpdates
Whether or not to automatically update FullName and LastFirst
EditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
EmailAddress
The primary email address of the contact.
Errors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
ErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Fax
Gets or sets the FAX number (facsimile telephone number) of this contact.
FirstName
Gets or sets the first (or given) name of this contact, if a person. Not set for Institute/Company records.
FullName
Gets the full name of the contact/customer.
Informal
Gets or sets the informal or nickname of the contact. For example, FirstName = "Robert", the informal name might be "Bob".
InstituteName
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.
InstituteSort
Gets the Institute name, optimized for sorting
IsInstitute
Gets or sets an indicator of whether this contact is an institute/company (true) or a Person (false).
LastFirst
Gets the contact's last and first name. Calculated as LastName, FirstName. Like Doe, John
LastFirstInstitute
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.
LastName
Gets or sets the last name, family name or surname of this contact/customer, if a person. Not set for Institute/Company records.
MiddleName
Gets or sets the middle name of the contact/customer.
Prefix
Gets or sets the prefix (personal title) to the customer's name. Like Mr., Mrs., etc.
SortName
Gets the name of the contact, optimized for sorting
Suffix
Gets or sets the suffix to the customer's name. Like Sr., Jr., etc.
Title
The job title of the contact. Like CEO, Staff Accountant, etc.
TollFreePhone
Gets or sets the toll free telephone number of this contact. (A.K.A., 800 number)
WorkPhone
Gets or sets the work/business telephone number of this contact.

See Also