ObjectContext.Dispose Method
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.
[SuppressMessageAttribute("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly")] public void Dispose()