.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

EFObjectSpace.GetTopReturnedObjectsCount(Object) Method

Returns the maximum number of objects to be retrieved by the specified collection from a data store.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v19.2.dll

Declaration

public override int GetTopReturnedObjectsCount(
    object collection
)
Public Overrides Function GetTopReturnedObjectsCount(
    collection As Object
) As Integer
public override int GetTopReturnedObjectsCount(
    object collection
)
Public Overrides Function GetTopReturnedObjectsCount(
    collection As Object
) As Integer

Parameters

Name Type Description
collection Object

A collection that is the subject for determining the number of objects that can be retrieved by it.

Parameters

Name Type Description
collection Object

A collection that is the subject for determining the number of objects that can be retrieved by it.

Returns

Type Description
Int32

An integer value specifying the maximum number of objects that can be retrieved by the specified collection from the database.

Returns

Type Description
Int32

An integer value specifying the maximum number of objects that can be retrieved by the specified collection from the database.

Remarks

This method returns 0 if the specified collection is not of the EFCollection type.

See Also