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 | cmdText to be used by dependency. |
Remarks
This constructor is used to create OracleCacheDependency objects that use the query-notification feature of Oracle products.
Query must include the following:
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 | cmdText to be used by dependency. |
OracleCommandType | cmdType | The type of the command. (text/stored procedures) |
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.
Query must include the following: