学习Dot NET

导航

2006年4月21日 #

批量插入与更新

摘要: 近来学习什么是三层架构,也就是这个图了,http://msdn.microsoft.com/library/en-us/dnbda/html/f00aa01.gif http://msdn.microsoft.com/library/en-us/dnbda/html/distapp.asp Model层,用贫血的实体, [Serializable] public class CustomerInf... 阅读全文

posted @ 2006-04-21 21:29 学习.NET 阅读(4432) 评论(9) 推荐(0) 编辑

批判工厂方法模式

摘要: 之所以取这个标题,纯粹是为了吸引眼球,:)本人没用过patterns,没有实践经验,所以特来问一个问题。 工厂方法模式中,有两个类体系,一个是产品类体系,如IProduct、ConcreteProductA、ConcreteProductB、ConcreteProductC,具体产品类全部实现IProduct接口。另一个是工厂类体系,如IFactory、ConcreteFactoryA、Concr... 阅读全文

posted @ 2006-04-21 21:04 学习.NET 阅读(1287) 评论(12) 推荐(0) 编辑