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.
|
This method returns 0 if the specified collection is not of the EFCollection type.
See Also