Click or drag to resize

SortClauseProducersThenBy Method (ISortClause, ISortClause)

Appends an ISortClause to an existing ISortClause to form a new ISortExpression

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static ISortExpression ThenBy(
	this ISortClause clause,
	ISortClause thenClause
)

Parameters

clause
Type: SD.LLBLGen.Pro.ORMSupportClassesISortClause
the first clause of the sort expression
thenClause
Type: SD.LLBLGen.Pro.ORMSupportClassesISortClause
the second clause of the sort expression

Return Value

Type: ISortExpression
new sort expression with the two specified sort clauses

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISortClause. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also