EntityViewBaseTEntityApplySort Method (PropertyDescriptor, ListSortDirection) |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxprotected virtual void ApplySort(
PropertyDescriptor property,
ListSortDirection direction
)
Protected Overridable Sub ApplySort (
property As PropertyDescriptor,
direction As ListSortDirection
)
Parameters
- property
- Type: System.ComponentModelPropertyDescriptor
The PropertyDescriptor to sort by. - direction
- Type: System.ComponentModelListSortDirection
One of the ListSortDirection values.
ExceptionsException | Condition |
---|
NotSupportedException | SupportsSorting is false. |
See Also