Use correct setter access modifiers
This commit is contained in:
parent
6946e58ca4
commit
36669ff451
|
@ -26,20 +26,20 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id of this instance.
|
/// Gets the id of this instance.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[XmlIgnore]
|
[XmlIgnore]
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id of the associated user.
|
/// Gets the id of the associated user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[XmlIgnore]
|
[XmlIgnore]
|
||||||
public Guid UserId { get; protected set; }
|
public Guid UserId { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the day of week.
|
/// Gets or sets the day of week.
|
||||||
|
|
|
@ -38,11 +38,10 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the identity of this instance.
|
/// Gets the identity of this instance.
|
||||||
/// This is the key in the backing database.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -120,7 +119,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -27,13 +27,13 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Id.
|
/// Gets the Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the user Id.
|
/// Gets or sets the user Id.
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#pragma warning disable CA2227
|
using System;
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -35,13 +33,13 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Id.
|
/// Gets the Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the user Id.
|
/// Gets or sets the user Id.
|
||||||
|
@ -145,8 +143,8 @@ namespace Jellyfin.Data.Entities
|
||||||
public string? TvHome { get; set; }
|
public string? TvHome { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the home sections.
|
/// Gets the home sections.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<HomeSection> HomeSections { get; protected set; }
|
public virtual ICollection<HomeSection> HomeSections { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -33,12 +31,12 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id of this group.
|
/// Gets the id of this group.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public Guid Id { get; protected set; }
|
public Guid Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the group's name.
|
/// Gets or sets the group's name.
|
||||||
|
@ -52,17 +50,17 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the group's permissions.
|
/// Gets a collection containing the group's permissions.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Permission> Permissions { get; protected set; }
|
public virtual ICollection<Permission> Permissions { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the group's preferences.
|
/// Gets a collection containing the group's preferences.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Preference> Preferences { get; protected set; }
|
public virtual ICollection<Preference> Preferences { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public bool HasPermission(PermissionKind kind)
|
public bool HasPermission(PermissionKind kind)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
|
|
||||||
namespace Jellyfin.Data.Entities
|
namespace Jellyfin.Data.Entities
|
||||||
|
@ -10,13 +9,13 @@ namespace Jellyfin.Data.Entities
|
||||||
public class HomeSection
|
public class HomeSection
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity. Required.
|
/// Identity. Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Id of the associated display preferences.
|
/// Gets or sets the Id of the associated display preferences.
|
||||||
|
|
|
@ -20,18 +20,18 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the user id.
|
/// Gets the user id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid? UserId { get; protected set; }
|
public Guid? UserId { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the path of the image.
|
/// Gets or sets the path of the image.
|
||||||
|
|
|
@ -29,13 +29,13 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the user Id.
|
/// Gets or sets the user Id.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -30,13 +28,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the path.
|
/// Gets or sets the path.
|
||||||
|
@ -58,7 +56,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -21,11 +19,11 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata for this book.
|
/// Gets a collection containing the metadata for this book.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<BookMetadata> BookMetadata { get; protected set; }
|
public virtual ICollection<BookMetadata> BookMetadata { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Release> Releases { get; protected set; }
|
public virtual ICollection<Release> Releases { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -26,9 +24,9 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public long? Isbn { get; set; }
|
public long? Isbn { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection of the publishers for this book.
|
/// Gets a collection of the publishers for this book.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Company> Publishers { get; protected set; }
|
public virtual ICollection<Company> Publishers { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ICollection<Company> Companies => Publishers;
|
public ICollection<Company> Companies => Publishers;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -29,13 +27,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -74,7 +72,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; protected set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
|
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -22,13 +21,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -42,12 +41,12 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing this collection's items.
|
/// Gets a collection containing this collection's items.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<CollectionItem> Items { get; protected set; }
|
public virtual ICollection<CollectionItem> Items { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the library item.
|
/// Gets or sets the library item.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -22,27 +20,27 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata.
|
/// Gets a collection containing the metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<CompanyMetadata> CompanyMetadata { get; protected set; }
|
public virtual ICollection<CompanyMetadata> CompanyMetadata { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing this company's child companies.
|
/// Gets a collection containing this company's child companies.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Company> ChildCompanies { get; protected set; }
|
public virtual ICollection<Company> ChildCompanies { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ICollection<Company> Companies => ChildCompanies;
|
public ICollection<Company> Companies => ChildCompanies;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -21,11 +19,11 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata for this item.
|
/// Gets a collection containing the metadata for this item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<CustomItemMetadata> CustomItemMetadata { get; protected set; }
|
public virtual ICollection<CustomItemMetadata> CustomItemMetadata { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Release> Releases { get; protected set; }
|
public virtual ICollection<Release> Releases { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -26,11 +24,11 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public int? EpisodeNumber { get; set; }
|
public int? EpisodeNumber { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Release> Releases { get; protected set; }
|
public virtual ICollection<Release> Releases { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata for this episode.
|
/// Gets a collection containing the metadata for this episode.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<EpisodeMetadata> EpisodeMetadata { get; protected set; }
|
public virtual ICollection<EpisodeMetadata> EpisodeMetadata { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,13 +19,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -39,7 +39,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; protected set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -43,13 +41,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the title.
|
/// Gets or sets the title.
|
||||||
|
@ -99,12 +97,12 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public DateTimeOffset? ReleaseDate { get; set; }
|
public DateTimeOffset? ReleaseDate { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the date added.
|
/// Gets the date added.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public DateTime DateAdded { get; protected set; }
|
public DateTime DateAdded { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the date modified.
|
/// Gets or sets the date modified.
|
||||||
|
@ -114,37 +112,32 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public DateTime DateModified { get; set; }
|
public DateTime DateModified { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <inheritdoc />
|
||||||
/// Gets or sets the row version.
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// Required, ConcurrencyToken.
|
|
||||||
/// </remarks>
|
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the person roles for this item.
|
/// Gets a collection containing the person roles for this item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<PersonRole> PersonRoles { get; protected set; }
|
public virtual ICollection<PersonRole> PersonRoles { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the genres for this item.
|
/// Gets a collection containing the genres for this item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Genre> Genres { get; protected set; }
|
public virtual ICollection<Genre> Genres { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Artwork> Artwork { get; protected set; }
|
public virtual ICollection<Artwork> Artwork { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the ratings for this item.
|
/// Gets a collection containing the ratings for this item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Rating> Ratings { get; protected set; }
|
public virtual ICollection<Rating> Ratings { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata sources for this item.
|
/// Gets a collection containing the metadata sources for this item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MetadataProviderId> Sources { get; protected set; }
|
public virtual ICollection<MetadataProviderId> Sources { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -21,13 +21,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -49,7 +49,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -21,22 +21,22 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the date this library item was added.
|
/// Gets the date this library item was added.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DateTime DateAdded { get; protected set; }
|
public DateTime DateAdded { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; protected set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the library of this item.
|
/// Gets or sets the library of this item.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -33,13 +31,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the path relative to the library root.
|
/// Gets or sets the path relative to the library root.
|
||||||
|
@ -61,12 +59,12 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the streams in this file.
|
/// Gets a collection containing the streams in this file.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MediaFileStream> MediaFileStreams { get; protected set; }
|
public virtual ICollection<MediaFileStream> MediaFileStreams { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -21,13 +21,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the stream number.
|
/// Gets or sets the stream number.
|
||||||
|
@ -39,7 +39,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -25,13 +25,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -45,7 +45,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -27,13 +27,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the provider id.
|
/// Gets or sets the provider id.
|
||||||
|
@ -47,7 +47,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the metadata provider.
|
/// Gets or sets the metadata provider.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -21,11 +19,11 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Release> Releases { get; protected set; }
|
public virtual ICollection<Release> Releases { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata for this movie.
|
/// Gets a collection containing the metadata for this movie.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MovieMetadata> MovieMetadata { get; protected set; }
|
public virtual ICollection<MovieMetadata> MovieMetadata { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
@ -62,9 +60,9 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public string? Country { get; set; }
|
public string? Country { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the studios that produced this movie.
|
/// Gets the studios that produced this movie.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Company> Studios { get; protected set; }
|
public virtual ICollection<Company> Studios { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ICollection<Company> Companies => Studios;
|
public ICollection<Company> Companies => Studios;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Jellyfin.Data.Entities.Libraries
|
namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
@ -20,13 +18,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the album metadata.
|
/// Gets a collection containing the album metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MusicAlbumMetadata> MusicAlbumMetadata { get; protected set; }
|
public virtual ICollection<MusicAlbumMetadata> MusicAlbumMetadata { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the tracks.
|
/// Gets a collection containing the tracks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Track> Tracks { get; protected set; }
|
public virtual ICollection<Track> Tracks { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
@ -51,8 +49,8 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public string? Country { get; set; }
|
public string? Country { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the labels.
|
/// Gets a collection containing the labels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Company> Labels { get; protected set; }
|
public virtual ICollection<Company> Labels { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -32,13 +30,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -61,12 +59,12 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public string? SourceId { get; set; }
|
public string? SourceId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the date added.
|
/// Gets the date added.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public DateTime DateAdded { get; protected set; }
|
public DateTime DateAdded { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the date modified.
|
/// Gets or sets the date modified.
|
||||||
|
@ -78,12 +76,12 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a list of metadata sources for this person.
|
/// Gets a list of metadata sources for this person.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MetadataProviderId> Sources { get; protected set; }
|
public virtual ICollection<MetadataProviderId> Sources { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -27,13 +25,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name of the person's role.
|
/// Gets or sets the name of the person's role.
|
||||||
|
@ -55,7 +53,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; protected set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the person.
|
/// Gets or sets the person.
|
||||||
|
@ -66,12 +64,12 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public virtual Person Person { get; set; }
|
public virtual Person Person { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Artwork> Artwork { get; protected set; }
|
public virtual ICollection<Artwork> Artwork { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the metadata sources for this person role.
|
/// Gets a collection containing the metadata sources for this person role.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MetadataProviderId> Sources { get; protected set; }
|
public virtual ICollection<MetadataProviderId> Sources { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -21,11 +19,11 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the photo metadata.
|
/// Gets a collection containing the photo metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<PhotoMetadata> PhotoMetadata { get; protected set; }
|
public virtual ICollection<PhotoMetadata> PhotoMetadata { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Release> Releases { get; protected set; }
|
public virtual ICollection<Release> Releases { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,13 +19,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value.
|
/// Gets or sets the value.
|
||||||
|
@ -42,7 +42,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the rating type.
|
/// Gets or sets the rating type.
|
||||||
|
|
|
@ -21,13 +21,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -57,7 +57,7 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the metadata source.
|
/// Gets or sets the metadata source.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -31,13 +29,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets the id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets or sets the name.
|
||||||
|
@ -51,17 +49,17 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the media files for this release.
|
/// Gets a collection containing the media files for this release.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<MediaFile> MediaFiles { get; protected set; }
|
public virtual ICollection<MediaFile> MediaFiles { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the chapters for this release.
|
/// Gets a collection containing the chapters for this release.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Chapter> Chapters { get; protected set; }
|
public virtual ICollection<Chapter> Chapters { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Jellyfin.Data.Entities.Libraries
|
namespace Jellyfin.Data.Entities.Libraries
|
||||||
|
@ -25,13 +23,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public int? SeasonNumber { get; set; }
|
public int? SeasonNumber { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the season metadata.
|
/// Gets the season metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<SeasonMetadata> SeasonMetadata { get; protected set; }
|
public virtual ICollection<SeasonMetadata> SeasonMetadata { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the number of episodes.
|
/// Gets a collection containing the number of episodes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Episode> Episodes { get; protected set; }
|
public virtual ICollection<Episode> Episodes { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
@ -16,7 +14,6 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
/// <param name="library">The library.</param>
|
/// <param name="library">The library.</param>
|
||||||
public Series(Library library) : base(library)
|
public Series(Library library) : base(library)
|
||||||
{
|
{
|
||||||
DateAdded = DateTime.UtcNow;
|
|
||||||
Seasons = new HashSet<Season>();
|
Seasons = new HashSet<Season>();
|
||||||
SeriesMetadata = new HashSet<SeriesMetadata>();
|
SeriesMetadata = new HashSet<SeriesMetadata>();
|
||||||
}
|
}
|
||||||
|
@ -37,13 +34,13 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public DateTime? FirstAired { get; set; }
|
public DateTime? FirstAired { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the series metadata.
|
/// Gets a collection containing the series metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<SeriesMetadata> SeriesMetadata { get; protected set; }
|
public virtual ICollection<SeriesMetadata> SeriesMetadata { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the seasons.
|
/// Gets a collection containing the seasons.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Season> Seasons { get; protected set; }
|
public virtual ICollection<Season> Seasons { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -63,9 +61,9 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public string? Country { get; set; }
|
public string? Country { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the networks.
|
/// Gets a collection containing the networks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<Company> Networks { get; protected set; }
|
public virtual ICollection<Company> Networks { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ICollection<Company> Companies => Networks;
|
public ICollection<Company> Companies => Networks;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Interfaces;
|
using Jellyfin.Data.Interfaces;
|
||||||
|
|
||||||
|
@ -26,11 +24,11 @@ namespace Jellyfin.Data.Entities.Libraries
|
||||||
public int? TrackNumber { get; set; }
|
public int? TrackNumber { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public virtual ICollection<Release> Releases { get; protected set; }
|
public virtual ICollection<Release> Releases { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection containing the track metadata.
|
/// Gets a collection containing the track metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<TrackMetadata> TrackMetadata { get; protected set; }
|
public virtual ICollection<TrackMetadata> TrackMetadata { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,21 +25,21 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id of this permission.
|
/// Gets the id of this permission.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the type of this permission.
|
/// Gets the type of this permission.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public PermissionKind Kind { get; protected set; }
|
public PermissionKind Kind { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether the associated user has this permission.
|
/// Gets or sets a value indicating whether the associated user has this permission.
|
||||||
|
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -24,21 +24,21 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id of this preference.
|
/// Gets the id of this preference.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Identity, Indexed, Required.
|
/// Identity, Indexed, Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; protected set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the type of this preference.
|
/// Gets the type of this preference.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Required.
|
/// Required.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public PreferenceKind Kind { get; protected set; }
|
public PreferenceKind Kind { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value of this preference.
|
/// Gets or sets the value of this preference.
|
||||||
|
@ -52,7 +52,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#pragma warning disable CA2227
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
@ -302,64 +300,54 @@ namespace Jellyfin.Data.Entities
|
||||||
public virtual ImageInfo? ProfileImage { get; set; }
|
public virtual ImageInfo? ProfileImage { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the user's display preferences.
|
/// Gets the user's display preferences.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
public virtual ICollection<DisplayPreferences> DisplayPreferences { get; private set; }
|
||||||
/// Required.
|
|
||||||
/// </remarks>
|
|
||||||
public virtual ICollection<DisplayPreferences> DisplayPreferences { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the level of sync play permissions this user has.
|
/// Gets or sets the level of sync play permissions this user has.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public SyncPlayUserAccessType SyncPlayAccess { get; set; }
|
public SyncPlayUserAccessType SyncPlayAccess { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <inheritdoc />
|
||||||
/// Gets or sets the row version.
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// Required, Concurrency Token.
|
|
||||||
/// </remarks>
|
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
public uint RowVersion { get; set; }
|
public uint RowVersion { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of access schedules this user has.
|
/// Gets the list of access schedules this user has.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<AccessSchedule> AccessSchedules { get; protected set; }
|
public virtual ICollection<AccessSchedule> AccessSchedules { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of item display preferences.
|
/// Gets the list of item display preferences.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual ICollection<ItemDisplayPreferences> ItemDisplayPreferences { get; protected set; }
|
public virtual ICollection<ItemDisplayPreferences> ItemDisplayPreferences { get; private set; }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of groups this user is a member of.
|
/// Gets the list of groups this user is a member of.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("Group_Groups_Guid")]
|
public virtual ICollection<Group> Groups { get; private set; }
|
||||||
public virtual ICollection<Group> Groups { get; protected set; }
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of permissions this user has.
|
/// Gets the list of permissions this user has.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("Permission_Permissions_Guid")]
|
[ForeignKey("Permission_Permissions_Guid")]
|
||||||
public virtual ICollection<Permission> Permissions { get; protected set; }
|
public virtual ICollection<Permission> Permissions { get; private set; }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of provider mappings this user has.
|
/// Gets the list of provider mappings this user has.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("ProviderMapping_ProviderMappings_Id")]
|
public virtual ICollection<ProviderMapping> ProviderMappings { get; private set; }
|
||||||
public virtual ICollection<ProviderMapping> ProviderMappings { get; protected set; }
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of preferences this user has.
|
/// Gets the list of preferences this user has.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("Preference_Preferences_Guid")]
|
[ForeignKey("Preference_Preferences_Guid")]
|
||||||
public virtual ICollection<Preference> Preferences { get; protected set; }
|
public virtual ICollection<Preference> Preferences { get; private set; }
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public void OnSavingChanges()
|
public void OnSavingChanges()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user