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