Remove constructor side effects and remove unneeded parameterless constructors

This commit is contained in:
Patrick Barron
2021-03-06 16:17:19 -05:00
parent b5e3c02865
commit 287dab4655
46 changed files with 46 additions and 627 deletions

View File

@@ -23,14 +23,6 @@ namespace Jellyfin.Data.Entities
Value = value ?? throw new ArgumentNullException(nameof(value));
}
/// <summary>
/// Initializes a new instance of the <see cref="Preference"/> class.
/// Default constructor. Protected due to required properties, but present because EF needs it.
/// </summary>
protected Preference()
{
}
/// <summary>
/// Gets or sets the id of this preference.
/// </summary>