Class MySqlRowUpdatingEventArgs
Provides data for the RowUpdating event. This class cannot be inherited.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.0.0
Syntax
public sealed class MySqlRowUpdatingEventArgs : RowUpdatingEventArgs
Constructors
MySqlRowUpdatingEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping)
Initializes a new instance of the MySqlRowUpdatingEventArgs class.
Declaration
public MySqlRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
Parameters
Type | Name | Description |
---|---|---|
DataRow | row | The DataRow to Update(DataSet). |
IDbCommand | command | The IDbCommand to execute during Update(DataSet). |
System.Data.StatementType | statementType | One of the System.Data.StatementType values that specifies the type of query executed. |
System.Data.Common.DataTableMapping | tableMapping | The System.Data.Common.DataTableMapping sent through an Update(DataSet). |
Properties
Command
Gets or sets the MySqlCommand to execute when performing the Update.
Declaration
public MySqlCommand Command { get; set; }
Property Value
Type | Description |
---|---|
MySqlCommand |