摘要:
在DDD设计中大家都会使用Repository pattern来获取domain model所需要的数据。1.什么事Repository?"A Repository mediates between the domain and data mapping layers, acting like an... 阅读全文
摘要:
领域驱动设计之领域模型加一个导航,关于如何设计聚合的详细思考,见这篇文章。2004年Eric Evans 发表Domain-Driven Design –Tackling Complexity in the Heart of Software (领域驱动设计),简称Evans DDD。领域驱动设计分... 阅读全文
摘要:
浅析C# new和override的区别C#中new和override是继承中经常用到的两个关键字,但是往往有时候容易把这两个关键字的作用搞混淆。newC# new关键字表示隐藏,是指加上new关键字的属性或函数将对本类和继承类隐藏基类的同名属性或函数public class A{ public v... 阅读全文