Search code examples
javascriptbreezenavigation-properties

Breeze.js loadNavigationProperty with expand


Is it possbible to call loadNavigationProperty with expanding the entities? Something like:

myGarage.entityAspect.loadNavigationProperty('car.wheels');

Or is this only possible with a new query?


Solution

  • You can only use loadNavigationProperty with immediate nav properties (i.e. myGarage.car).

    We'll update our documentation so there is no confusion.