Send feedback on this topic.
Teradata.Client.Provider
TdRowUpdatingEventArgs Constructor



Teradata.Client.Provider Namespace > TdRowUpdatingEventArgs Class : TdRowUpdatingEventArgs Constructor
A System.Data.DataRow that is targeted for an update via a call to TdDataAdapter.Update.
A command executed to reconcile DataRow changes back to Teradata database.
Specifies the SQL statement type (e.g. UPDATE, INSERT or DELETE).
Shows how DataRow columns are mapped to Teradata database columns.
Initialize a new instance of the TdRowUpdatingEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataRow As DataRow, _
   ByVal command As TdCommand, _
   ByVal statementType As StatementType, _
   ByVal tableMapping As DataTableMapping _
)
'Usage
 
Dim dataRow As DataRow
Dim command As TdCommand
Dim statementType As StatementType
Dim tableMapping As DataTableMapping
 
Dim instance As New TdRowUpdatingEventArgs(dataRow, command, statementType, tableMapping)
public TdRowUpdatingEventArgs( 
   DataRow dataRow,
   TdCommand command,
   StatementType statementType,
   DataTableMapping tableMapping
)
public:
TdRowUpdatingEventArgs( 
   DataRow^ dataRow,
   TdCommand^ command,
   StatementType statementType,
   DataTableMapping^ tableMapping
)

Parameters

dataRow
A System.Data.DataRow that is targeted for an update via a call to TdDataAdapter.Update.
command
A command executed to reconcile DataRow changes back to Teradata database.
statementType
Specifies the SQL statement type (e.g. UPDATE, INSERT or DELETE).
tableMapping
Shows how DataRow columns are mapped to Teradata database columns.
Remarks
The command parameter is defined as an instance of IDbCommand interface. But please note that the Command property returns a TdCommand object. This simply means that command parameter object should be a TdCommand instance which also supports IDbCommand interface.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdRowUpdatingEventArgs Class
TdRowUpdatingEventArgs Members