天天看點

自定義t4模版,根據資料庫生成實體模型

Template檔案

Generator

生成器

此文參考了artech的文章

<a href="http://www.cnblogs.com/artech/archive/2010/11/17/CodeGeneration.html">http://www.cnblogs.com/artech/archive/2010/11/17/CodeGeneration.html</a>