CommitFailureHandler.PruneTransactionHistory Method

 

Removes the transactions marked for deletion.

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

NameDescription
System_CAPS_pubmethodPruneTransactionHistory()

Removes the transactions marked for deletion.

System_CAPS_protmethodPruneTransactionHistory(Boolean, Boolean)

Removes the transactions marked for deletion if their number exceeds PruningLimit.


CommitFailureHandler.PruneTransactionHistory Method ()

Removes the transactions marked for deletion.

public void PruneTransactionHistory()

CommitFailureHandler.PruneTransactionHistory Method (Boolean, Boolean)

Removes the transactions marked for deletion if their number exceeds PruningLimit.

protected virtual void PruneTransactionHistory(
	bool force,
	bool useExecutionStrategy
)

Parameters

force
Type: System.Boolean

true to remove all the old transactions even if their number does not exceed PruningLimit; otherwise, false.

useExecutionStrategy
Type: System.Boolean

true to execute the operation using the associated execution strategy; otherwise, false.