Template Documentation
IGenericRepositoryTEntityGet Method |
Gets an unique TEntity from the database
Namespace: Template.Core.Interface
Assembly: Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
TEntity Get( Expression<Func<TEntity, bool>> predicate )
Parameters
- predicate
- Type: System.Linq.ExpressionsExpressionFuncTEntity, Boolean
The predicate to filter the result
Return Value
Type: TEntityThe TEntity of the result
See Also