summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.cs
diff options
context:
space:
mode:
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");
+ }
+ }
+}