Click or drag to resize

IEntityCollectionCore.Sort Method (String, ListSortDirection, IComparer<Object>)

Sorts the collection.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
void Sort(
	string propertyName,
	ListSortDirection direction,
	IComparer<Object> comparerToUse
)

Parameters

propertyName
Type: System.String
property to sort on
direction
Type: System.ComponentModel.ListSortDirection
the sort direction
comparerToUse
Type: System.Collections.Generic.IComparer<Object>
The comparer to use. If null, it will use the default comparer.
See Also