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.String

    Type: String. The logical name of the entity specified in the entityId parameter.

  • entityId
    Type: System.Guid

    Type: Guid. The ID of the record from which the related records will 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