コード例 #1
0
        protected void Application_Start()
        {
            NHibernateUtility utility = new NHibernateUtility();
            utility.Initialize();

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
コード例 #2
0
 public void TestInit()
 {
     ServiceFactory.UserService = new UserService();
     ServiceFactory.MessageService = new MessageService();
     ServiceFactory.CommentService = new CommentService();
     var utility = new NHibernateUtility();
     utility.Initialize();
 }
コード例 #3
0
        protected void Application_Start()
        {
            NHibernateUtility utility = new NHibernateUtility();

            utility.Initialize();

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
コード例 #4
0
        public void TestInit()
        {
            ServiceFactory.UserService    = new UserService();
            ServiceFactory.MessageService = new MessageService();
            ServiceFactory.CommentService = new CommentService();
            var utility = new NHibernateUtility();

            utility.Initialize();
        }
コード例 #5
0
        public void Init()
        {
            var utility = new NHibernateUtility();

            utility.Initialize();
        }
コード例 #6
0
 public void Init()
 {
     var utility = new NHibernateUtility();
     utility.Initialize();
 }