Skip to content

PolicyAssociationList

PolicyAssociationList (defined in PolicyAssociations.vb) is the legacy (pre-clsAssociationTypeCode) association-list builder. It inherits List(Of PolicyAssociation) and builds a single UNION SQL query (manual affiliation ∪ policy relationship ∪ discount combination ∪ experience-rating combination) to list all directly/indirectly related policies for a given policy.

Purpose

  • Builds and executes a single UNION SQL query combining four legacy association sources to list all related policies for a policy.
  • Populates itself as a List(Of PolicyAssociation).

Context

  • Namespace: SAIF.Business.View.Policy
  • Assembly/package: SAIF.Business.View.Policy (embedded library reference)

Public members

Member Signature Purpose
GetPolicyAssociationList Shared Function GetPolicyAssociationList(DPI As IDataPortalInfo, PolicyNum As Decimal) As PolicyAssociationList Retrieves the legacy related-policy list for a policy via the combined UNION query.

Inherited public members

Members in this section are inherited from List(Of PolicyAssociation) (System.Collections.Generic, part of the .NET Base Class Library, not a SAIF framework dependency).

Member Signature Purpose Origin
Item Default Property Item(index As Integer) As PolicyAssociation Returns the association at the given index. System.Collections.Generic — List(Of T)
Count ReadOnly Property Count As Integer Number of associations in the list. System.Collections.Generic — List(Of T)
Add Sub Add(item As PolicyAssociation) Appends an association to the list. System.Collections.Generic — List(Of T)

Behavioral notes

  • Superseded by clsPolicyHeaderAssociationFactory/clsAssociationTypeCode for new development; retained for existing legacy call sites.*

Constraints and usage notes

  • Consumers should prefer clsPolicyHeaderAssociationFactory.GetPolicyHeaderAssociations in new code.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • SAIF.Business.View.Policy\PolicyAssociations.vb