ModelDataSourceView.ExecuteDelete(IDictionary, IDictionary) Method

Definition

Performs a delete operation using the DeleteMethod method.

C#
protected override int ExecuteDelete (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);

Parameters

keys
IDictionary

The parameters to be used with the DeleteMethod method. If there are no parameters associated with the method, pass null.

oldValues
IDictionary

The values of the row to be deleted.

Returns

The number of rows deleted; otherwise, -1, if the number is not known.

Applies to

제품 버전
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1