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

Syntax

C#
protected virtual SQLConditions Subset()
Visual Basic
Protected Overridable Function Subset As SQLConditions
Visual C++
protected:
virtual SQLConditions^ Subset()

Return Value

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

Implements

IDatabaseObjects..::..Subset()()()()

Examples

CopyC#
Protected Overrides Function Subset() As SQL.SQLConditions

    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

See Also