Class MySqlRowUpdatingEventArgs
Provides data for the RowUpdating event. This class cannot be inherited.
Inheritance
System.Object
System.EventArgs
System.Data.Common.RowUpdatingEventArgs
MySqlRowUpdatingEventArgs
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.1.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 |
---|---|---|
System.Data.DataRow | row | The System.Data.DataRow to System.Data.Common.DbDataAdapter.Update(System.Data.DataSet). |
System.Data.IDbCommand | command | The System.Data.IDbCommand to execute during System.Data.Common.DbDataAdapter.Update(System.Data.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 System.Data.Common.DbDataAdapter.Update(System.Data.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 |