QueryExpression.AddLink Methode (String, String, String, JoinOperator)
Adds the specified link to the query expression setting the entity name to link to, the attribute name to link from and the attribute name to link to.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
Public Function AddLink ( _
linkToEntityName As String, _
linkFromAttributeName As String, _
linkToAttributeName As String, _
joinOperator As JoinOperator _
) As LinkEntity
public LinkEntity AddLink (
string linkToEntityName,
string linkFromAttributeName,
string linkToAttributeName,
JoinOperator joinOperator
)
Parameter
- linkToEntityName
Type: Zeichenfolge. The name of entity to link from.
- linkFromAttributeName
Type: Zeichenfolge. The name of the attribute to link from.
- linkToAttributeName
Type: Zeichenfolge. The name of the attribute to link to.
- joinOperator
Type: JoinOperator. The join operator.
Rückgabewert
Type: LinkEntity
The link entity instance created and added to the query expression.
Thread-Sicherheit
Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.
Plattformen
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008,Windows Server 2012,Windows 7
Siehe auch
Referenz
QueryExpression Klasse
QueryExpression Mitglieder
Microsoft.Xrm.Sdk.Query Namespace
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.