The QueryRelatedFeaturesAsync() method is not returning the expected results for related features while using a mobile geodatabase in ArcGIS Maps SDK for .NET.
上次发布: April 14, 2023ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000154204
已提交
December 5, 2022
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.14
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
The behavior seen is as designed. Related records are only returned when both origin and destination layers are associated and added to the map. See the API Ref's remarks for the 'QueryRelatedFeaturesAsync' section:
https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.ArcGISFeatureTable.QueryRelatedFeaturesAsync.html#Esri_ArcGISRuntime_Data_ArcGISFeatureTable_QueryRelatedFeaturesAsync_Esri_ArcGISRuntime_Data_ArcGISFeature_
and the Guide topic:
https://developers.arcgis.com/net/query-and-edit/relate-features/#additional-information
To enable related records to be returned, add all associated layers and tables to the same map. For instance, if states are related to cities, then both states and cities layers must be added to the same map.