summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.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:04:55 -0800
commit6805d02a0e5d480b8546698e01feaadef3a936c5 (patch)
treebc08848a0df8a51872136d287c982bbf5159dbf6 /projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
parent70446775807fde815cc1885f6f0fa75a79b861ac (diff)
downloadDotNetOpenAuth-6805d02a0e5d480b8546698e01feaadef3a936c5.zip
DotNetOpenAuth-6805d02a0e5d480b8546698e01feaadef3a936c5.tar.gz
DotNetOpenAuth-6805d02a0e5d480b8546698e01feaadef3a936c5.tar.bz2
Fixed intermittent error while executing SQL stored procedures.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs b/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
index 9a2f8bb..e13633a 100644
--- a/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
+++ b/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
@@ -134,7 +134,7 @@ namespace RelyingPartyLogic {
/// </remarks>
public void ClearExpiredAssociations() {
using (var dataContext = new TransactedDatabaseEntities(IsolationLevel.ReadCommitted)) {
- dataContext.ClearExpiredAssociations();
+ dataContext.ClearExpiredAssociations(dataContext.Transaction);
}
}