Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search Namespace / IdRangeParser Class / GetDisjunction Method
In This Topic
    GetDisjunction Method
    In This Topic
    Returns the appropriate parameterized SQL criteria
    Syntax
    public NHibernate.Criterion.Disjunction GetDisjunction()

    Return Value

    A parameterized SQL criteria
    Remarks
    For Example, Range is 12-15,20. Method should return: *** ((OrderNumber >= @r1b AND OrderNumber <= @r1e) OR OrderNumber = @o20) *** Where r1b = range 1 begin, r1e = range 1 end, o20 = order 20
    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