OrganizationServiceContextExtensions.AssociateEntities Method (OrganizationServiceContext, EntityReference, EntityReference, String)
Applies To: Dynamics CRM 2013
Deprecated. Adds a link between two records in a many-to-many relationship. Use Associate. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void AssociateEntities(
this OrganizationServiceContext context,
EntityReference moniker1,
EntityReference moniker2,
string relationshipName
)
public:
[ExtensionAttribute]
static void AssociateEntities(
OrganizationServiceContext^ context,
EntityReference^ moniker1,
EntityReference^ moniker2,
String^ relationshipName
)
static member AssociateEntities :
context:OrganizationServiceContext *
moniker1:EntityReference *
moniker2:EntityReference *
relationshipName:string -> unit
<ExtensionAttribute>
Public Shared Sub AssociateEntities (
context As OrganizationServiceContext,
moniker1 As EntityReference,
moniker2 As EntityReference,
relationshipName As String
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- moniker1
Type: Microsoft.Xrm.Sdk.EntityReference
- moniker2
Type: Microsoft.Xrm.Sdk.EntityReference
- relationshipName
Type: System.String
Remarks
This is a method wrapper for the AssociateEntitiesRequest and AssociateEntitiesResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top