CrmOrganizationServiceContext.Disassociate Method (String, Guid, Relationship, EntityReferenceCollection)
Applies To: Dynamics CRM 2015
Deletes a link between records. (Developer Extensions)
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public void Disassociate(
string entityName,
Guid entityId,
Relationship relationship,
EntityReferenceCollection relatedEntities
)
public:
virtual void Disassociate(
String^ entityName,
Guid entityId,
Relationship^ relationship,
EntityReferenceCollection^ relatedEntities
) sealed
abstract Disassociate :
entityName:string *
entityId:Guid *
relationship:Relationship *
relatedEntities:EntityReferenceCollection -> unit
override Disassociate :
entityName:string *
entityId:Guid *
relationship:Relationship *
relatedEntities:EntityReferenceCollection -> unit
Public Sub Disassociate (
entityName As String,
entityId As Guid,
relationship As Relationship,
relatedEntities As EntityReferenceCollection
)
Parameters
entityName
Type: System.StringType: String. The logical name of the entity specified in the entityId parameter.
entityId
Type: System.GuidType: Guid. The ID of the record from which the related records will be disassociated.
relationship
Type: Microsoft.Xrm.Sdk.RelationshipType: Relationship. The relationship to be used to remove the link.
relatedEntities
Type: Microsoft.Xrm.Sdk.EntityReferenceCollectionType: EntityReferenceCollection. A collection of entity references (references to records) to be disassociated.
Implements
IOrganizationService.Disassociate(String, Guid, Relationship, EntityReferenceCollection)
Remarks
Extends the core implementation of the IOrganizationService.Disassociate method.
See Also
CrmOrganizationServiceContext Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Developer extensions context object model (Dynamics CRM 2015)
Return to top
© 2017 Microsoft. All rights reserved. Copyright