Initializes a new instance of the OracleCacheDependency class. It supports the use of stored procedures.

Namespace: Alachisoft.NCache.Runtime.Dependencies
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.0.0)

Syntax

C#
public OracleCacheDependency(
	string connectionString,
	string cmdText,
	OracleCommandType cmdType,
	Dictionary<string, OracleCmdParams> cmdParams
)
Visual Basic
Public Sub New ( _
	connectionString As String, _
	cmdText As String, _
	cmdType As OracleCommandType, _
	cmdParams As Dictionary(Of String, OracleCmdParams) _
)
Visual C++
public:
OracleCacheDependency(
	String^ connectionString, 
	String^ cmdText, 
	OracleCommandType cmdType, 
	Dictionary<String^, OracleCmdParams^>^ cmdParams
)

Parameters

connectionString
Type: System..::..String
connection string to be used by dependency.
cmdText
Type: System..::..String
cmdText to be used by dependency.
cmdType
Type: Alachisoft.NCache.Runtime.Dependencies..::..OracleCommandType
The type of the command. (text/stored procedures)
cmdParams
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, OracleCmdParams>)>)>
Parameters to be passed to the command.

Return Value

A OracleCacheDependency object based on the supplied parameters.

Remarks

This constructor is used to create OracleCacheDependency objects that use the query-notification feature of Oracle products.

Query must include the following: Fully qualified table names, including the name of the table owner. For example, to refer to a table called "customers" that is owned by the database owner, the statement must refer to "dbo.customers".

See Also