Constructor OracleCacheDependency
OracleCacheDependency(String, String)
Initializes a new instance of the OracleCacheDependency class, using the supplied connection string and query string.
Declaration
public OracleCacheDependency(string connectionString, string cmdText)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | Connection string to be used by dependency. |
System.String | cmdText | Query text used to set dependency. |
Remarks
This constructor is used to create OracleCacheDependency objects that use the query-notification feature of Oracle products. For successful notification registration, RowID must be included in query.
OracleCacheDependency(String, String, OracleCommandType, Dictionary<String, OracleCmdParams>)
Initializes a new instance of the OracleCacheDependency class. It supports the use of stored procedures.
Declaration
public OracleCacheDependency(string connectionString, string cmdText, OracleCommandType cmdType, Dictionary<string, OracleCmdParams> cmdParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | Connection string to be used by dependency. |
System.String | cmdText | Query text used to set dependency. |
OracleCommandType | cmdType | The type of the command. (Text/StoredProcedure) |
System.Collections.Generic.Dictionary<System.String, OracleCmdParams> | cmdParams | Parameters to be passed to the command. |
Remarks
This constructor is used to create OracleCacheDependency objects that use the query-notification feature of Oracle products. For successful notification registration, RowID must be included in query.