Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderRepository Class / CountForFilter Method / CountForFilter(OrderFilter) Method
Representing the filter to apply to the orders
In This Topic
    CountForFilter(OrderFilter) Method
    In This Topic
    Builds a command to count the total records that are within the bounds of the filter
    Syntax
    public int CountForFilter( 
       OrderFilter filter
    )

    Parameters

    filter
    Representing the filter to apply to the orders

    Return Value

    A DbCommand object that will return the count of records for the filter
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also