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

Cached Property (OracleCommand)
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
 

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.
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