The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ObjectContext::Dispose Method
Entity Framework 6.0
Releases the resources used by the object context.
Assembly: EntityFramework (in EntityFramework.dll)
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases the resources used by the object context. |
![]() | Dispose(Boolean) | Releases the resources used by the object context. |
ObjectContext::Dispose Method ()
Releases the resources used by the object context.
public: [SuppressMessageAttribute("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly")] virtual void Dispose() sealed
Implements
IDisposable::Dispose()ObjectContext::Dispose Method (Boolean)
Releases the resources used by the object context.
Parameters
- disposing
-
Type:
System::Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Show:

