EFObjectSpace.IsCollectionLoaded(Object) Method
Indicates whether a particular collection is loaded with objects from the database.
Namespace: DevExpress.ExpressApp.EF
Assembly: DevExpress.ExpressApp.EF.v21.1.dll
NuGet Package: DevExpress.ExpressApp.EF
Declaration
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.