dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlDependency Class / HasChanges Property

HasChanges Property
Gets a value that indicates whether one of the tables associated with the dependency has changed.
Syntax
'Declaration
 
Public ReadOnly Property HasChanges As Boolean
 

Property Value

true if there were changes in the tables since the listening has started.
Remarks

If you are not using the OnChange event, you can check the HasChanges property to determine if the query results have changed.

Note that once the value of this property is set to true, it remains true forever. In other words, to continue tracking for changes you have to use the OnChange event or create another instance of the PgSqlDependency class.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also