---
title: clsManualClassParagraphUsageCollection
summary: API reference for clsManualClassParagraphUsageCollection.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---
# clsManualClassParagraphUsageCollection
Enumerates paragraph-usage 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 paragraph-usage 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 then persists the collection through the base save pipeline. |
| Contains | `Public Overloads Function Contains(ByVal inManualClassNum As String, ByVal inParagraphEffDate As Date, ByVal inMarketTypeCode As String, ByVal inNewOutstandingCode As String) As Boolean` | True when a live row matches the supplied manual class, paragraph effective date, market type, and new/outstanding code. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inclsManualClassParagraphUsage As clsManualClassParagraphUsage) As Boolean` | True when a deleted row compares equal to the supplied paragraph-usage object. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inManualClassNum As String, ByVal inParagraphEffDate As Date, ByVal inMarketTypeCode As String, ByVal inNewOutstandingCode As String) As Boolean` | True when a deleted row matches the supplied manual class, paragraph effective date, market type, and new/outstanding code. |
| Remove | `Public Overloads Function Remove(ByVal inManualClassNum As String, ByVal inParagraphEffDate As Date, ByVal inMarketTypeCode As String, ByVal inNewOutstandingCode As String) As Integer` | Removes the first live row matching the supplied composite key and returns the underlying remove result. |
| NewManualClassParagraphUsages | `Public Shared Function NewManualClassParagraphUsages(ByVal inDataportal As IDataPortalInfo) As clsManualClassParagraphUsageCollection` | Creates a new managed paragraph-usage collection through the data portal instead of retrieving existing rows. |
| GetManualClassParagraphUsages | `Public Shared Function GetManualClassParagraphUsages(ByVal inDataportal As IDataPortalInfo, Optional ByVal inManualClassNum As String = "", Optional ByVal inMarketTypeCode As String = "", Optional ByVal inParagraphEffDate As Date = #12:00:00 AM#, Optional ByVal inParagraphNum As String = "", Optional ByVal inParagraphExpDate As Date = #12:00:00 AM#, Optional ByVal inPolicyPeriodEffDate As Date = Nothing, Optional ByVal inPolicyPeriodExpDate As Date = Nothing ) As clsManualClassParagraphUsageCollection` | Retrieves paragraph-usage rows using the key, date, or period criteria supplied by this overload. |
| BuildSQL | `Public Sub BuildSQL(ByVal inDataRequest As IDataRequest)` | Builds retrieval SQL and parameters from the optional manual class, paragraph, market, and policy-period overlap filters. |
## 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\clsManualClassParagraphUsageCollection.vb`
