Table of Contents

Method WhereWithParameters

Namespace
Innova.Data
Assembly
Innova.Data.dll

WhereWithParameters<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>)

Filters a sequence of values based on a predicate expression with parameters.

public static IQueryable<TSource> WhereWithParameters<TSource>(this IQueryable<TSource> queryable, Expression<Func<TSource, bool>> where)

Parameters

queryable IQueryable<TSource>

The queryable sequence to filter.

where Expression<Func<TSource, bool>>

The predicate expression with parameters.

Returns

IQueryable<TSource>

A new queryable sequence that contains elements from the input sequence that satisfy the predicate expression.

Type Parameters

TSource

The type of the elements in the sequence.