Creation of EF Core Migrations - these execute using EF Tools, but are not integrated to run programmatically

This commit is contained in:
Charles Nurse
2021-03-19 17:01:49 -07:00
parent c64f350f36
commit 83e5502111
49 changed files with 2170 additions and 17 deletions

View File

@ -2,6 +2,7 @@
using Oqtane.Modules.HtmlText.Models;
using Oqtane.Repository;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
namespace Oqtane.Modules.HtmlText.Repository
{
@ -9,7 +10,7 @@ namespace Oqtane.Modules.HtmlText.Repository
{
public virtual DbSet<HtmlTextInfo> HtmlText { get; set; }
public HtmlTextContext(ITenantResolver tenantResolver, IHttpContextAccessor accessor) : base(tenantResolver, accessor)
public HtmlTextContext(ITenantResolver tenantResolver, IHttpContextAccessor accessor, IConfiguration configuration) : base(tenantResolver, accessor, configuration)
{
// ContextBase handles multi-tenant database connections
}