This commit is contained in:
gamer147
2024-09-05 08:32:54 -04:00
parent 8d62c9f238
commit ee7e276036
45 changed files with 1506 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System.Reflection;
using DCGEngine.Database.Models;
using Microsoft.EntityFrameworkCore;
namespace DCGEngine.Database.Configuration;
public class DCGEDatabaseConfiguration
{
/// <summary>
/// The default name of the appsettings section where these are configured.
/// </summary>
public const string DefaultSectionName = "DCGEDatabaseConfiguration";
#region Appsettings
// TODO
#endregion
#region Manual Configuration
/// <summary>
/// Assemblies to be searched for classes implementing <see cref="BaseEntity{TKey}"/> to be added as <see cref="DbSet{TEntity}"/>s. Should be set in code, not in appsettings.
/// </summary>
public List<Assembly> DbSetSearchAssemblies { get; set; }
#endregion
}