dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlDependency Class / AddCommandDependency Method
A PgSqlCommand object containing a statement that is valid for notifications.

In This Topic
    AddCommandDependency Method
    In This Topic
    Associates a PgSqlCommand object with this PgSqlDependency instance.
    Syntax
    'Declaration
     
    Public Sub AddCommandDependency( _
       ByVal command As PgSqlCommand _
    ) 
    public void AddCommandDependency( 
       PgSqlCommand command
    )

    Parameters

    command
    A PgSqlCommand object containing a statement that is valid for notifications.
    Remarks
    You can attach more than one PgSqlCommand object to PgSqlDependency.
    See Also