public static Expression<Func<TPropertyOwner, bool>> GetKeyEqualsExpression<TGetKeyExpressionOwner, TPropertyOwner, TPrimaryKey>(
Expression<Func<TGetKeyExpressionOwner, TPrimaryKey>> getKeyExpression,
object key,
ParameterExpression parameter = null
)
Public Shared Function GetKeyEqualsExpression(Of TGetKeyExpressionOwner, TPropertyOwner, TPrimaryKey)(
getKeyExpression As Expression(Of Func(Of TGetKeyExpressionOwner, TPrimaryKey)),
key As Object,
parameter As ParameterExpression = Nothing
) As Expression(Of Func(Of TPropertyOwner, Boolean))