Template Documentation
GenericServiceTModel, TEntityGet Method |
Get an unique model based on the expresion, retreives the entity and convert it to model
Namespace: Template.Service.Core
Assembly: Template.Service (in Template.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual TModel Get( Expression<Func<TModel, bool>> predicate )
Parameters
- predicate
- Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean
The expression to filter the selection
Return Value
Type: TModelThe model based on the predicate
Implements
IServiceTModelGet(ExpressionFuncTModel, Boolean)See Also