Ejemplo n.º 1
0
        /// <summary>
        /// 初始化 数据库中数据
        /// </summary>
        /// <param name="tableList"></param>
        /// <returns></returns>
        public bool InitDBData(List <string> tableList)
        {
            string initSql = "";

            foreach (var item in tableList)
            {
                initSql += item;
            }
            if (BaseEntityFac.Execute <object>(initSql) != -1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }