Skip to content

mdlCodeMaps

mdlCodeMaps provides the helper module that loads and caches localized email and phone code maps.

Purpose

  • Helper module that loads and caches localized email and phone code maps.

Context

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

Public members

Member Signature Purpose
clsEmailTypesMap Public Class clsEmailTypesMap Represents the localized email-type map returned by GetEmailTypes.
EmailTypes Public Enum EmailTypes Lists the symbolic email categories used by the email map.
clsPhoneTypesMap Public Class clsPhoneTypesMap Represents the localized phone-type map returned by GetPhoneTypes.
PhoneTypes Public Enum PhoneTypes Lists the symbolic phone categories used by the phone map.
GetEmailTypes Public Function GetEmailTypes(dpi As IDataPortalInfo, Optional ByVal inRefresh As Boolean = False, Optional inCultureCode As String = "en") As clsEmailTypesMap Retrieves an existing business object through the BOF data portal.
GetPhoneTypes Public Function GetPhoneTypes(dpi As IDataPortalInfo, Optional ByVal inRefresh As Boolean = False, Optional inCultureCode As String = "en") As clsPhoneTypesMap Retrieves an existing business object through the BOF data portal.

Behavioral notes

  • The module keeps separate static caches for email and phone code tables by culture.

Constraints and usage notes

  • Supply a valid IDataPortalInfo so the module can execute the globalization SQL used to load the code tables.

Sources

  • Business\SAIF.Business.CustomerContact\mdlCodeMaps.vb