CapyKit/Documentation/Help/Methods_T_CapyKit_Extensions_LINQExtensions.md

2.6 KiB

LINQExtensions Methods

Methods

Distinct(T, U) Enumerates distinct items in this collection as defined by the key property.
Filter(T)(IEnumerable(T), Func(T, Boolean)) Filters out items matching a predicate from the collection.
Filter(T)(IQueryable(T), Expression(Func(T, Boolean))) Filters out items matching a predicate from the collection.
LeftOuterJoin(T, U, TKey, R)(IQueryable(T), IQueryable(U), Expression(Func(T, TKey)), Expression(Func(U, TKey)), Expression(Func(T, IEnumerable(U), R))) An IQueryable<T> extension method that left outer join.
LeftOuterJoin(T, U, TKey, R)(IEnumerable(T), IEnumerable(U), Func(T, TKey), Func(U, TKey), Func(T, IEnumerable(U), R), Func(T, U)) An IEnumable<T> extension method that left outer join.
LeftOuterJoin(T, U, TKey, R)(IQueryable(T), IQueryable(U), Expression(Func(T, TKey)), Expression(Func(U, TKey)), Func(T, IEnumerable(U), R), Func(T, U)) An IQueryable<T> extension method that left outer join.
Page(T)(IEnumerable(T), Int32, Int32) Get a page of items from a collection, skipping pageNumber pages of pageSize items per page.
Page(T)(IQueryable(T), Int32, Int32) Get a page of items from a collection, skipping pageNumber pages of pageSize items per page.
PageCount(T)(IEnumerable(T), Int32) The number of pages of pageSize size in the given collection.
PageCount(T)(IQueryable(T), Int32) The number of pages of pageSize size in the given collection.

See Also

Reference

LINQExtensions Class
CapyKit.Extensions Namespace