The requested page is not available for the requested platform. You are viewing the content for Default platform.

EFObjectSpace.IsCollectionLoaded(Object) Method

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

Namespace: DevExpress.ExpressApp.EF

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

Declaration

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

Parameters

Name Type Description
collection Object

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