示例#1
0
 internal OracleDependencyListener(string key, string connString, string queryString,
                                   IDBConnectionPool connectionPool, IDependencyChangeListener dependencyListener, ILogger logger,
                                   ExpirationHintType hintType, CommandType cmdType, IDictionary cmdParams)
     : base(key, connString, queryString, connectionPool, dependencyListener, logger, hintType)
 {
     _cmdParams = cmdParams;
     _cmdType   = cmdType;
 }
示例#2
0
 /// <summary>
 /// Initialize instance of dependency listener
 /// </summary>
 /// <param name="key">key used to reference object</param>
 /// <param name="connString">connection string used to connect database</param>
 /// <param name="queryString">query string for which dataset is created to be monitored</param>
 /// <param name="context">current cache runtime context</param>
 /// <param name="hintType">expiration hint type</param>
 protected DependencyListener(string key, string connString, string queryString, IDBConnectionPool connectionPool, IDependencyChangeListener dependencyListener, ILogger logger, ExpirationHintType hintType)
 {
     _cacheKey           = key;
     _connString         = connString;
     _queryString        = queryString;
     _hintType           = hintType;
     _ncacheLog          = logger;
     _connectionPool     = connectionPool;
     _dependencyListener = dependencyListener;
 }
示例#3
0
        public DependencyListener Create(string key, string connString, string queryString,
                                         IDBConnectionPool connectionPool, IDependencyChangeListener dependencyListener,
                                         Alachisoft.NCache.Common.Logger.ILogger logger, ExpirationHintType hintType,
                                         System.Data.CommandType cmdType, System.Collections.IDictionary cmdParams)
        {
#if !NET20
            return(new OracleDependencyListener(key, connString, queryString, connectionPool, dependencyListener,
                                                logger, hintType, cmdType, cmdParams));
#else
            return(null);
#endif
        }
示例#4
0
 /// <summary>
 /// Initialize instance of oracle dependency listener
 /// </summary>
 /// <param name="key">key used to reference object</param>
 /// <param name="connString">connection string used to connect database</param>
 /// <param name="queryString">query string for which dataset is created to be monitored</param>
 /// <param name="context">current cache runtime context</param>
 /// <param name="hintType">expiration hint type</param>
 internal OracleDependencyListener(string key, string connString, string queryString,
                                   IDBConnectionPool connectionPool, IDependencyChangeListener dependencyListener, ILogger logger,
                                   ExpirationHintType hintType)
     : base(key, connString, queryString, connectionPool, dependencyListener, logger, hintType)
 {
 }