Skip to content

clsMCOCollection

clsMCOCollection is an alternate/duplicate MCO collection retrieval type that calls the same stored procedure (pk72846_view_policy.getmco) as clsPolicyMCOCollection.* Its presence alongside clsPolicyMCOCollection was flagged as a possible code-duplication concern during analysis (see Open questions in overview.md).

Purpose

  • Retrieves MCO assignments for a policy via pk72846_view_policy.getmco — functionally overlapping with clsPolicyMCOCollection.*

Context

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

Public members

Member Signature Purpose
GetMCOCollection Shared Function GetMCOCollection(DPI As IDataPortalInfo, PolicyNum As Decimal) As clsMCOCollection Retrieves the MCO assignment collection for a policy.
Item Default ReadOnly Property Item(index As Integer) As clsPolicyMCO Returns the MCO assignment at the given index.
Count ReadOnly Property Count As Integer Number of MCO assignments retrieved.

Inherited public members

Members in this section are inherited from clsBusinessCollectionBase in saif.framework.core. They are available on this type through inheritance.

Member Signature Purpose Origin
IsFirst / First() / FirstItem Traversal members Navigate to and identify the first item in the collection.† saif.framework.core — clsBusinessCollectionBase
ErrorCount / ErrorMessages Properties Aggregated error count/messages across all member items.† saif.framework.core — clsBusinessCollectionBase

Behavioral notes

  • No functional difference from clsPolicyMCOCollection was identified beyond the class name and consuming call sites; consumers should confirm which type is actively used before making changes.*

Constraints and usage notes

  • This is flagged as a candidate for consolidation with clsPolicyMCOCollection in a future refactor.**

Note: Statements marked with † are derived from dependency library documentation via the Legends CLI. Statements marked with * were inferred from code structure or contextual evidence. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

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