Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductRepository Interface / FindForWrapGroupCount Method / FindForWrapGroupCount(String,String,Int32,Int32) Method
The name of the product
The sku of the product
The wrapGroup Id of the product. Use special value (-1) to search products without any wrapGroups assigned.
Assigned group Id of the product
In This Topic
    FindForWrapGroupCount(String,String,Int32,Int32) Method
    In This Topic
    Finds the number of products for given parameters
    Syntax
    int FindForWrapGroupCount( 
       string name,
       string sku,
       int wrapGroupId,
       int groupId
    )

    Parameters

    name
    The name of the product
    sku
    The sku of the product
    wrapGroupId
    The wrapGroup Id of the product. Use special value (-1) to search products without any wrapGroups assigned.
    groupId
    Assigned group Id of the product

    Return Value

    The number of products matching the given parameters
    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