public void CreatBLL(string path) { string str = GetBLLCodeStr(); CodeCommon.CreatFile(path, BLLName + ".cs", str); }
/// <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); }