コード例 #1
0
        protected void Application_Start()
        {
            var ctx = new EquiclassContext();

            ctx.Database.Initialize(true);
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
コード例 #2
0
 public EquiclassRepository()
 {
     _context = new EquiclassContext();
 }