CodeSmith Generator Studio代码生成器

1.配置数据库

新增数据库:Server=localhost;UserID=root;Password=root;Database=vmatrix;charset=utf8;

2.根据想生成的代码选择,生成所有All.cst

  

3.根据项目配置生成代码

4.在代码文件夹找到所需代码 粘贴到项目里

原文地址:https://www.cnblogs.com/joycelishanhe/p/4717551.html