Skip to content

mdlCodeMaps

mdlCodeMaps is a shared VB.NET Module that exposes the ExternalViewTypes extended code map used by the imaging library to map external view type values to their descriptions or identifiers.

Purpose

  • Provides a shared code map for external view types, accessible without instantiation (as a VB.NET Module)*.

Context

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

Public members

Member Signature Purpose
GetImageExternalViewCodes Public Function GetImageExternalViewCodes(dpi As IDataPortalInfo, Optional ByVal inRefresh As Boolean = False) As clsExternalCodesMap Returns the cached external-view code map, optionally rebuilding it when inRefresh=True.
clsExternalCodesMap Public Class clsExternalCodesMap Nested map type that loads image_external_view_code rows into an extended code map keyed by code and enum value.
ExternalViewTypes Public Enum ExternalViewTypes Enumerates the supported external-view states: Hide, Show, and Pending.

Behavioral notes

  • As a VB.NET Module, all members are implicitly shared and accessed without instantiation*.
  • No database interaction was identified for this module.

Constraints and usage notes

  • GetImageExternalViewCodes caches the module-level map in a Static variable until a caller requests a refresh.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.

Sources

  • Business\SAIF.Business.Imaging\mdlCodeMaps.vb