KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.API.Client.SortingHelper Class Reference

Helper to apply sorting to IQueryable<T> More...

Static Public Member Functions

static IQueryable< TObject > ApplySorting< TObject > (this IQueryable< TObject > query, IEnumerable< SortingCondition > sortingConditions)
 Applies sorting to the query More...
 

Detailed Description

Helper to apply sorting to IQueryable<T>

Definition at line 22 of file SortingHelper.cs.

Member Function Documentation

◆ ApplySorting< TObject >()

static IQueryable<TObject> KlusterKite.API.Client.SortingHelper.ApplySorting< TObject > ( this IQueryable< TObject >  query,
IEnumerable< SortingCondition sortingConditions 
)
static

Applies sorting to the query

Template Parameters
TObjectThe type of objects to sort
Parameters
queryThe initial query
sortingConditionsThe list of sorting conditions
Returns
The sorted query

Definition at line 31 of file SortingHelper.cs.


The documentation for this class was generated from the following file: