Table of Contents

Class QueryableExtensions

Namespace
Oqtane.Extensions
Assembly
Oqtane.Server.dll
public static class QueryableExtensions
Inheritance
QueryableExtensions

Methods

FilterByItems<T, TItem>(IQueryable<T>, IEnumerable<TItem>, Expression<Func<T, TItem, bool>>, bool)

public static IQueryable<T> FilterByItems<T, TItem>(this IQueryable<T> query, IEnumerable<TItem> items, Expression<Func<T, TItem, bool>> filterPattern, bool isOr)

Parameters

query IQueryable<T>
items IEnumerable<TItem>
filterPattern Expression<Func<T, TItem, bool>>
isOr bool

Returns

IQueryable<T>

Type Parameters

T
TItem