Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseObjectSpace.CreateParseCriteriaScope() Method

Used when parsing a CriteriaOperator represented by a string and containing persistent objects.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual IDisposable CreateParseCriteriaScope()

#Returns

Type Description
IDisposable

An IDisposable object used to restore persistent objects from a serialized string.

#Remarks

Use this method when you need to parse a CriteriaOperator from a string and you expect that it contains references to persistent objects.

Persistent objects are serialized as a part of a CriteriaOperator in a special format and a ‘scope’ object is necessary to restore objects from a serialized string.

Since the Entity Framework does not support using reference properties in criteria, this method returns null.

See Also