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

    Parameters

    criteria
    The NHibernate DetachedCriteria 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