Send feedback on this topic.
Teradata.Client.Provider
TdRowUpdatingEventHandler Delegate



Teradata.Client.Provider Namespace : TdRowUpdatingEventHandler Delegate
The source of the event. In this case an instance of TdDataAdatper class.
An instance of TdRowUpdatingEventArgs class.
Delegate that will handle the TdDataAdapter.RowUpdating event.
Syntax
'Declaration
 
Public Delegate Sub TdRowUpdatingEventHandler( _
   ByVal sender As Object, _
   ByVal e As TdRowUpdatingEventArgs _
) 
'Usage
 
Dim instance As New TdRowUpdatingEventHandler(AddressOf HandlerMethod)
public delegate void TdRowUpdatingEventHandler( 
   object sender,
   TdRowUpdatingEventArgs e
)
public delegate void TdRowUpdatingEventHandler( 
   Object^ sender,
   TdRowUpdatingEventArgs^ e
)

Parameters

sender
The source of the event. In this case an instance of TdDataAdatper class.
e
An instance of TdRowUpdatingEventArgs class.
Remarks

RowUpdating event is raised before the changes to a DataRow are applied to the Advanced SQL Engine. Therefore you can affect the current DataRow update in addition to the reconciliation of the remaining DataRows

Command, Errors or Status properties of the e parameter can be updated which in turn affects the reconciliation. For example e.Status can be set to System.Data.UpdateStatus.SkipCurrentRow which results in current row not being updated.

If TdDataAdapter.ContinueUpdateOnError is set to true, then any updates to e.Errors and or e.Status are applied to the DataRow and the TdDataAdapter.Update operation continues. However, if TdDataAdapter.ContinueUpdateOnError is set to false, TdDataAdapter.Update generates an exception and the remaining DataRows are not reconciled back to the Advanced SQL Engine.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdRowUpdatingEventHandler Members
Teradata.Client.Provider Namespace