summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-05-09 07:43:15 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-05-09 07:43:15 -0700
commit092a3b1a9058626ec61e3355b2f79572c6013482 (patch)
treefb8c7eae173276fef97da6d21148780e62a79317 /projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
parent43332e0dc92f9ad81fa0a25bac977760d70c3d2c (diff)
downloadDotNetOpenAuth-092a3b1a9058626ec61e3355b2f79572c6013482.zip
DotNetOpenAuth-092a3b1a9058626ec61e3355b2f79572c6013482.tar.gz
DotNetOpenAuth-092a3b1a9058626ec61e3355b2f79572c6013482.tar.bz2
Brought custom association store sample for Providers up to date.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs b/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
index e13633a..852cb39 100644
--- a/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
+++ b/projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs
@@ -23,7 +23,7 @@ namespace RelyingPartyLogic {
public RelyingPartyApplicationDbStore() {
}
- #region IAssociationStore<Uri> Members
+ #region IRelyingPartyApplicationStore Members
/// <summary>
/// Saves an <see cref="Association"/> for later recall.
@@ -123,6 +123,8 @@ namespace RelyingPartyLogic {
}
}
+ #endregion
+
/// <summary>
/// Clears all expired associations from the store.
/// </summary>
@@ -132,14 +134,12 @@ namespace RelyingPartyLogic {
/// This should be done frequently enough to avoid a memory leak, but sparingly enough
/// to not be a performance drain.
/// </remarks>
- public void ClearExpiredAssociations() {
+ internal void ClearExpiredAssociations() {
using (var dataContext = new TransactedDatabaseEntities(IsolationLevel.ReadCommitted)) {
dataContext.ClearExpiredAssociations(dataContext.Transaction);
}
}
- #endregion
-
/// <summary>
/// Deserializes an association from the database.
/// </summary>