VirualPathDataSourceViewExecuteDelete Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Performs a delete operation on the list of data that the DataSourceView object represents.

Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected override int ExecuteDelete(
	IDictionary keys,
	IDictionary oldValues
)

Parameters

keys
Type: System.CollectionsIDictionary
An IDictionary of object or row keys to be deleted by the ExecuteDelete(IDictionary, IDictionary) operation.
oldValues
Type: System.CollectionsIDictionary
An IDictionary of name/value pairs that represent data elements and their original values.

Return Value

Type: Int32
The number of items that were deleted from the underlying data storage.
Exceptions

ExceptionCondition
NotSupportedException The ExecuteDelete(IDictionary, IDictionary) operation is not supported by the DataSourceView.
See Also

Reference