dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDependency Class / OracleDependency Constructor / OracleDependency Constructor(OracleCommand)
An OracleCommand object to bind.

In This Topic
    OracleDependency Constructor(OracleCommand)
    In This Topic
    Initializes a new instance of the OracleDependency class and binds an OracleCommand object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal cmd As OracleCommand _
    )
    public OracleDependency( 
       OracleCommand cmd
    )

    Parameters

    cmd
    An OracleCommand object to bind.
    Remarks

    The OracleDependency registers the notification for the attached OracleCommand object when either of its Execute methods is invoked.

    This constructor uses the default values for OracleNotificationRequest properties. The OracleNotificationRequest.IsNotifiedOnce is set to true, OracleNotificationRequest.IsPersistent is set to false, and OracleNotificationRequest.Timeout is set to 50000 seconds. In other words, this overload creates a one-time notification request that is valid for approximately 14 hours.

    See Also