The event handler receives an argument of type MySqlTableChangeEventArgs containing data related to this event. The following MySqlTableChangeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Command | Gets MySqlCommand object associated with the table that was modified on the server. |
Reason | Gets the string that identifies why the table is considered to have changes. |
TableName | Gets name of the table that was modified on the server. |
Keep in mind that this event is fired not when the tables are actually modified, but when MySqlDependency checks for modifications.
The event invokes a OnChangeEventHandler with an argument of type MySqlTableChangeEventArgs.