Initial commit
This commit is contained in:
18
Oqtane.Server/Modules/HtmlText/Repository/HtmlTextContext.cs
Normal file
18
Oqtane.Server/Modules/HtmlText/Repository/HtmlTextContext.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Oqtane.Models;
|
||||
using Oqtane.Shared.Modules.HtmlText.Models;
|
||||
using Oqtane.Repository;
|
||||
using Oqtane.Modules;
|
||||
|
||||
namespace Oqtane.Server.Modules.HtmlText.Repository
|
||||
{
|
||||
public class HtmlTextContext : ContextBase, IService
|
||||
{
|
||||
public virtual DbSet<HtmlTextInfo> HtmlText { get; set; }
|
||||
|
||||
public HtmlTextContext(ITenantRepository TenantRepository):base(TenantRepository)
|
||||
{
|
||||
// ContextBase handles multi-tenant database connections
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user