using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Jellyfin.Database.Implementations.DbConfiguration;
///
/// Defines the options for a custom database connector.
///
public class CustomDatabaseOptions
{
///
/// Gets or sets the Plugin name to search for database providers.
///
public required string PluginName { get; set; }
///
/// Gets or sets the plugin assembly to search for providers.
///
public required string PluginAssembly { get; set; }
///
/// Gets or sets the connection string for the custom database provider.
///
public required string ConnectionString { get; set; }
///
/// Gets or sets the list of extra options for the custom provider.
///
#pragma warning disable CA2227 // Collection properties should be read only
public Collection Options { get; set; } = [];
#pragma warning restore CA2227 // Collection properties should be read only
}