Slash

习惯在追逐的过程中不断去完善自己;当你不再去追逐,你自我完善的脚步也就停滞下来了。

导航

2006年10月2日 #

CodeSmith:类型化DataSet实体类模板

摘要: 文件导航:模板文件:CommonUtility.cst代码文件:CommonUtility.cs生成示例代码文件:UserData.cs,该示例中TableSchemaCollection中包含三个数据表.说明:实体类的设计参考了Duwamish7.0中结构形式;考虑到数据库设计时的3NF,使用TableSchemaCollection结构添加数据表,支持将多个表添加至同一实体类。相关软件要求:C... 阅读全文

posted @ 2006-10-02 17:39 Slash 阅读(1531) 评论(2) 推荐(0) 编辑

CommonUtility.cst

摘要: 1 2 3 4 5 6 7 8 9 10 11 12 15/**////////////////////////////// 16//File:.cs 17//Data Created: 18//Created by: 19/**////////////////////////////// 20namespace 21{ 22 using System; ... 阅读全文

posted @ 2006-10-02 17:07 Slash 阅读(724) 评论(0) 推荐(0) 编辑

CommonUtility.cs

摘要: 1using System; 2using System.Text; 3using CodeSmith.Engine; 4using SchemaExplorer; 5using System.ComponentModel; 6using System.Data; 7 8namespace Common.Data 9{ 10 /**//// 11 /// Te... 阅读全文

posted @ 2006-10-02 17:05 Slash 阅读(672) 评论(0) 推荐(0) 编辑

UserData.cs

摘要: 1/**////////////////////////////// 2//File:UserData.cs 3//Data Created:2006年10月2日 4//Created by:Slash 5/**////////////////////////////// 6namespace FreeZone.Common.Data 7{ 8 using System;... 阅读全文

posted @ 2006-10-02 16:53 Slash 阅读(521) 评论(0) 推荐(0) 编辑