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:19:50 -0800
commitedaea39fc722fea78c115e05726ad6e0447ae89b (patch)
treed0e2597085c00d7047bb1bdd9eeb554e98252bb5 /projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.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/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);
}
}