OrganizationServiceContext.DeleteLink(Entity, Relationship, Entity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the state of the link to deleted in the list of links being tracked by the OrganizationServiceContext.
public:
void DeleteLink(Microsoft::Xrm::Sdk::Entity ^ source, Microsoft::Xrm::Sdk::Relationship ^ relationship, Microsoft::Xrm::Sdk::Entity ^ target);
public void DeleteLink (Microsoft.Xrm.Sdk.Entity source, Microsoft.Xrm.Sdk.Relationship relationship, Microsoft.Xrm.Sdk.Entity target);
member this.DeleteLink : Microsoft.Xrm.Sdk.Entity * Microsoft.Xrm.Sdk.Relationship * Microsoft.Xrm.Sdk.Entity -> unit
Public Sub DeleteLink (source As Entity, relationship As Relationship, target As Entity)
Parameters
- source
- Entity
The source entity in the link to be marked for deletion.
- relationship
- Relationship
The name of the attribute or navigation property on the source entity that is used to access the target entity.
- target
- Entity
The target entity involved in the link that is bound to the source entity.