Example #1
0
        public void CreatBLL(string path)
        {
            string str = GetBLLCodeStr();

            CodeCommon.CreatFile(path, BLLName + ".cs", str);
        }
Example #2
0
        /// <summary>
        /// 生成实体
        /// </summary>
        /// <param name="fieldlist"></param>
        /// <param name="path"></param>
        /// <param name="filename"></param>
        public void CreatModel(List <ColumnInfo> fieldlist, string path)
        {
            string str = CreatModelStr(fieldlist);

            CodeCommon.CreatFile(path, _modelname + ".cs", str);
        }