diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-01-16 12:13:06 -0500 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2023-01-16 12:13:06 -0500 |
| commit | 3f66a482069ab98396952292db379e7248cb1166 (patch) | |
| tree | c19cb55dc9aec5a9879a86a05efec61ffd4027f0 /Jellyfin.Server.Implementations | |
| parent | 40e4370689501789974cdd827341da74f4c71c79 (diff) | |
Document JellyfinDb
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/JellyfinDb.cs | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/JellyfinDb.cs b/Jellyfin.Server.Implementations/JellyfinDb.cs index 5d3fc9e7db..064118ca54 100644 --- a/Jellyfin.Server.Implementations/JellyfinDb.cs +++ b/Jellyfin.Server.Implementations/JellyfinDb.cs @@ -1,5 +1,3 @@ -#pragma warning disable CS1591 - using System; using System.Linq; using Jellyfin.Data.Entities; @@ -20,28 +18,64 @@ public class JellyfinDb : DbContext { } + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the access schedules. + /// </summary> public DbSet<AccessSchedule> AccessSchedules => Set<AccessSchedule>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the activity logs. + /// </summary> public DbSet<ActivityLog> ActivityLogs => Set<ActivityLog>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the API keys. + /// </summary> public DbSet<ApiKey> ApiKeys => Set<ApiKey>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the devices. + /// </summary> public DbSet<Device> Devices => Set<Device>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the device options. + /// </summary> public DbSet<DeviceOptions> DeviceOptions => Set<DeviceOptions>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the display preferences. + /// </summary> public DbSet<DisplayPreferences> DisplayPreferences => Set<DisplayPreferences>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the image infos. + /// </summary> public DbSet<ImageInfo> ImageInfos => Set<ImageInfo>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the item display preferences. + /// </summary> public DbSet<ItemDisplayPreferences> ItemDisplayPreferences => Set<ItemDisplayPreferences>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the custom item display preferences. + /// </summary> public DbSet<CustomItemDisplayPreferences> CustomItemDisplayPreferences => Set<CustomItemDisplayPreferences>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the permissions. + /// </summary> public DbSet<Permission> Permissions => Set<Permission>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the preferences. + /// </summary> public DbSet<Preference> Preferences => Set<Preference>(); + /// <summary> + /// Gets the <see cref="DbSet{TEntity}"/> containing the users. + /// </summary> public DbSet<User> Users => Set<User>(); /*public DbSet<Artwork> Artwork => Set<Artwork>(); |
