Template Documentation
IGenericRepositoryTEntityFindBy Method |
Filters the results by the passed predicate
Namespace: Template.Core.Interface
Assembly: Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
IEnumerable<TEntity> FindBy( Expression<Func<TEntity, bool>> predicate )
Parameters
- predicate
- Type: System.Linq.ExpressionsExpressionFuncTEntity, Boolean
The expression to filter the result
Return Value
Type: IEnumerableTEntityThe IEnumerable with the results
See Also