summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-01-01 19:04:55 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-01-01 19:19:50 -0800
commitedaea39fc722fea78c115e05726ad6e0447ae89b (patch)
treed0e2597085c00d7047bb1bdd9eeb554e98252bb5 /projecttemplates/RelyingPartyLogic/Model.cs
parenta72bcc6f5bfc036e294530cf3067667a3a6c6efd (diff)
downloadDotNetOpenAuth-edaea39fc722fea78c115e05726ad6e0447ae89b.zip
DotNetOpenAuth-edaea39fc722fea78c115e05726ad6e0447ae89b.tar.gz
DotNetOpenAuth-edaea39fc722fea78c115e05726ad6e0447ae89b.tar.bz2
Fixed intermittent error while executing SQL stored procedures.
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");
}
}
}