Lun*_*Box 3 dynamics-crm fetchxml
我明白<link-entity>是用来做连接的,但是你能帮我把下面的翻译成英文吗?
<entity name = "example">
*insert a bunch of attributes*
<link-entity name="providercertification" from="providerid" to="vendorid" alias="aa">
Run Code Online (Sandbox Code Playgroud)
我知道<link-entity>用于连接,但未指定连接类型,所以这让我失望。如果未指定连接类型,链接实体如何工作?它会自动成为内部联接吗?
另外,from 部分适用于哪一列to?是第一个实体还是<link-entity> 中指定的实体?
from部分相同的问题。
根据文档,以下查询完全有效,这意味着alias, from&link-type是可选的。
from始终指代相同的实体链路实体节点(主键systemuserid的systemuser在这种情况下)。to指实体父节点的属性(在本例中owninguser为 of account)
<entity name='account'>
<attribute name='accountid'/>
<attribute name='name'/>
<link-entity name='systemuser' to='owninguser'>
Run Code Online (Sandbox Code Playgroud)
所以显式link-type='outer'是必需的,outer join但它inner join是默认的。
有趣的是,Fetchxml 充满了惊喜。您还可以参考FetchXML 架构
| 归档时间: |
|
| 查看次数: |
7666 次 |
| 最近记录: |