aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/Release.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Data/Entities/Release.cs')
-rw-r--r--Jellyfin.Data/Entities/Release.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/Jellyfin.Data/Entities/Release.cs b/Jellyfin.Data/Entities/Release.cs
index d1928fcf7..098a78ca0 100644
--- a/Jellyfin.Data/Entities/Release.cs
+++ b/Jellyfin.Data/Entities/Release.cs
@@ -29,7 +29,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Public constructor with required data
+ /// Public constructor with required data.
/// </summary>
/// <param name="name"></param>
/// <param name="_movie0"></param>
@@ -87,7 +87,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
- /// Backing field for Id
+ /// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@@ -100,7 +100,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
- /// Identity, Indexed, Required
+ /// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@@ -113,6 +113,7 @@ namespace Jellyfin.Data.Entities
GetId(ref value);
return (_Id = value);
}
+
protected set
{
int oldValue = _Id;
@@ -125,7 +126,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for Name
+ /// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@@ -151,6 +152,7 @@ namespace Jellyfin.Data.Entities
GetName(ref value);
return (_Name = value);
}
+
set
{
string oldValue = _Name;
@@ -163,7 +165,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Required, ConcurrenyToken
+ /// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@@ -182,7 +184,6 @@ namespace Jellyfin.Data.Entities
[ForeignKey("Chapter_Chapters_Id")]
public virtual ICollection<Chapter> Chapters { get; protected set; }
-
}
}