Implementing a Deleter

SharePoint 2010

Last modified: April 20, 2010

Applies to: SharePoint Server 2010

In this article

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.

Following is the typical method signature for a Deleter method:

void DeleteEntity(id1Type id1, ...)