Прочитај на енглеском Уреди

Делите путем


LinqDataSourceView.UpdateObject(Object, Object) Method

Definition

Updates a data object.

C#
protected override int UpdateObject(object oldEntity, object newEntity);

Parameters

oldEntity
Object

The object to update.

newEntity
Object

The new object to use for the update.

Returns

0 (zero) if the update was successful, or -1 if the update failed.

Applies to

Производ Верзије
.NET Framework 4.0, 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