19 lines
630 B
C#
19 lines
630 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Oqtane.Infrastructure;
|
|
using Oqtane.Repository;
|
|
using Oqtane.Repository.Databases.Interfaces;
|
|
|
|
// ReSharper disable MemberCanBePrivate.Global
|
|
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
|
|
|
namespace Oqtane.Modules.HtmlText.Repository
|
|
{
|
|
public class HtmlTextContext : DBContextBase, IService, IMultiDatabase
|
|
{
|
|
public HtmlTextContext(ITenantManager tenantManager, IHttpContextAccessor httpContextAccessor) : base(tenantManager, httpContextAccessor) { }
|
|
|
|
public virtual DbSet<Models.HtmlText> HtmlText { get; set; }
|
|
}
|
|
}
|