Updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user