LLBLGenProDataSourceView2ExecuteDelete 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.12.0.0 (5.12.0)
Syntaxprotected override int ExecuteDelete(
IDictionary keys,
IDictionary oldValues
)
Protected Overrides Function ExecuteDelete (
keys As IDictionary,
oldValues As IDictionary
) As Integer
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.
ExceptionsException | Condition |
---|
NotSupportedException | The ExecuteDelete(IDictionary, IDictionary) operation is not supported by the DataSourceView. |
See Also