• Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Try NCache
  • Contact Us
Try NCache
Show / Hide Table of Contents

Method Configure

Configure(String, DependencyType, Boolean, Int32)

Configures NCache for caching Entity Framework query result sets.

Declaration
public static void Configure(string cacheId, DependencyType databaseType, bool errorEnabled = false, int bulkInsertChunkSize = 1000)
Parameters
Type Name Description
System.String cacheId

Cache Id that will be used to store result sets.

Alachisoft.NCache.EntityFrameworkCore.DependencyType databaseType

Database type that will be used when creating database dependencies.

System.Boolean errorEnabled

Specifies if exceptions should be thrown for FromCache and LoadIntoCache queries.

System.Int32 bulkInsertChunkSize

Specifies the chunk size for bulk insertion.

Configure(String, DependencyType, CacheConnectionOptions, Boolean, Int32)

Configures NCache for caching Entity Framework query result sets.

Declaration
public static void Configure(string cacheId, DependencyType databaseType, CacheConnectionOptions initParams, bool errorEnabled = false, int bulkInsertChunkSize = 1000)
Parameters
Type Name Description
System.String cacheId

Cache Id that will be used to store result sets.

Alachisoft.NCache.EntityFrameworkCore.DependencyType databaseType

Database type that will be used when creating database dependencies.

CacheConnectionOptions initParams

Additional parameters used to initialize NCache.

System.Boolean errorEnabled

Specifies if exceptions should be thrown for FromCache and LoadIntoCache queries.

System.Int32 bulkInsertChunkSize

Specifies the chunk size for bulk insertion.

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Try NCache
Pricing
NCache Playground

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

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Terms of Use
  •  
  • Privacy Policy
  •  
  • Cookie Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
  • Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS