Esempio n. 1
0
        /// <summary>
        /// AbstractDao
        /// </summary>
        protected AbstractDao()
        {
            EntityManager = new EntitiesDataContext();

            if (EntityManager.DatabaseExists() == false)
            {
                var message = MessageHelper.GetMessageFatal(
                    "F_MSG_00001", Messages.F_MSG_00001_T, Messages.F_MSG_00001_H);
                throw new SysRuntimeException(message);
            }
        }