OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DepartmentQuery Class / Where Method / Where(IList<Filter>,DepartmentColumn) Method
The list of Filter objects to apply to the query.
The Schema column to sort the results by (ascending).



In This Topic
    Where(IList<Filter>,DepartmentColumn) Method
    In This Topic
    Retrieves all Department objects from the relative table that match the given list of filters.
    Syntax
    'Declaration
     
    
    Public Overloads Function Where( _
       ByVal filters As IList(Of Filter), _
       ByVal orderBy As Schema.DepartmentColumn _
    ) As IList(Of Customer.Department)
    'Usage
     
    
    Dim instance As DepartmentQuery
    Dim filters As IList(Of Filter)
    Dim orderBy As Schema.DepartmentColumn
    Dim value As IList(Of Customer.Department)
     
    value = instance.Where(filters, orderBy)

    Parameters

    filters
    The list of Filter objects to apply to the query.
    orderBy
    The Schema column to sort the results by (ascending).

    Return Value

    A list of Department objects.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also