Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DeleteContext Class

An instance of DeleteContext is passed to the deleteRows() method on your Database.Connection class. The class provides context information about the delete request to the implementor of deleteRows().

Namespace

DataSource

Usage

The Apex Connector Framework creates context for operations. Context is comprised of parameters about the operations, which other methods can use. An instance of the DeleteContext class packages these parameters into an object that can be used when a deleteRows() operation is initiated.

DeleteContext Properties

The following are properties for DeleteContext.

externalIds

The external IDs of the rows representing external object records to delete.

Signature

public List<String> externalIds {get; set;}

Property Value

Type: List<String>

tableSelected

The name of the table to delete rows from.

Signature

public String tableSelected {get; set;}

Property Value

Type: String