|
@@ -19,14 +19,6 @@ namespace Jellyfin.Data.Entities
|
|
Init();
|
|
Init();
|
|
}
|
|
}
|
|
|
|
|
|
- /// <summary>
|
|
|
|
- /// Replaces default constructor, since it's protected. Caller assumes responsibility for setting all required values before saving.
|
|
|
|
- /// </summary>
|
|
|
|
- public static Series CreateSeriesUnsafe()
|
|
|
|
- {
|
|
|
|
- return new Series();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Public constructor with required data
|
|
/// Public constructor with required data
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -57,27 +49,27 @@ namespace Jellyfin.Data.Entities
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Backing field for AirsDayOfWeek
|
|
/// Backing field for AirsDayOfWeek
|
|
/// </summary>
|
|
/// </summary>
|
|
- protected Enums.Weekday? _AirsDayOfWeek;
|
|
|
|
|
|
+ protected DayOfWeek? _AirsDayOfWeek;
|
|
/// <summary>
|
|
/// <summary>
|
|
/// When provided in a partial class, allows value of AirsDayOfWeek to be changed before setting.
|
|
/// When provided in a partial class, allows value of AirsDayOfWeek to be changed before setting.
|
|
/// </summary>
|
|
/// </summary>
|
|
- partial void SetAirsDayOfWeek(Enums.Weekday? oldValue, ref Enums.Weekday? newValue);
|
|
|
|
|
|
+ partial void SetAirsDayOfWeek(DayOfWeek? oldValue, ref DayOfWeek? newValue);
|
|
/// <summary>
|
|
/// <summary>
|
|
/// When provided in a partial class, allows value of AirsDayOfWeek to be changed before returning.
|
|
/// When provided in a partial class, allows value of AirsDayOfWeek to be changed before returning.
|
|
/// </summary>
|
|
/// </summary>
|
|
- partial void GetAirsDayOfWeek(ref Enums.Weekday? result);
|
|
|
|
|
|
+ partial void GetAirsDayOfWeek(ref DayOfWeek? result);
|
|
|
|
|
|
- public Enums.Weekday? AirsDayOfWeek
|
|
|
|
|
|
+ public DayOfWeek? AirsDayOfWeek
|
|
{
|
|
{
|
|
get
|
|
get
|
|
{
|
|
{
|
|
- Enums.Weekday? value = _AirsDayOfWeek;
|
|
|
|
|
|
+ DayOfWeek? value = _AirsDayOfWeek;
|
|
GetAirsDayOfWeek(ref value);
|
|
GetAirsDayOfWeek(ref value);
|
|
return (_AirsDayOfWeek = value);
|
|
return (_AirsDayOfWeek = value);
|
|
}
|
|
}
|
|
set
|
|
set
|
|
{
|
|
{
|
|
- Enums.Weekday? oldValue = _AirsDayOfWeek;
|
|
|
|
|
|
+ DayOfWeek? oldValue = _AirsDayOfWeek;
|
|
SetAirsDayOfWeek(oldValue, ref value);
|
|
SetAirsDayOfWeek(oldValue, ref value);
|
|
if (oldValue != value)
|
|
if (oldValue != value)
|
|
{
|
|
{
|