Back to Devexpress

Session.ObjectsLoaded Event

xpo-devexpress-dot-xpo-dot-session-c7c7b66e.md

latest1.9 KB
Original Source

Session.ObjectsLoaded Event

Occurs after persistent objects have been initialized with values from a data store.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event ObjectsManipulationEventHandler ObjectsLoaded
vb
Public Event ObjectsLoaded As ObjectsManipulationEventHandler

Event Data

The ObjectsLoaded event's data class is ObjectsManipulationEventArgs. The following properties provide information specific to this event:

PropertyDescription
ObjectsGets the collection of persistent objects that are currently being processed.
SessionGets the session whose persistent objects are currently being processed.

Remarks

After the ObjectsLoaded event has been raised, the Session.ObjectLoaded event is raised for each persistent object in the ObjectsManipulationEventArgs.Objects collection.

Use the Session.IsObjectsLoading property to identify whether persistent objects are currently being loaded from a data store.

See Also

ObjectLoaded

Session Class

Session Members

DevExpress.Xpo Namespace