Skip to content

clsCustomerContact

clsCustomerContact provides the customer-to-contact relationship business object.

Purpose

  • Customer-to-contact relationship business object.

Context

  • Namespace: SAIF.Business.CustomerContact.Customer
  • Assembly/package: SAIF.BOF.Business.CustomerContact

Public members

Member Signature Purpose
RelationshipCode Public Property RelationshipCode As String Returns or sets the relationship code stored on the link row.
Relationship Public ReadOnly Property Relationship As String Returns the descriptive text for the current relationship code.
Title Public Property Title As String Returns or sets the relationship or display title.
CustomerID Public ReadOnly Property CustomerID As Decimal Returns or sets the customer identifier exposed by this type.
SetTitleNull Public Sub SetTitleNull() Clears the Title value and marks the object dirty.
Contact Public ReadOnly Property Contact As clsContact Returns the linked contact business object.
ContactName Public ReadOnly Property ContactName As String Returns the name value exposed by this type.
IsValid Public Overrides ReadOnly Property IsValid As Boolean Returns whether the object and any checked child objects have accumulated validation errors.

Behavioral notes

  • Saving the relationship also saves the linked Contact child object.

Constraints and usage notes

  • Populate RelationshipCode before saving; the source adds a required-text business rule for this field.

Sources

  • Business\SAIF.Business.CustomerContact\Customer\clsCustomerContact.vb