﻿---
title: clsManualClassAssociationCollection
summary: API reference for clsManualClassAssociationCollection.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---
# clsManualClassAssociationCollection
Enumerates manual class association rows. Its factory methods retrieve these rows through BOF criteria objects, and its helpers expose the keyed or effective-dated filters callers use after load.
## Purpose
- Enumerates manual class association rows.
- Its factory methods retrieve these rows through BOF criteria objects, and its helpers expose the keyed or effective-dated filters callers use after load.
## Context
- Namespace: `SAIF.Business.Policy.Rating`
- Assembly/package: `SAIF.Business.Policy.Rating`
## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Save | `Public Overrides Function Save() As Boolean` | Applies pending edits and persists the collection through the BOF base class. |
| Contains | `Public Overloads Function Contains(ByVal inManualClassNum As String) As Boolean` | True when the live list already contains an association for the given manual class number. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inclsManualClassAssociation As clsManualClassAssociation) As Boolean` | True when an equal association is already staged in the deleted list. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inManualClassNum As String) As Boolean` | True when the deleted list contains an association for the given manual class number. |
| Remove | `Public Overloads Sub Remove(ByVal inclsManualClassAssociation As clsManualClassAssociation)` | Removes the supplied association instance from the live list. |
| Remove | `Public Overloads Sub Remove(ByVal inManualClassNum As String)` | Removes the first live association whose ManualClassNum matches the supplied manual class number. |
| NewManualClassAssociations | `Public Shared Function NewManualClassAssociations(ByVal inDataportal As IDataPortalInfo) As clsManualClassAssociationCollection` | Creates a new editable collection with BOF list-management flags enabled. |
| GetManualClassAssociations | `Public Shared Function GetManualClassAssociations(ByVal inDataportal As IDataPortalInfo, ByVal inManualClassNum As String) As clsManualClassAssociationCollection` | Retrieves manual class association rows using the key, date, or period criteria supplied by this overload. |
| GetManualClassAssociations | `Public Shared Function GetManualClassAssociations(ByVal inDataportal As IDataPortalInfo) As List(Of clsManualClassAssociation)` | Retrieves manual class association rows using the key, date, or period criteria supplied by this overload. |
| NewManualClassAssociation | `Public Function NewManualClassAssociation(ByVal inDataportal As IDataPortalInfo) As clsManualClassAssociation` | Creates a new association child object, adds it to the collection, and returns it. |
## Inherited public members
| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| First | `Sub First()` | Moves collection traversal to the first item.† | `SAIF.Framework.Core` — `clsBusinessCollectionBase` |
| Last | `Sub Last()` | Moves collection traversal to the last item.† | `SAIF.Framework.Core` — `clsBusinessCollectionBase` |
| Next | `Sub Next()` | Advances collection traversal to the next item.† | `SAIF.Framework.Core` — `clsBusinessCollectionBase` |
| Previous | `Sub Previous()` | Moves collection traversal to the previous item.† | `SAIF.Framework.Core` — `clsBusinessCollectionBase` |
| Error | `ReadOnly Property Error As String` | Surfaces collection-level broken-rule text through `IDataErrorInfo`.† | `SAIF.Framework.Core` — `clsBusinessCollectionBase` |
## Behavioral notes
- Rows are loaded through the BOF data portal first; the collection then applies any additional in-memory filtering or keyed selection.
## Constraints and usage notes
- Lookups that do not find a matching row return `Nothing` or an empty filtered collection, so callers should handle missing results explicitly.
> **Note:** Statements marked with `†` are derived from dependency library
> documentation via the Legends CLI. They describe inherited behavior from the
> indicated origin library and should be verified if the dependency version changes.
## Sources
- `Business\SAIF.Business.Policy.Rating\clsManualClassAssociationCollection.vb`
