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.
  • tableSelected
    The name of the table to delete rows from.

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