Export (0) Print
Expand All

DbDataAdapter.CreateRowUpdatedEvent Method

Initializes a new instance of the RowUpdatedEventArgs class.

[Visual Basic]
Protected MustOverride Function CreateRowUpdatedEvent( _
   ByVal dataRow As DataRow, _
   ByVal command As IDbCommand, _
   ByVal statementType As StatementType, _
   ByVal tableMapping As DataTableMapping _
) As RowUpdatedEventArgs
[C#]
protected abstract RowUpdatedEventArgs CreateRowUpdatedEvent(
 DataRow dataRow,
 IDbCommand command,
 StatementType statementType,
 DataTableMapping tableMapping
);
[C++]
protected: virtual RowUpdatedEventArgs* CreateRowUpdatedEvent(
 DataRow* dataRow,
 IDbCommand* command,
 StatementType statementType,
 DataTableMapping* tableMapping
) = 0;
[JScript]
protected abstract function CreateRowUpdatedEvent(
   dataRow : DataRow,
 command : IDbCommand,
 statementType : StatementType,
 tableMapping : DataTableMapping
) : RowUpdatedEventArgs;

Parameters

dataRow
The DataRow used to update the data source.
command
The IDbCommand executed during the Update.
statementType
Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.
tableMapping
A DataTableMapping object.

Return Value

A new instance of the RowUpdatedEventArgs class.

Remarks

Notes to Inheritors:  When overridding CreateRowUpdatedEvent in a derived class, be sure to call the base class's CreateRowUpdatedEvent method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DbDataAdapter Class | DbDataAdapter Members | System.Data.Common Namespace

Show:
© 2014 Microsoft