LinqDataSourceView::UpdateObject Method (Object^, Object^)

.NET Framework (current version)
 

Updates a data object.

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

protected:
virtual int UpdateObject(
	Object^ oldEntity,
	Object^ newEntity
) override

Parameters

oldEntity
Type: System::Object^

The object to update.

newEntity
Type: System::Object^

The new object to use for the update.

Return Value

Type: System::Int32

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

.NET Framework
Available since 4.0
Return to top
Show: