BuildDeleteObject Method

QueryableDataSourceView.BuildDeleteObject Method (IDictionary, IDictionary, IDictionary<String, Exception>)

.NET Framework (current version)
 

Creates the objects to use for the delete operation.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected QueryableDataSourceEditData BuildDeleteObject(
	IDictionary keys,
	IDictionary oldValues,
	IDictionary<string, Exception> validationErrors
)

Parameters

keys
Type: System.Collections.IDictionary

The keys of the rows to delete.

oldValues
Type: System.Collections.IDictionary

The row values to evaluate in order to detect data conflicts.

validationErrors
Type: System.Collections.Generic.IDictionary<String, Exception>

The list of conversion errors that are created in the data source when a CRUD operation fails.

Return Value

Type: System.Web.UI.WebControls.QueryableDataSourceEditData

The objects to use for the delete operation.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft