Information
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)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Cleans up this connection object(Overrides Component::Dispose(Boolean).)

Return to top

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

Return to top
Show: