NDummy is able to create complex master-detail object as long as related types are defined in spec.
However there is a limit to maximum level of depth. By default it is 3.
You can change it by setting the MaxDepth property of FactoriesConfig.
var config = new FactoriesConfig(); config.MaxDepth = 5; //limit to 5 levels
NDummy will set collection-based property automatically as long as these conditions met:
There was an error while loading. Please reload this page.