Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Eric Evans 的领域驱动设计方法中,使用 Rocky Lhotka 的 CSLA.NET 为领域层设计业务实体是一个好主意吗?
看起来我们可以做到这一点。
自从我阅读 CSLA 书以来已经有一段时间了,但我确实记得它支持 N 层模型,允许您远程访问域对象。虽然在某些情况下很有趣,甚至可能有用,但我担心增加的复杂性不值得。就个人而言,除非我的要求要求更复杂的东西,否则我会坚持使用具有像 NHibernate 这样不显眼的 ORM 的 POCO 域模型。