Setup basic code for login.

This commit is contained in:
Joseph Milazzo 2020-12-12 20:14:56 -06:00
parent a2e6d03d5b
commit 2b521924d0
15 changed files with 381 additions and 6 deletions

View file

@ -0,0 +1,19 @@
namespace API.Entities.Interfaces
{
/// <summary>
/// An interface abstracting an entity that has a concurrency token.
/// </summary>
public interface IHasConcurrencyToken
{
/// <summary>
/// Gets the version of this row. Acts as a concurrency token.
/// </summary>
uint RowVersion { get; }
/// <summary>
/// Called when saving changes to this entity.
/// </summary>
void OnSavingChanges();
}
}