0

在微风中使用 fetchEntityByKey 方法时如何获取实体的导航属性?甚至可能吗?

4

1 回答 1

1

如果要“获取”导航属性的值,请使用EntityAspect.loadNavigationPrperty 方法

 myEntity.entityAspect.loadNavigationProperty("Orders").then(function (data) {
    var orders = data.results;
 }).fail(function (exception) {
    // handle exception here;
 });
于 2013-11-13T21:03:00.630 回答