diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-27 12:10:03 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-27 12:10:03 -0700 |
commit | 0ed1e01369d918ad828fa64728f89f9d2c675fdb (patch) | |
tree | 85ac9fb81153d6b8fb3774046f4fc28ab3f5df1f /projecttemplates/RelyingPartyLogic/Model.cs | |
parent | 1243c92a0172784f32938a2081f76463f90f102d (diff) | |
parent | 3d0b19ba07c1044b433d97e90ffe0489fee967dc (diff) | |
download | DotNetOpenAuth-0ed1e01369d918ad828fa64728f89f9d2c675fdb.zip DotNetOpenAuth-0ed1e01369d918ad828fa64728f89f9d2c675fdb.tar.gz DotNetOpenAuth-0ed1e01369d918ad828fa64728f89f9d2c675fdb.tar.bz2 |
Merge branch 'master' into extensibleDiscovery
Conflicts:
src/DotNetOpenAuth/OpenId/ProviderEndpointDescription.cs
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/Model.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.cs b/projecttemplates/RelyingPartyLogic/Model.cs new file mode 100644 index 0000000..10c1518 --- /dev/null +++ b/projecttemplates/RelyingPartyLogic/Model.cs @@ -0,0 +1,32 @@ +//----------------------------------------------------------------------- +// <copyright file="Model.cs" company="Andrew Arnott"> +// Copyright (c) Andrew Arnott. All rights reserved. +// </copyright> +//----------------------------------------------------------------------- + +namespace RelyingPartyLogic { + using System; + using System.Collections.Generic; + using System.Data; + using System.Data.Common; + using System.Data.EntityClient; + using System.Data.Objects; + using System.Linq; + using System.Text; + + public partial class DatabaseEntities { + /// <summary> + /// Clears the expired nonces. + /// </summary> + internal void ClearExpiredNonces() { + this.ExecuteCommand("ClearExpiredNonces"); + } + + /// <summary> + /// Clears the expired associations. + /// </summary> + internal void ClearExpiredAssociations() { + this.ExecuteCommand("ClearExpiredAssociations"); + } + } +} |