Skip to main content
A newer version of this page is available.
.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.Dispose() Method

Releases all resources used by an EFObjectSpace object.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v19.2.dll

Declaration

public override void Dispose()

Remarks

The Dispose method releases all resources allocated by the current EFObjectSpace, 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