Added suuport to inject an IOqtaneDatabase in EntityBuilders to allow each Database to control certain Migration behaviors. Also updated Installer to dynamically build Database Configuration section
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Oqtane.Interfaces;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
@ -9,7 +11,10 @@ namespace Oqtane.Repository
|
||||
|
||||
public IConfiguration Configuration { get; }
|
||||
|
||||
public IEnumerable<IOqtaneDatabase> Databases { get; set; }
|
||||
|
||||
public string ConnectionString { get; set; }
|
||||
|
||||
public string DatabaseType { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user