Skip to content

clsTradingAsCollection

clsTradingAsCollection retrieves the collection of "doing business as" trading names for a policy via inline Oracle SQL against TRADING_AS (SQL-VP-023) — one of the few retrievals in this library that does not go through a stored procedure.

Purpose

  • Retrieves the collection of trading-as names for a policy via SQL-VP-023.

Context

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

Public members

Member Signature Purpose
GetTradingAsCollection Shared Function GetTradingAsCollection(DPI As IDataPortalInfo, PolicyNum As Decimal) As clsTradingAsCollection Retrieves the trading-as collection for a policy.
Item Default ReadOnly Property Item(index As Integer) As clsTradingAs Returns the trading-as record at the given index.
Count ReadOnly Property Count As Integer Number of trading-as records 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

  • Uses inline SQL (CommandType.Text) rather than a stored procedure — an exception to this library's otherwise-common Oracle-package pattern.*

Constraints and usage notes

  • None beyond the standard collection retrieval lifecycle.

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\clsTradingAsCollection.vb