DbContextTransaction.Dispose Method

 

Releases the resources used by the instance of this class.

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

NameDescription
System_CAPS_pubmethodDispose()

Cleans up this transaction object and ensures the Entity Framework is no longer using that transaction.

System_CAPS_protmethodDispose(Boolean)

Releases the resources used by this transaction object.


DbContextTransaction.Dispose Method ()

Cleans up this transaction object and ensures the Entity Framework is no longer using that transaction.

public void Dispose()

DbContextTransaction.Dispose Method (Boolean)

Releases the resources used by this transaction object.

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.