.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPQuery<T>.TransformExpression(Session, Expression<Func<T, Boolean>>, CustomCriteriaCollection) Method

Intended for internal use.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public static CriteriaOperator TransformExpression(
    Session session,
    Expression<Func<T, bool>> expression,
    CustomCriteriaCollection customCriteriaCollection
)
Public Shared Function TransformExpression(
    session As Session,
    expression As Expression(Of Func(Of T, Boolean)),
    customCriteriaCollection As CustomCriteriaCollection
) As CriteriaOperator

Parameters

Name Type
session Session
expression Expression<Func<T, Boolean>>
customCriteriaCollection DevExpress.Xpo.CustomCriteriaCollection

Returns

Type
CriteriaOperator

Remarks

To convert a lambda expression into an instance of the CriteriaOperator class descendant, use the TransformExpression method overloads that don't take the customCriteriaCollection parameter.

See Also