summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-19 22:28:08 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-19 22:28:08 -0800
commitbf833ec35eef4a3514cc8426c36139bc8cca68bc (patch)
tree8be76aad52f81a154cec08299a0a796c31f21e29 /projecttemplates/RelyingPartyLogic/Model.cs
parent2d1eedc3bdf0f58dff78aedc7fc41459ba7af944 (diff)
parent71ba020b6cdec56990363e4808453da2e80d0e7f (diff)
downloadDotNetOpenAuth-bf833ec35eef4a3514cc8426c36139bc8cca68bc.zip
DotNetOpenAuth-bf833ec35eef4a3514cc8426c36139bc8cca68bc.tar.gz
DotNetOpenAuth-bf833ec35eef4a3514cc8426c36139bc8cca68bc.tar.bz2
Merge branch 'v3.3'
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/Model.cs32
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");
+ }
+ }
+}