mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
19 lines
485 B
C#
19 lines
485 B
C#
|
namespace Jellyfin.Data.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();
|
||
|
}
|
||
|
}
|