Try Playground
Show / Hide Table of Contents

Method CreateSqlCacheDependency

CreateSqlCacheDependency(String, String)

Creates a new instance of Sql7CacheDependency class, using the supplied parameters.

Declaration
public static DBCacheDependency CreateSqlCacheDependency(string connectionString, string dbCacheKey)
Parameters
Type Name Description
System.String connectionString

The connection string for establishing a connection with the database server where the database containing above mentioned table exists.

System.String dbCacheKey

The primary key of the record. Many dependency objects can be created based on the same primary key. When the record with this primary key is modified in the database, the associated item(s) in the cache expire(s).

Returns
Type Description
DBCacheDependency

A SqlCacheDependency object based on the supplied parameters.

Remarks

This static method is used to create Sql7CacheDependency objects for SQL Server 7 and SQL Server 2000 products.

You need to enable notification for both the table and the database containing the table before you can use this DBCacheDependency in your application.

In This Article
  • CreateSqlCacheDependency(String, String)

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