dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleCommand Class / Cached Property

In This Topic
    Cached Property (OracleCommand)
    In This Topic
    Gets or sets a value indicating whether Oracle resources assosiated with the current statement will be cached inside a session.
    Syntax
    'Declaration
     
    Public Property Cached As Boolean
    public bool Cached {get; set;}

    Property Value

    true if the statement is cached; otherwise, false. Default value is true.
    Remarks
    OCI statement cache is enabled when you set Statement Cache Size in Connection String to a positive value. Set Statement Cache Size to 0 (default) if you don't want the statements to be cached.
    See Also