Пример #1
0
        protected void Application_Start(object sender, EventArgs e)
        {
            RouteConfiguration.AddRoutes(RouteTable.Routes);

            Database.SetInitializer(new DropCreateDatabaseIfModelChanges <Context>());
            //Debug.WriteLine("Application_Start");
        }
Пример #2
0
        protected void Application_Start(object sender, EventArgs e)
        {
            Debug.WriteLine("Application_Start");
            RouteConfiguration.AddRoutes(RouteTable.Routes);

            Database.SetInitializer(new InvoiceInitializer());
        }
 protected void Application_Start()
 {
     Debug.WriteLine("Application_Start");
     RouteConfiguration.AddRoutes(RouteTable.Routes);
     Database.SetInitializer(new DatabaseInitializer());
 }
Пример #4
0
 protected void Application_Start(object sender, EventArgs e)
 {
     Debug.WriteLine("Application_Start");
     RouteConfiguration.AddRoutes(RouteTable.Routes);
 }