fix #2567 - migrate tenant connection string details from database to appsettings.json
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Oqtane.Infrastructure;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IDBContextDependencies
|
||||
{
|
||||
ITenantManager TenantManager { get; }
|
||||
IHttpContextAccessor Accessor { get; }
|
||||
IConfigurationRoot Config { get; }
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
using System.Data;
|
||||
using System.Data;
|
||||
using System.Reflection;
|
||||
using Oqtane.Models;
|
||||
|
||||
@ -18,6 +18,8 @@ namespace Oqtane.Repository
|
||||
|
||||
IDataReader ExecuteReader(Tenant tenant, string query);
|
||||
|
||||
IDataReader ExecuteReader(string DBType, string DBConnectionString, string query);
|
||||
|
||||
string GetScriptFromAssembly(Assembly assembly, string fileName);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user