Skip to main content
.NET Framework 4.5.2+
  • 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.

EFObjectSpace.ReloadObject(Object) Method

Updates the specified object in the current Object Space’s EFObjectSpace.ObjectContext with data from the data source.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF6.v21.2.dll


public override object ReloadObject(
    object obj


Name Type Description
obj Object

An object which represents the persistent object whose state needs to be reloaded.


Type Description

The object specified by the obj parameter after it has been reloaded.


If the specified persistent object is a new object, the ReloadObject method does nothing. To ensure that the persistent object is not a new object, use the EFObjectSpace.IsNewObject method.

It is required that the specified object belong to the current Object Space. If it does not belong, this method returns the object as is.

See Also