Click or drag to resize

LLBLGenProDataSourceViewExecuteDelete Method

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

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses.Web (in SD.LLBLGen.Pro.ORMSupportClasses.Web.dll) Version: 5.6.0.0 (5.6.19.0117)
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
NotSupportedExceptionThe ExecuteDelete(IDictionary, IDictionary) operation is not supported by the DataSourceView.
See Also