Merge pull request #3981 from mdmontesinos/dev
Update Module Template IServerStartup to be ServerStartup instead of DbContextFactory
This commit is contained in:
commit
bcad5eda81
|
@ -2,10 +2,11 @@ using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Oqtane.Infrastructure;
|
using Oqtane.Infrastructure;
|
||||||
|
using [Owner].Module.[Module].Repository;
|
||||||
|
|
||||||
namespace [Owner].Module.[Module].Repository
|
namespace [Owner].Module.[Module].Startup
|
||||||
{
|
{
|
||||||
public class [Module]DbContextFactory : IServerStartup
|
public class [Module]ServerStartup : IServerStartup
|
||||||
{
|
{
|
||||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user