GenericRepository(TEntity).FindBy Method

Template MVC

GenericRepositoryTEntityFindBy Method

Filters the results by the passed predicate

Namespace:  Template.Repository.Core
Assembly:  Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual IEnumerable<TEntity> FindBy(
	Expression<Func<TEntity, bool>> predicate
)

Parameters

predicate
Type: System.Linq.ExpressionsExpressionFuncTEntity, Boolean
The expression to filter the result

Return Value

Type: IEnumerableTEntity
The IEnumerable with the results

Implements

IGenericRepositoryTEntityFindBy(ExpressionFuncTEntity, Boolean)
See Also