Esempio n. 1
0
        public void SetUp()
        {
            TypeMappingConfig.RegisterTypeMaps();
            var store = new SqliteTruncDb(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, true);

            _repo = new UrlItemRepository(store);
        }
Esempio n. 2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            TypeMappingConfig.RegisterTypeMaps();
        }