摘要:
代码生成器大家都用过吧,CodeSmith我想大家也不陌生。最近就用CodeSmith生成了自己的实体类。当然你也可以用它来生成HTML页面以及文档。 下面我就来说一说我生成实体类的步骤: 一、首先介绍一下CodeSmith 2.6,CodeSmith 2.6安装后,会有3个exe: 1. CodeSmith.exe即为CodeSmith Explorer,可视化生成代码工具,免费... 阅读全文
posted @ 2004-12-01 10:48
Martin XJ
阅读(14474)
评论(2)
推荐(0)
摘要:
usingSystem;namespaceCompany.Product.Module{/**///////作用:台帐实体类///作者:Author///日期:2004-12-0110:40:05///publicclassAccountBookEntity{/**///////... 阅读全文
posted @ 2004-12-01 10:44
Martin XJ
阅读(2848)
评论(4)
推荐(0)
摘要:
using System; namespace { /// /// 作用: /// 作者: /// 日期: /// public class Entity { /// /// 构造函数 /// public Entity() { } ... 阅读全文
posted @ 2004-12-01 10:42
Martin XJ
阅读(2627)
评论(7)
推荐(0)
摘要:
usingSystem;usingSystem.Text;usingSystem.ComponentModel;usingCodeSmith.Engine;usingSystem.Data;usingSchemaExplorer;namespaceCodeTemplateRule{/**///////CodeSmith自动生成代码所用到的函数//... 阅读全文
posted @ 2004-12-01 10:41
Martin XJ
阅读(2925)
评论(4)
推荐(0)

浙公网安备 33010602011771号