aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/Person.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Data/Entities/Person.cs')
-rw-r--r--Jellyfin.Data/Entities/Person.cs31
1 files changed, 18 insertions, 13 deletions
diff --git a/Jellyfin.Data/Entities/Person.cs b/Jellyfin.Data/Entities/Person.cs
index d893b7e394..e9b91a19e8 100644
--- a/Jellyfin.Data/Entities/Person.cs
+++ b/Jellyfin.Data/Entities/Person.cs
@@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Public constructor with required data
+ /// Public constructor with required data.
/// </summary>
/// <param name="urlid"></param>
/// <param name="name"></param>
@@ -59,7 +59,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
- /// Backing field for Id
+ /// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@@ -72,7 +72,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
- /// Identity, Indexed, Required
+ /// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@@ -85,6 +85,7 @@ namespace Jellyfin.Data.Entities
GetId(ref value);
return (_Id = value);
}
+
protected set
{
int oldValue = _Id;
@@ -97,7 +98,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for UrlId
+ /// Backing field for UrlId.
/// </summary>
protected Guid _UrlId;
/// <summary>
@@ -110,7 +111,7 @@ namespace Jellyfin.Data.Entities
partial void GetUrlId(ref Guid result);
/// <summary>
- /// Required
+ /// Required.
/// </summary>
[Required]
public Guid UrlId
@@ -121,6 +122,7 @@ namespace Jellyfin.Data.Entities
GetUrlId(ref value);
return (_UrlId = value);
}
+
set
{
Guid oldValue = _UrlId;
@@ -133,7 +135,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for Name
+ /// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@@ -159,6 +161,7 @@ namespace Jellyfin.Data.Entities
GetName(ref value);
return (_Name = value);
}
+
set
{
string oldValue = _Name;
@@ -171,7 +174,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for SourceId
+ /// Backing field for SourceId.
/// </summary>
protected string _SourceId;
/// <summary>
@@ -196,6 +199,7 @@ namespace Jellyfin.Data.Entities
GetSourceId(ref value);
return (_SourceId = value);
}
+
set
{
string oldValue = _SourceId;
@@ -208,7 +212,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for DateAdded
+ /// Backing field for DateAdded.
/// </summary>
protected DateTime _DateAdded;
/// <summary>
@@ -221,7 +225,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateAdded(ref DateTime result);
/// <summary>
- /// Required
+ /// Required.
/// </summary>
[Required]
public DateTime DateAdded
@@ -232,6 +236,7 @@ namespace Jellyfin.Data.Entities
GetDateAdded(ref value);
return (_DateAdded = value);
}
+
internal set
{
DateTime oldValue = _DateAdded;
@@ -244,7 +249,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for DateModified
+ /// Backing field for DateModified.
/// </summary>
protected DateTime _DateModified;
/// <summary>
@@ -257,7 +262,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateModified(ref DateTime result);
/// <summary>
- /// Required
+ /// Required.
/// </summary>
[Required]
public DateTime DateModified
@@ -268,6 +273,7 @@ namespace Jellyfin.Data.Entities
GetDateModified(ref value);
return (_DateModified = value);
}
+
internal set
{
DateTime oldValue = _DateModified;
@@ -280,7 +286,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Required, ConcurrenyToken
+ /// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@@ -296,7 +302,6 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
[ForeignKey("MetadataProviderId_Sources_Id")]
public virtual ICollection<MetadataProviderId> Sources { get; protected set; }
-
}
}