Template Documentation
IServiceTModelGet Method |
Get an unique model based on the expresion, retreives the entity and convert it to model
Namespace: Template.Service.Core.Interface
Assembly: Template.Service (in Template.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
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
See Also