LinqDataSource.ContextDisposing Event
.NET Framework (current version)
Occurs before disposing the context type object.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
You handle the ContextDisposing event to dispose the object manually, or to perform clean-up that is specific to the object before the object is destroyed.
.NET Framework
Available since 3.5
Available since 3.5
Show: