摘要: 在实际开发中,我们经常需要从数据库中读取数据并赋值给实体类的相应属性。在.Text的DataDTOProvider中存在大量这样的代码, 比如: publicRole[]GetRoles(intBlogID) { System.Collections.ArrayListal=newSystem.Collections.ArrayList(); IDataReaderreader=DbProvide...阅读全文
posted @ 2010-06-11 11:46 lizhiwen 阅读(34) | 评论 (0) 编辑 |
