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.
EntityConnection::Dispose Method
Entity Framework 6.0
Namespace:
System.Data.Entity.Core.EntityClient
Assembly: EntityFramework (in EntityFramework.dll)
| Name | Description | |
|---|---|---|
![]() | Dispose() | (Inherited from Component.) |
![]() | Dispose(Boolean) | Cleans up this connection object(Overrides Component::Dispose(Boolean).) |
EntityConnection::Dispose Method (Boolean)
Cleans up this connection object
protected: [SuppressMessageAttribute("Microsoft.Usage", "CA2213:DisposableFieldsShouldBeDisposed", MessageId = "_currentTransaction")] virtual void Dispose( bool disposing ) override
Parameters
- disposing
-
Type:
System::Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources
Show:

