mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-19 11:04:23 +00:00
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.Extensions.DependencyInjection;
|
||||
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)
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user