diff --git a/Jellyfin.Data/Entities/Preference.cs b/Jellyfin.Data/Entities/Preference.cs
index 1797f0a401..4efddf2a41 100644
--- a/Jellyfin.Data/Entities/Preference.cs
+++ b/Jellyfin.Data/Entities/Preference.cs
@@ -31,18 +31,12 @@ namespace Jellyfin.Data.Entities
{
}
- /*************************************************************************
- * Properties
- *************************************************************************/
-
///
/// Gets or sets the id of this preference.
///
///
/// Identity, Indexed, Required.
///
- [Key]
- [Required]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; protected set; }
@@ -52,7 +46,6 @@ namespace Jellyfin.Data.Entities
///
/// Required.
///
- [Required]
public PreferenceKind Kind { get; protected set; }
///
@@ -66,27 +59,10 @@ namespace Jellyfin.Data.Entities
[StringLength(65535)]
public string Value { get; set; }
- ///
- /// Gets or sets the row version.
- ///
- ///
- /// Required, ConcurrencyToken.
- ///
+ ///
[ConcurrencyCheck]
- [Required]
public uint RowVersion { get; set; }
- ///
- /// Static create function (for use in LINQ queries, etc.)
- ///
- /// The preference kind.
- /// The value.
- /// The new instance.
- public static Preference Create(PreferenceKind kind, string value)
- {
- return new Preference(kind, value);
- }
-
///
public void OnSavingChanges()
{