Skip to main content

IRepositoryQuery<T>.Where(Expression<Func<T, Boolean>>) Method

Filters a sequence of entities based on the given predicate.

Namespace: DevExpress.Mvvm.DataModel

Assembly: DevExpress.Mvvm.v24.1.DataModel.dll

NuGet Package: DevExpress.Scaffolding.Core

Declaration

IRepositoryQuery<T> Where(
    Expression<Func<T, bool>> predicate
)

Parameters

Name Type Description
predicate Expression<Func<T, Boolean>>

A function to test each entity for a condition.

Returns

Type
IRepositoryQuery<T>
See Also