'Declaration Public Event OnChange As OnChangeEventHandler |
public event OnChangeEventHandler OnChange |
Event Data
The event handler receives an argument of type PgSqlTableChangeEventArgs containing data related to this event. The following PgSqlTableChangeEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Command | Gets PgSqlCommand object associated with the table that was modified on the server. |
| Info | Returns the string that was passed to the NOTIFY command in a trigger as a second parameter. |
| TableName | Gets name of the table that was modified on the server. |
Remarks
Keep in mind that this event is fired not when the tables are actually modified, but when PgSqlDependency checks for modifications.
The event invokes a OnChangeEventHandler with an argument of type PgSqlTableChangeEventArgs.
See Also