BaseObjectSpace.Dispose() Method
Releases all resources used by an BaseObjectSpace object.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v21.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Remarks
The Dispose method releases all resources allocated by the current BaseObjectSpace, and speeds up system performance. Usually, you do not need to use this method, because Object Spaces are disposed of together with disposing of the container Views. Use Dispose only if you manually create an Object Space via the XafApplication.CreateObjectSpace method and do not assign it to any View.
Override this method in the BaseObjectSpace class’ descendants to dispose their allocated resources.
See Also