Add custom initializer

This commit is contained in:
Andreas Zweili 2018-08-23 22:39:45 +02:00
parent 7d5c92876b
commit 79bc3b3272
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,9 @@ using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using System.Data.Entity;
using Plattform.Helper;
namespace Plattform
{
@ -11,6 +14,7 @@ namespace Plattform
{
protected void Application_Start(object sender, EventArgs e)
{
Database.SetInitializer(new EntitiesContextInitializer());
}
}
}
}