Should return the conditions that define the collection's subset. If the collection should include the entire table then this function should return Nothing. Implementing this function is optional.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Collapse imageSyntax

C#
SQLConditions Subset()
Visual Basic
Function Subset As SQLConditions
Visual C++
SQLConditions^ Subset()

Return Value

[Missing <returns> documentation for "M:DatabaseObjects.IDatabaseObjects.Subset"]

Collapse imageExamples

CopyC#
Protected Function Subset() As SQL.SQLConditions Implements IDatabaseObjects.Subset

    Dim objConditions As New SQL.SQLConditions

    'Only include products that are in group ID 1234
    objConditions.Add("GroupID", SQL.ComparisonOperator.EqualTo, 1234)

    Return objConditions

End Function

Collapse imageSee Also