0

我正在尝试检索现有实体的 RelatedEntities 集合,但每次它都返回空值。不知道我在这里缺少什么。非常感谢检索相关实体的任何帮助或任何其他解决方法。这是我的代码片段:

Entity existingAppointment = _service.Retrieve("appointment", id, new ColumnSet(true));
Console.WriteLine(existingAppointment.RelatedEntities.Count);
4

1 回答 1

1

要实现这一点,您必须使用 RollupRequest,请在此处查看更多信息。

于 2013-02-28T22:50:09.550 回答