示例#1
0
 protected void Application_Start()
 {
     using (TmfContext db = new TmfContext())
     {
         db.Database.CreateIfNotExists();
     }
     AreaRegistration.RegisterAllAreas();
     RouteConfig.RegisterRoutes(RouteTable.Routes);
 }