EntityConnection.Dispose Method
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
[SuppressMessageAttribute("Microsoft.Usage", "CA2213:DisposableFieldsShouldBeDisposed", MessageId = "_currentTransaction")] protected override void Dispose( bool disposing )
Parameters
- disposing
-
Type:
System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources