Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
If you have an Order that references a customer, does the model include the ID of the customer or a copy of the customer object like a value object (thinking DDD)?
I have a unique situation where I am building a DDD based system that needs to access both Active Directory and a SQL database as persistence. Initially this wasnt a problem because our design was set
DDD recommends that the domain objects should be in a valid state at any time. Aggregate roots are responsible for guaranteeing the invariants and Factories for assembling objects with all the require
Linq to SQL creates objects which are IQueryable and full of relations. Html Helpers require specific interface objects like IEnumerabl开发者_如何学Ce<SelectListItem>.
I would like to use EFf 4 as my ORM in my DDD project. I am going to generate 开发者_如何学Cmy model based on my classes.Should I create classes that are basically dto objects for my business objects
I get a list of items from my Repository.Now I need to sort and filter them, which I believe would be done in the Repository for efficiency.I think there would be two ways of doing this in a DDD way:
I would like to do some exercice and apply DDD to my Domain Model applied to Northwind database. Even if Northwind is an example I imagine that it was done to satisfy some \" virtual business\" requir
I have been trying to find some examples of how to implement the Repository pattern with SQLAlchemy. Specifically, implementing more than one Repository.
I have a question regarding DDD and the repository pattern. Say I have a Customer repository for the Customer aggregate root. The Get & Find methods return the fully populated aggregate, which i