You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
485 B
19 lines
485 B
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();
|
|
}
|
|
}
|