CodeSmith和PowerDesigner的使用安装和数据库创建(原创系列教程) http://www.cnblogs.com/huangcong/archive/2010/06/14/1757957.html