CommitFailureHandler.PruneTransactionHistory Method
Removes the transactions marked for deletion.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | PruneTransactionHistory() | Removes the transactions marked for deletion. |
![]() | PruneTransactionHistory(Boolean, Boolean) | Removes the transactions marked for deletion if their number exceeds PruningLimit. |
CommitFailureHandler.PruneTransactionHistory Method ()
Removes the transactions marked for deletion.
CommitFailureHandler.PruneTransactionHistory Method (Boolean, Boolean)
Removes the transactions marked for deletion if their number exceeds PruningLimit.
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.