OrganizationServiceContext.DeleteLink Method (Entity, Relationship, Entity)
Applies To: Dynamics CRM 2015
Changes the state of the link to deleted in the list of links being tracked by the OrganizationServiceContext.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public void DeleteLink(
Entity source,
Relationship relationship,
Entity target
)
public:
void DeleteLink(
Entity^ source,
Relationship^ relationship,
Entity^ target
)
member DeleteLink :
source:Entity *
relationship:Relationship *
target:Entity -> unit
Public Sub DeleteLink (
source As Entity,
relationship As Relationship,
target As Entity
)
Parameters
source
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The source entity in the link to be marked for deletion.
relationship
Type: Microsoft.Xrm.Sdk.RelationshipType: Relationship. The name of the attribute or navigation property on the source entity that is used to access the target entity.
target
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The target entity involved in the link that is bound to the source entity.
See Also
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright