diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-05-09 07:43:15 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-05-09 07:43:15 -0700 |
commit | 092a3b1a9058626ec61e3355b2f79572c6013482 (patch) | |
tree | fb8c7eae173276fef97da6d21148780e62a79317 /projecttemplates/RelyingPartyLogic/RelyingPartyApplicationDbStore.cs | |
parent | 43332e0dc92f9ad81fa0a25bac977760d70c3d2c (diff) | |
download | DotNetOpenAuth-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.cs | 8 |
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> |