ListOptions<T>.AddSort method (1 of 3)
Adds a sorting option.
public void AddSort(OrderBy orderBy)
| parameter | description |
|---|---|
| orderBy | sort option |
See Also
- class OrderBy
- class ListOptions<T>
- namespace Amica
ListOptions<T>.AddSort method (2 of 3)
Adds a sorting option.
public OrderBy AddSort(string propertyName, Direction direction = Direction.Ascending)
| parameter | description |
|---|---|
| propertyName | property name |
| direction | sort direction |
See Also
- class OrderBy
- enum Direction
- class ListOptions<T>
- namespace Amica
ListOptions<T>.AddSort<TProperty> method (3 of 3)
Adds a sorting option.
public OrderBy AddSort<TProperty>(Expression<Func<T, TProperty>> expression,
Direction direction = Direction.Ascending)
| parameter | description |
|---|---|
| TProperty | target property type |
| expression | target property expression |
| direction | sort direction |
See Also
- class OrderBy
- enum Direction
- class ListOptions<T>
- namespace Amica