diff --git a/Plattform/Plattform/Global.asax.cs b/Plattform/Plattform/Global.asax.cs index 9781390..3c0b8c1 100644 --- a/Plattform/Plattform/Global.asax.cs +++ b/Plattform/Plattform/Global.asax.cs @@ -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()); } } -} \ No newline at end of file +}