.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

NonPersistentObjectSpace.Dispose() Method

Releases all resources used by an NonPersistentObjectSpace object.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll


public override void Dispose()
Public Overrides Sub Dispose


The Dispose method releases all resources allocated by the current NonPersistentObjectSpace, and speeds up system performance. For instance, it disposes the current Object Space's Object Context. Usually, you do not need to use this method, because ObjectSpace objects are disposed of together with disposing container Views.

See Also