.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.EvaluateInTransaction Method

Name Parameters Description
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(Type, CriteriaOperator, CriteriaOperator) objectType, expression, criteria Evaluates the specified expression against objects of the specified type. Accounts for 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.