ModelDataSourceView.GetUpdateMethodResult Method

Definition

Invokes the update method and gets the result.

C#
protected virtual object GetUpdateMethodResult(System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);

Parameters

keys
IDictionary

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

values
IDictionary

The new values of the row to be updated.

oldValues
IDictionary

The old values of the row to be updated.

Returns

The result of the update method.

Exceptions

The CanUpdate property is false.

Applies to

Product Versions
.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