AggregateRoot Class DDD Multiple entities

by Mike Diaz   Last Updated January 17, 2018 22:05 PM

I couldn't find a specific answer to my question but how would I develop an AggregateRoot class for the following scenario.

public class Root{

    public int Id {get;set;}
    public IList<Child> Children {get;set;}


public class Child{
    public int Id{get;set; }
    public IList<SubChild> SubChildren{get;set; }

public class SubChild{
    public int Id {get;set;}

How can the root class update the SubChild class following DDD principles?

Related Questions

DDD - Domain Modelling association between aggregates

Updated November 04, 2017 10:05 AM

Aggregate relationships in Domain Driven Design

Updated February 11, 2017 13:44 PM