Add custom initializer
This commit is contained in:
parent
7d5c92876b
commit
79bc3b3272
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue