30 lines
767 B
C#
30 lines
767 B
C#
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
|
|
|
|
|
|
} |