NonPersistentObjectSpace.IsCollectionLoaded(Object) Method

Indicates whether a particular collection is loaded with objects from the database.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public override bool IsCollectionLoaded(
    object collection
)

Parameters

Type Name Description
Object collection

An object representing the collection for which it must be determined whether it is loaded with objects from the database.

Returns

Type Description
Boolean

true, if the specified collection is loaded with objects from the database; otherwise, false.

As a rule, an Object Space works with particular types of collections. These collection types are the ones that are used for Client and Server modes. This method is intended to request whether the passed collection has objects loaded.