Skip to content

GroupAssociationExtensions

Provides LINQ-style filters over group collections for type, expiration, and plan-code selection.

Purpose

  • Provides LINQ-style filters over group collections for type, expiration, and plan-code selection.

Context

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

Public members

Member Signature Purpose
GroupType Public Function GroupType(ByVal Target As IEnumerable(Of clsGroupAssociation), ByVal inGroupType As clsGroupAssociation.GroupTypes) As IEnumerable(Of clsGroupAssociation) Returns only the groups whose typed classification matches the requested group type (BR-003).
NotExpired Public Function NotExpired(ByVal Target As IEnumerable(Of clsGroupAssociation), ByVal inAsOfDate As Date) As IEnumerable(Of clsGroupAssociation) Filters groups to rows that are not expired as of the supplied date (BR-002).
SalesPlan Public Function SalesPlan(ByVal Target As IEnumerable(Of clsGroupAssociation), ByVal inSalesPlanCode As String) As IEnumerable(Of clsGroupAssociation) Filters groups by plan code using the library's exclusion-based SalesPlan rule (BR-004).
SalesPlan Public Function SalesPlan(ByVal Target As IEnumerable(Of clsGroupAssociation), ByVal ParamArray inSalesPlanCode() As String) As IEnumerable(Of clsGroupAssociation) Filters groups by plan code using the library's exclusion-based SalesPlan rule (BR-004).

Behavioral notes

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

Constraints and usage notes

  • These methods operate on in-memory collections; callers must retrieve data before applying the extension filters.

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.

Sources

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