All docs
V21.1
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v21.1.dll

Declaration

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

Parameters

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