Implementing a Deleter

Applies to: SharePoint Server 2010

In this article
Description
Syntax
Examples

Description

A Deleter method instance enables you to delete an existing entity instance from an external system. For example, given a business object named Customer, this stereotype can be used to delete a customer "John" from the external system.

If you do not define a Deleter method, items cannot be deleted by using the Business Connectivity Services features for the entity. For example, you cannot click the Delete Item button on the ribbon of an external list that is based on that external content type, to delete an item from the list.

Syntax

Following is the typical method signature for a Deleter method:

void DeleteEntity(id1Type id1, ...)

Examples

Code Snippet: Implementing a Deleter

See Also

Concepts

Code Snippet: Execute the Deleter Method Instance of an External Content Type

XML Snippet: Modeling a Deleter Method