Data Access has been discontinued. Please refer to this page for more information.

Deleting Data

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

In this task, you will extend the code to enable you to delete existing Car objects.

  1. Open the Default.aspx page in Design view.
  2. Select the OpenAccessLinqDataSourceCar and expand the SmartTag panel.
  3. Set the Enable delete property to True. This will enable the OpenAccessLinqDataSource control to automatically handle delete operations. You could find more information, here.