Try Playground
Show / Hide Table of Contents

Class OracleCacheDependency

Establishes a relationship between an item stored in an application's cache object and either a row in a specific Oracle database table or the results of an Oracle query. This class cannot be inherited.

Inheritance
System.Object
CacheDependency
OracleCacheDependency
Inherited Members
CacheDependency.sizeInBytes
CacheDependency.DEPENDENCY_TYPE_OVERHEAD
CacheDependency.DEPENDENCY_COUNT_OVERHEAD
CacheDependency.AddDependencies(CacheDependency[])
CacheDependency.Dependencies
CacheDependency.Dispose()
CacheDependency.DependencyDispose()
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Obsolete("This API is deprecated and will be removed in a future release. This feature is being retired and will not be continued in future versions.", false)]
public sealed class OracleCacheDependency : CacheDependency, IDisposable, IBinaryProtocolSerializable
Remarks

You can add items with dependencies to your application's cache with the Add, Insert or AddDependency methods.

When you add an item to an application's cache object with OracleCacheDependency, on all ODP.NET supported versions of Oracle database, it monitors a row in a specific Oracle database table so that when that row changes, items associated with the row will be automatically removed from the cache.
This helps you to avoid losing changes made to the object between the time it is created and the time it is inserted into the cache. OracleCacheDependency class supports the association of cached items with an Oracle query.

Constructors

Name Description
OracleCacheDependency(String, String)

Initializes a new instance of the OracleCacheDependency class, using the supplied connection string and query string.

OracleCacheDependency(String, String, OracleCommandType, Dictionary<String, OracleCmdParams>)

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

Properties

Name Description
CommandParams

Describes the type of the parameters passed to the Oracle command.

CommandText

CommandText to be used by the dependency.

CommandType

Describes the type of the Oracle command passed to the OracleDependency.

ConnectionString

Connection String that is required by the cache in order to connect with database.

In This Article
  • Constructors
  • Properties

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
� Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top