Beispiel #1
0
        public Application()
        {
            string appType = ConfigurationManager.AppSettings["UI"];

            _view = (IAdminView)AssemblyUtils.GetAssembly(appType);

            _repository = AbstractDBFactory.CreateDBFactory().GetRepository();
        }
Beispiel #2
0
        internal static AbstractDBFactory CreateDBFactory()
        {
            string dbFactory = ConfigurationManager.AppSettings["DBFactory"];

            return((AbstractDBFactory)AssemblyUtils.GetAssembly(dbFactory));
        }