summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.cs
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/Model.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.cs b/projecttemplates/RelyingPartyLogic/Model.cs
index 10c1518..ca87c90 100644
--- a/projecttemplates/RelyingPartyLogic/Model.cs
+++ b/projecttemplates/RelyingPartyLogic/Model.cs
@@ -18,15 +18,17 @@ namespace RelyingPartyLogic {
/// <summary>
/// Clears the expired nonces.
/// </summary>
- internal void ClearExpiredNonces() {
- this.ExecuteCommand("ClearExpiredNonces");
+ /// <param name="transaction">The transaction to use, if any.</param>
+ internal void ClearExpiredNonces(EntityTransaction transaction) {
+ this.ExecuteCommand(transaction, "DatabaseEntities.ClearExpiredNonces");
}
/// <summary>
/// Clears the expired associations.
/// </summary>
- internal void ClearExpiredAssociations() {
- this.ExecuteCommand("ClearExpiredAssociations");
+ /// <param name="transaction">The transaction to use, if any.</param>
+ internal void ClearExpiredAssociations(EntityTransaction transaction) {
+ this.ExecuteCommand(transaction, "DatabaseEntities.ClearExpiredAssociations");
}
}
}