summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.cs
blob: c3b297d1f30cdc207e663839a023dce35962f0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//-----------------------------------------------------------------------
// <copyright file="Model.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. 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>
		/// <param name="transaction">The transaction to use, if any.</param>
		internal void ClearExpiredNonces(EntityTransaction transaction) {
			this.ExecuteCommand(transaction, "DatabaseEntities.ClearExpiredNonces");
		}

		/// <summary>
		/// Clears the expired associations.
		/// </summary>
		/// <param name="transaction">The transaction to use, if any.</param>
		internal void ClearExpiredCryptoKeys(EntityTransaction transaction) {
			this.ExecuteCommand(transaction, "DatabaseEntities.ClearExpiredCryptoKeys");
		}
	}
}