domain-driven-design
DDD: GetHashCode and primary id
I have seen DDD Domain implementations where entities rely on the primary key ID when building Equals/GetHashCode methods.[详细]
2023-04-11 05:13 分类:问答Spring AOP Advice for Hibernate managed POJO
I have a parent-child relationship, such as Order to Order Item, which I have represented in the domain model like this:[详细]
2023-04-10 19:35 分类:问答How do I make my repository remove child entities and not just navigation properties from my aggregate root
I\'m trying to build a functioning repository using Entity Framework. I feel like I\'m missing something really obvious somewhere. Lets say I have IRepository<Person> which has many Address in a[详细]
2023-04-10 12:13 分类:问答How I know when a class is a Helper or a Service?
i\'m using DDD archit开发者_开发百科ecture in my project and I need to create a class to generate a GUID to use in another class.[详细]
2023-04-10 06:40 分类:问答Authorization and Authentication in DDD (c#)
I am going to deal with architecture with regard to authentication and authorization. I\'d like to know if someone wants to share its experience gained in the field of DDD.[详细]
2023-04-10 05:16 分类:问答In DDD where to keep custom exceptions (application exceptions)? In Infrastructure layer?
I\'m building a app with following architecture: UI - Application - Domain - Infrastructure I have a Application Layer that need use custom exceptions. Where I keep these custom exceptions? In Infra[详细]
2023-04-09 23:36 分类:问答.NET: DDD and ASMX, avoid multiple namespaces on proxy classes
I am new to DDD and at the moment I try to refactor a project towards a domain driven architecture. The project has a client and a server side (ASMX webservice). Now I created a class libary called \"[详细]
2023-04-09 21:38 分类:问答Accessing stored procedures on a code generated DbContext with Entity Framework 4.1 with DDD
I\'m working on a large project using ASP.Net 开发者_JAVA技巧MVC 3, EF 4.1 and Ninject for Dependecy Injection. I\'ve read through many of the existing questions here regarding DDD, EF and the Reposit[详细]
2023-04-09 15:58 分类:问答In DDD where to save generated files by user?
I have the following architecture in my project: UI -> Application -> Domain -> 开发者_运维技巧Infrastructure (4 tier)[详细]
2023-04-09 13:28 分类:问答Best way to design shopping cart domain model on C#?
Google can`t help me. I find only this link: http://flylib.com/books/en/2.522.1.56/1/ So, once there is the question - why开发者_StackOverflow中文版 do we need divide Product and Item?Product is too[详细]
2023-04-09 02:04 分类:问答