ExpressionHelper.GetKeyEqualsExpression<TGetKeyExpressionOwner, TPropertyOwner, TPrimaryKey>(Expression<Func<TGetKeyExpressionOwner, TPrimaryKey>>, Object, ParameterExpression) Method
Namespace: DevExpress.Mvvm.Utils
Assembly: DevExpress.Mvvm.v24.1.DataModel.dll
NuGet Package: DevExpress.Scaffolding.Core
Declaration
public static Expression<Func<TPropertyOwner, bool>> GetKeyEqualsExpression<TGetKeyExpressionOwner, TPropertyOwner, TPrimaryKey>(
Expression<Func<TGetKeyExpressionOwner, TPrimaryKey>> getKeyExpression,
object key,
ParameterExpression parameter = null
)
Parameters
Name | Type |
---|---|
getKeyExpression | Expression<Func<TGetKeyExpressionOwner, TPrimaryKey>> |
key | Object |
Optional Parameters
Name | Type | Default |
---|---|---|
parameter | ParameterExpression | null |
Type Parameters
Name |
---|
TGetKeyExpressionOwner |
TPropertyOwner |
TPrimaryKey |
Returns
Type |
---|
Expression<Func<TPropertyOwner, Boolean>> |
See Also