Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / NHibernateHelper Class / ParseSortExpression Method / ParseSortExpression(ICriteria,String) Method
The NHibernate ICriteria instance
The sort expression to parse
In This Topic
    ParseSortExpression(ICriteria,String) Method
    In This Topic
    Sets the sort order for an NHibernate ICriteria instance based on the SQL sort expression
    Syntax
    public static void ParseSortExpression( 
       NHibernate.ICriteria criteria,
       string sortExpression
    )

    Parameters

    criteria
    The NHibernate ICriteria instance
    sortExpression
    The sort expression to parse
    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