How should the current user be passed to the repository classes? The current user\'s credentials are needed for the connection string used by the repositories. Should each repository be instantiated
In the book Domain Driven Design, by Eric Evans, in Chapter 6 in the section on \"Factories\" (page 139) it says the following:
My newly created system was created using the Model Driven Architecture approach so all I have is the model (let\'s say comprehensive \'Order\' and \'Product\' classes).These are fully tested classes
I have two entities User and Course. A user can take several courses which makes the relationship one to many. But a single course can be taken by many students so it makes it many to many relationshi
Our team is fairly new to DDD, and are trying to implement some of the concepts in our current project.One question that has come up is whether to put methods into entity objects, or service objects.
I was wondering which of the following is considered to be a best practice when dealing with parent child relationships.
I ve got an employee that holds several addresses in a collection. public class Employee { public string Name { get; set; }
In a web server project with a rich domain model (application logic is in the model, not in the services) how do you handle injecting the dependencies into the model objects? What are your experiences
Aft开发者_JS百科er reading thorugh plenty of articles I am still unsure about the responsibilities of Unit of Work pattern when interacting with repositories.
I have Category and Product entities. The relationship between the two is one to many. Since, Category is aggregate root I think I should only make a single repository ICategoryRepository which should