Udostępnij za pośrednictwem


OrganizationServiceContext.IsDeleted Method

Definition

Overloads

IsDeleted(Entity)

Determines whether an entity has been deleted.

IsDeleted(Entity, Relationship, Entity)

Determines whether a relationship has been deleted.

IsDeleted(Entity)

Determines whether an entity has been deleted.

public:
 bool IsDeleted(Microsoft::Xrm::Sdk::Entity ^ entity);
public bool IsDeleted (Microsoft.Xrm.Sdk.Entity entity);
member this.IsDeleted : Microsoft.Xrm.Sdk.Entity -> bool
Public Function IsDeleted (entity As Entity) As Boolean

Parameters

entity
Entity

The entity to be determined if it is deleted.

Returns

true if the specified entity is deleted; otherwise, false.

Applies to

IsDeleted(Entity, Relationship, Entity)

Determines whether a relationship has been deleted.

public:
 bool IsDeleted(Microsoft::Xrm::Sdk::Entity ^ source, Microsoft::Xrm::Sdk::Relationship ^ relationship, Microsoft::Xrm::Sdk::Entity ^ target);
public bool IsDeleted (Microsoft.Xrm.Sdk.Entity source, Microsoft.Xrm.Sdk.Relationship relationship, Microsoft.Xrm.Sdk.Entity target);
member this.IsDeleted : Microsoft.Xrm.Sdk.Entity * Microsoft.Xrm.Sdk.Relationship * Microsoft.Xrm.Sdk.Entity -> bool
Public Function IsDeleted (source As Entity, relationship As Relationship, target As Entity) As Boolean

Parameters

source
Entity

The source entity in the link.

relationship
Relationship

The name of the attribute or navigation property on the source entity that represents the link between the source and target entity.

target
Entity

The target entity in the link.

Returns

true if the specified entity is deleted; otherwise, false.

Applies to