C# Class jGrid.Helpers.LinqExtensions

Show file Open project: harshb/ko-

Public Methods

Method Description
OrderBy ( IQueryable query, string sortColumn, string direction ) : IQueryable

Orders the sequence by specific column and direction.

Where ( IQueryable query, string column, object value, WhereOperation operation ) : IQueryable

Method Details

OrderBy() public static method

Orders the sequence by specific column and direction.
public static OrderBy ( IQueryable query, string sortColumn, string direction ) : IQueryable
query IQueryable The query.
sortColumn string The sort column.
direction string
return IQueryable

Where() public static method

public static Where ( IQueryable query, string column, object value, WhereOperation operation ) : IQueryable
query IQueryable
column string
value object
operation WhereOperation
return IQueryable