Template Documentation
IAutoMapperTModel, TEntityToEntityExpression Method |
Convert an expression of a model to an expression to an Entity, be careful to make an expression of with entities properties
Namespace: Template.Service.Core.Interface
Assembly: Template.Service (in Template.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Expression<Func<TEntity, bool>> ToEntityExpression( Expression<Func<TModel, bool>> predicate )
Parameters
- predicate
- Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean
The expression to convert
Return Value
Type: ExpressionFuncTEntity, BooleanThe TEnriry expression
See Also