Skip to content

clsGroupAssociationDiscountCollection

Retrieves group discount rows for in-memory selection.

Purpose

  • Retrieves group discount rows for in-memory selection.

Context

  • Namespace: SAIF.Business.Policy.Group
  • Assembly/package: SAIF.Business.Policy.Group

Public members

Member Signature Purpose
CurrentItem Public Shadows ReadOnly Property CurrentItem() As clsGroupAssociationDiscount Returns the collection's current group discount for callers using BOF cursor-style traversal.*
Add Public Shadows Function Add(ByVal inGroupAssociationDiscount As clsGroupAssociationDiscount) As Integer Adds the supplied group discount to the in-memory collection so a later save can persist it.*
Contains Public Overloads Function Contains(ByVal inGroupAssociationDiscount As clsGroupAssociationDiscount) As Boolean Checks whether the active collection already contains an item matching the supplied group discount.*
Contains Public Overloads Function Contains(ByVal inGroupAssociationCode As String) As Boolean Checks whether the active collection already contains an item matching the supplied group association code.*
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inGroupAssociationDiscount As clsGroupAssociationDiscount) As Boolean Checks whether the deleted-items buffer already contains an item matching the supplied group discount.*
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inGroupAssociationCode As String) As Boolean Checks whether the deleted-items buffer already contains an item matching the supplied group association code.*
Remove Public Sub Remove(ByVal inGroupAssociationDiscount As clsGroupAssociationDiscount) Removes or marks the specified item for deletion from the collection.*
Remove Public Sub Remove(ByVal inGroupAssociationCode As String) Removes or marks the specified item for deletion from the collection.*
Where Public Function Where(ByVal match As Predicate(Of clsGroupAssociationDiscount)) As clsGroupAssociationDiscountCollection Returns a filtered view of the collection using the callers predicate.*
ToList Public Function ToList() As List(Of clsGroupAssociationDiscount) Materializes the BOF collection as a List for callers that need standard list semantics.*
GetGroupAssociationDiscounts Public Shared Function GetGroupAssociationDiscounts(ByVal inDataportal As IDataPortalInfo) As clsGroupAssociationDiscountCollection Loads the full set of group discount rows for later in-memory filtering.*

Inherited public members

Member Signature Purpose Origin
First Sub First() Moves inherited collection traversal to the first item.† SAIF.Framework.Core — clsBusinessCollectionBase
Last Sub Last() Moves inherited collection traversal to the last item.† SAIF.Framework.Core — clsBusinessCollectionBase
Next Sub Next() Moves inherited collection traversal to the next item.† SAIF.Framework.Core — clsBusinessCollectionBase
Previous Sub Previous() Moves inherited collection traversal to the previous item.† SAIF.Framework.Core — clsBusinessCollectionBase
SetCurrent Sub SetCurrent(item As Object) Changes the inherited current-item cursor for traversal.† SAIF.Framework.Core — clsBusinessCollectionBase
Traverse Sub Traverse(...) Executes inherited collection traversal across the BOF list.† SAIF.Framework.Core — clsBusinessCollectionBase
Error ReadOnly Property Error As String Surfaces inherited aggregate broken-rule text for the collection.† SAIF.Framework.Core — clsBusinessCollectionBase
Item ReadOnly Property Item(columnName As String) As String Surfaces inherited per-member broken-rule text for the collection.† SAIF.Framework.Core — clsBusinessCollectionBase

Behavioral notes

  • This type follows the BOF business-object or collection lifecycle exposed by its public surface.*

Constraints and usage notes

  • Most create, retrieve, and save flows rely on BOF criteria and data-portal behavior inherited from the framework base layer.†

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. Statements marked with † were retrieved from dependency library documentation via the Legends CLI RAG service.

Sources

  • Business\\SAIF.Business.Policy.Group\\clsGroupAssociationDiscountCollection.vb