using System.Collections.Generic;
namespace Jellyfin.Database.Implementations.DbConfiguration;
///
/// Options to configure jellyfins managed database.
///
public class DatabaseConfigurationOptions
{
///
/// Gets or Sets the type of database jellyfin should use.
///
public required string DatabaseType { get; set; }
///
/// Gets or sets the options required to use a custom database provider.
///
public CustomDatabaseOptions? CustomProviderOptions { get; set; }
///
/// Gets or Sets the kind of locking behavior jellyfin should perform. Possible options are "NoLock", "Pessimistic", "Optimistic".
/// Defaults to "NoLock".
///
public DatabaseLockingBehaviorTypes LockingBehavior { get; set; }
}