Skip to main content
.NET 6.0+

DynamicCollection(IObjectSpace, Type, CriteriaOperator, IList<SortProperty>, Boolean) Constructor

Initializes a new instance of the DynamicCollection class with specified settings.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public DynamicCollection(
    IObjectSpace objectSpace,
    Type objectType,
    CriteriaOperator criteria,
    IList<SortProperty> sorting,
    bool inTransaction


Name Type Description
objectSpace IObjectSpace

An Object Space for processing collection objects.

objectType Type

A type of objects in the collection.

criteria CriteriaOperator

The filter criteria. The collection contains only objects that match this criteria.

sorting IList<SortProperty>

A list of SortProperty objects that specify the sort order for the collection.

inTransaction Boolean

true if the specified criteria and sorting parameters are applied to all objects (in the database and retrieved); otherwise, false.

See Also