.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.IsCollectionLoaded(Object) Method

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

Namespace: DevExpress.ExpressApp.EF

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

Declaration

public override bool IsCollectionLoaded(
    object collection
)
Public Overrides Function IsCollectionLoaded(
    collection As Object
) As Boolean
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.

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.

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