Skip to main content
.NET 6.0+

SerializableObjectLayer.SelectData(XPDictionaryStub, ObjectStubsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator) Method

Performs object layer specific operations that are required to retrieve object data from a session, using specified query parameters.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public object[][] SelectData(
    XPDictionaryStub dictionary,
    ObjectStubsQuery query,
    CriteriaOperatorCollection properties,
    CriteriaOperatorCollection groupProperties,
    CriteriaOperator groupCriteria
)

Parameters

Name Type Description
dictionary XPDictionaryStub

An XPDictionaryStub object that is a metadata information provider.

query ObjectStubsQuery

An ObjectStubsQuery object specifying a query that is executed to retrieve persistent objects.

properties CriteriaOperatorCollection

A CriteriaOperatorCollection object which specifies object properties to be retrieved.

groupProperties CriteriaOperatorCollection

A CriteriaOperatorCollection object which specifies the grouping properties.

groupCriteria CriteriaOperator

A CriteriaOperator descendant which specifies the grouping criteria for the retrieved objects.

Returns

Type Description
Object[][]

A SerializableObjectLayerResult instance that exposes an array whose elements are property values corresponding to the properties of objects retrieved from the associated session.

See Also