diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-01 19:04:55 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-01 19:04:55 -0800 |
commit | 6805d02a0e5d480b8546698e01feaadef3a936c5 (patch) | |
tree | bc08848a0df8a51872136d287c982bbf5159dbf6 /projecttemplates/RelyingPartyLogic/Model.cs | |
parent | 70446775807fde815cc1885f6f0fa75a79b861ac (diff) | |
download | DotNetOpenAuth-6805d02a0e5d480b8546698e01feaadef3a936c5.zip DotNetOpenAuth-6805d02a0e5d480b8546698e01feaadef3a936c5.tar.gz DotNetOpenAuth-6805d02a0e5d480b8546698e01feaadef3a936c5.tar.bz2 |
Fixed intermittent error while executing SQL stored procedures.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/Model.cs | 10 |
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"); } } } |