| 
														
															@@ -1,4 +1,4 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-#pragma warning disable CS1591 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+#pragma warning disable CA2227 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 using System; 
														 | 
														
														 | 
														
															 using System; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 using System.Collections.Generic; 
														 | 
														
														 | 
														
															 using System.Collections.Generic; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -15,7 +15,7 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /// <summary> 
														 | 
														
														 | 
														
															     /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /// An entity representing a user. 
														 | 
														
														 | 
														
															     /// An entity representing a user. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /// </summary> 
														 | 
														
														 | 
														
															     /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public partial class User : IHasPermissions, IHasConcurrencyToken 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public class User : IHasPermissions, IHasConcurrencyToken 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { 
														 | 
														
														 | 
														
															     { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// The values being delimited here are Guids, so commas work as they do not appear in Guids. 
														 | 
														
														 | 
														
															         /// The values being delimited here are Guids, so commas work as they do not appear in Guids. 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -75,7 +75,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															             AddDefaultPermissions(); 
														 | 
														
														 | 
														
															             AddDefaultPermissions(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             AddDefaultPreferences(); 
														 | 
														
														 | 
														
															             AddDefaultPreferences(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            Init(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -84,21 +83,14 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         protected User() 
														 | 
														
														 | 
														
															         protected User() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         { 
														 | 
														
														 | 
														
															         { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            Init(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /************************************************************************* 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         * Properties 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         *************************************************************************/ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Gets or sets the Id of the user. 
														 | 
														
														 | 
														
															         /// Gets or sets the Id of the user. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Identity, Indexed, Required. 
														 | 
														
														 | 
														
															         /// Identity, Indexed, Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Key] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [JsonIgnore] 
														 | 
														
														 | 
														
															         [JsonIgnore] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public Guid Id { get; set; } 
														 | 
														
														 | 
														
															         public Guid Id { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -139,7 +131,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool MustUpdatePassword { get; set; } 
														 | 
														
														 | 
														
															         public bool MustUpdatePassword { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -180,7 +171,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public int InvalidLoginAttemptCount { get; set; } 
														 | 
														
														 | 
														
															         public int InvalidLoginAttemptCount { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -204,7 +194,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public SubtitlePlaybackMode SubtitleMode { get; set; } 
														 | 
														
														 | 
														
															         public SubtitlePlaybackMode SubtitleMode { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -213,7 +202,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool PlayDefaultAudioTrack { get; set; } 
														 | 
														
														 | 
														
															         public bool PlayDefaultAudioTrack { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -232,7 +220,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool DisplayMissingEpisodes { get; set; } 
														 | 
														
														 | 
														
															         public bool DisplayMissingEpisodes { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -241,7 +228,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool DisplayCollectionsView { get; set; } 
														 | 
														
														 | 
														
															         public bool DisplayCollectionsView { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -250,7 +236,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool EnableLocalPassword { get; set; } 
														 | 
														
														 | 
														
															         public bool EnableLocalPassword { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -259,7 +244,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool HidePlayedInLatest { get; set; } 
														 | 
														
														 | 
														
															         public bool HidePlayedInLatest { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -268,7 +252,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool RememberAudioSelections { get; set; } 
														 | 
														
														 | 
														
															         public bool RememberAudioSelections { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -277,7 +260,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool RememberSubtitleSelections { get; set; } 
														 | 
														
														 | 
														
															         public bool RememberSubtitleSelections { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -286,7 +268,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool EnableNextEpisodeAutoPlay { get; set; } 
														 | 
														
														 | 
														
															         public bool EnableNextEpisodeAutoPlay { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -295,7 +276,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool EnableAutoLogin { get; set; } 
														 | 
														
														 | 
														
															         public bool EnableAutoLogin { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -304,7 +284,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <remarks> 
														 | 
														
														 | 
														
															         /// <remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required. 
														 | 
														
														 | 
														
															         /// Required. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public bool EnableUserPreferenceAccess { get; set; } 
														 | 
														
														 | 
														
															         public bool EnableUserPreferenceAccess { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -322,7 +301,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// This is a temporary stopgap for until the library db is migrated. 
														 | 
														
														 | 
														
															         /// This is a temporary stopgap for until the library db is migrated. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// This corresponds to the value of the index of this user in the library db. 
														 | 
														
														 | 
														
															         /// This corresponds to the value of the index of this user in the library db. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public long InternalId { get; set; } 
														 | 
														
														 | 
														
															         public long InternalId { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -340,7 +318,9 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [Required] 
														 | 
														
														 | 
														
															         [Required] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public virtual DisplayPreferences DisplayPreferences { get; set; } 
														 | 
														
														 | 
														
															         public virtual DisplayPreferences DisplayPreferences { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// Gets or sets the level of sync play permissions this user has. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public SyncPlayAccess SyncPlayAccess { get; set; } 
														 | 
														
														 | 
														
															         public SyncPlayAccess SyncPlayAccess { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -350,13 +330,8 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Required, Concurrency Token. 
														 | 
														
														 | 
														
															         /// Required, Concurrency Token. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </remarks> 
														 | 
														
														 | 
														
															         /// </remarks> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ConcurrencyCheck] 
														 | 
														
														 | 
														
															         [ConcurrencyCheck] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        [Required] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public uint RowVersion { get; set; } 
														 | 
														
														 | 
														
															         public uint RowVersion { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /************************************************************************* 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         * Navigation properties 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         *************************************************************************/ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Gets or sets the list of access schedules this user has. 
														 | 
														
														 | 
														
															         /// Gets or sets the list of access schedules this user has. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -395,18 +370,6 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ForeignKey("Preference_Preferences_Guid")] 
														 | 
														
														 | 
														
															         [ForeignKey("Preference_Preferences_Guid")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public virtual ICollection<Preference> Preferences { get; protected set; } 
														 | 
														
														 | 
														
															         public virtual ICollection<Preference> Preferences { get; protected set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// <summary> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// Static create function (for use in LINQ queries, etc.) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// </summary> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// <param name="username">The username for the created user.</param> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// <param name="authenticationProviderId">The Id of the user's authentication provider.</param> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// <param name="passwordResetProviderId">The Id of the user's password reset provider.</param> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        /// <returns>The created instance.</returns> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        public static User Create(string username, string authenticationProviderId, string passwordResetProviderId) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            return new User(username, authenticationProviderId, passwordResetProviderId); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <inheritdoc/> 
														 | 
														
														 | 
														
															         /// <inheritdoc/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public void OnSavingChanges() 
														 | 
														
														 | 
														
															         public void OnSavingChanges() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         { 
														 | 
														
														 | 
														
															         { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -519,7 +482,5 @@ namespace Jellyfin.Data.Entities 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 Preferences.Add(new Preference(val, string.Empty)); 
														 | 
														
														 | 
														
															                 Preferences.Add(new Preference(val, string.Empty)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        partial void Init(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |