EntityConnection.Dispose Method

 

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(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