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

Session.EvaluateInTransaction Method

Name Parameters Description
EvaluateInTransaction(Type, CriteriaOperator, CriteriaOperator) objectType, expression, criteria

Evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes.

EvaluateInTransaction(XPClassInfo, CriteriaOperator, CriteriaOperator) classInfo, expression, criteria

Evaluates the specified expression for objects of the specified type, taking into account all in-memory object changes.

EvaluateInTransaction<ClassType>(CriteriaOperator, CriteriaOperator) expression, criteria

Evaluates the specified expression against objects whose type is designated by the generic parameter. Accounts for all in-memory object changes.