/// <summary>
        /// 生成实体类代码
        /// </summary>
        public string CreatControllers()
        {
            string strclass = BuilderTools.LoadTemplate("code/Controllers.txt");

            strclass = this.ReplaceAll(strclass, eControllersCode);
            return(strclass.ToString());
        }
        /// <summary>
        /// 生成实体类代码
        /// </summary>
        public string CreatDAL()
        {
            string strclass = BuilderTools.LoadTemplate("code/DAL.txt");

            eDALCode.strwhere       = this.GetWhereCode();
            eDALCode.insertsql      = this.GetInsertSql();
            eDALCode.updatesql      = this.GetUpdateSql();
            eDALCode.primarykeyname = this.GetPrimaryKeyName();
            strclass = this.ReplaceAll(strclass, eDALCode);
            return(strclass.ToString());
        }