The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
All docs
V19.2
19.2
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+

Session.SelectDataInTransaction(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection) Method

Retrieves objects from a session using the specified query parameters, including all in-memory changes into query results.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public List<object[]> SelectDataInTransaction(
    XPClassInfo classInfo,
    CriteriaOperatorCollection properties,
    CriteriaOperator criteria,
    CriteriaOperatorCollection groupProperties,
    CriteriaOperator groupCriteria,
    bool selectDeleted,
    int skipSelectedRecords,
    int topSelectedRecords,
    SortingCollection sorting
)
Public Function SelectDataInTransaction(
    classInfo As XPClassInfo,
    properties As CriteriaOperatorCollection,
    criteria As CriteriaOperator,
    groupProperties As CriteriaOperatorCollection,
    groupCriteria As CriteriaOperator,
    selectDeleted As Boolean,
    skipSelectedRecords As Integer,
    topSelectedRecords As Integer,
    sorting As SortingCollection
) As List(Of Object())
public List<object[]> SelectDataInTransaction(
    XPClassInfo classInfo,
    CriteriaOperatorCollection properties,
    CriteriaOperator criteria,
    CriteriaOperatorCollection groupProperties,
    CriteriaOperator groupCriteria,
    bool selectDeleted,
    int skipSelectedRecords,
    int topSelectedRecords,
    SortingCollection sorting
)
Public Function SelectDataInTransaction(
    classInfo As XPClassInfo,
    properties As CriteriaOperatorCollection,
    criteria As CriteriaOperator,
    groupProperties As CriteriaOperatorCollection,
    groupCriteria As CriteriaOperator,
    selectDeleted As Boolean,
    skipSelectedRecords As Integer,
    topSelectedRecords As Integer,
    sorting As SortingCollection
) As List(Of Object())

Parameters

Name Type Description
classInfo XPClassInfo

An XPClassInfo object which provides the metadata information for the objects to be retrieved.

properties CriteriaOperatorCollection

A CriteriaOperatorCollection object which specifies object properties to be retrieved.

criteria CriteriaOperator

A CriteriaOperator descendant which specifies the objects 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.

selectDeleted Boolean

A Boolean value that specifies whether the objects marked as deleted must be retrieved.

skipSelectedRecords Int32

An integer value which specifies the number of objects to exclude when populating the list.

topSelectedRecords Int32

An integer value which specifies the maximum number of objects to be retrieved.

sorting SortingCollection

A SortingCollection object that specifies the sort order for the list of the retrieved objects.

Parameters

Name Type Description
classInfo XPClassInfo

An XPClassInfo object which provides the metadata information for the objects to be retrieved.

properties CriteriaOperatorCollection

A CriteriaOperatorCollection object which specifies object properties to be retrieved.

criteria CriteriaOperator

A CriteriaOperator descendant which specifies the objects 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.

selectDeleted Boolean

A Boolean value that specifies whether the objects marked as deleted must be retrieved.

skipSelectedRecords Int32

An integer value which specifies the number of objects to exclude when populating the list.

topSelectedRecords Int32

An integer value which specifies the maximum number of objects to be retrieved.

sorting SortingCollection

A SortingCollection object that specifies the sort order for the list of the retrieved objects.

Returns

Type Description
List<Object[]>

A list whose elements are property values that correspond to the properties of objects retrieved from the session.

Returns

Type Description
List<Object[]>

A list whose elements are property values that correspond to the properties of objects retrieved from the session.

Remarks

This method is intended for internal use. To include in-memory changes into query results, get objects from a session using the XPCollection and XPView components with the Session.InTransactionMode enabled.

See Also