UpdateDepth configuration setting allows you to specify the level of objects' enclosure where update command will still be valid:
.NET:
configuration.UpdateDepth(depth)
This setting has a considerable impact on performance and can make the application very slow. It is recommended to keep the default configuration setting (UpdateDepth(1)) and specify UpdateDepth for selected classes, where cascaded update will be really useful:
.NET:
configuration.ObjectClass(typeof(Car)).UpdateDepth(3)