EFObjectSpace.IsCollectionLoaded(Object) Method

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

Namespace: DevExpress.ExpressApp.EF

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

Declaration

public override bool IsCollectionLoaded(
    object collection
)
Public Overrides Function IsCollectionLoaded(
    collection As Object
) As Boolean

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.

Remarks

If the collection passed as the collection parameter is of the EFCollection type, this method requests this collection whether it has objects loaded. If the collection is of the EFServerCollection type, this method always returns true. For collections of other types, this method returns false.

See Also