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.

ObjectContext::Dispose Method

Entity Framework 6.0
 

Releases the resources used by the object context.

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

NameDescription
System_CAPS_pubmethodDispose()

Releases the resources used by the object context.

System_CAPS_protmethodDispose(Boolean)

Releases the resources used by the object context.

Return to top

ObjectContext::Dispose Method ()

Releases the resources used by the object context.

public:
[SuppressMessageAttribute("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly")]
virtual void Dispose() sealed
Return to top

ObjectContext::Dispose Method (Boolean)

Releases the resources used by the object context.

protected:
virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System::Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Return to top
Show: