Skip to content

clsCustomerContactSelection

clsCustomerContactSelection provides the lightweight selection-state DTO.

Purpose

  • Lightweight selection-state DTO.

Context

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

Public members

Member Signature Purpose
CustomerID Public Property CustomerID As Decimal Returns or sets the customer identifier exposed by this type.
ContactID Public Property ContactID As Decimal Returns or sets the contact identifier exposed by this type.
AddressID Public Property AddressID As Decimal Returns or sets the address identifier exposed by this type.
PhoneID Public Property PhoneID As Decimal Returns or sets the phone identifier exposed by this type.
EmailID Public Property EmailID As Decimal Returns or sets the email identifier exposed by this type.
IsEmpty Public ReadOnly Property IsEmpty As Boolean Returns the boolean state exposed by this type.
ContactSelected Public ReadOnly Property ContactSelected As Boolean Returns the value exposed by this member.
CustomerSelected Public ReadOnly Property CustomerSelected As Boolean Returns the value exposed by this member.
PhoneSelected Public ReadOnly Property PhoneSelected As Boolean Returns the value exposed by this member.
AddressSelected Public ReadOnly Property AddressSelected As Boolean Returns the value exposed by this member.
EmailSelected Public ReadOnly Property EmailSelected As Boolean Returns the value exposed by this member.
New Public Sub New() Initializes the object with the supplied constructor arguments.
Reset Public Sub Reset() Performs the maintenance action declared by this member on the current object.
New Public Sub New(ByVal inCustomerID As Decimal, ByVal inContactID As Decimal, ByVal inAddressID As Decimal, ByVal inPhoneID As Decimal, ByVal inEmailID As Decimal) Initializes the object with the supplied constructor arguments.
ToString Public Overrides Function ToString() As String Returns a compact string representation for this type.

Behavioral notes

  • The boolean selection properties are derived directly from whether each stored identifier is greater than zero.

Constraints and usage notes

  • This type stores identifiers only; it does not load the underlying BOF objects.

Sources

  • Business\SAIF.Business.CustomerContact\clsCustomerContactSelection.vb