Class NCacheConfiguration
This class is used to configure NCache for caching Entity Framework query result sets.
Inheritance
Assembly: Alachisoft.NCache.EntityFrameworkCore.dll
Syntax
public class NCacheConfiguration : object
Properties
Name | Description |
---|---|
Bulk |
Specifies the chunk size for bulk item insertion. The default chunk size is 1000. |
Cache |
Specifies the cache name in which your result sets will be stored. |
Database |
This option specifies which database dependency should be created. |
Init |
Used to initialize NCache and override the default NCache parameters. |
Is |
This flag specifies whether provider has been configured or not. |
Is |
This flag specifies whether the exception will be thrown or not. True value corresponds to throw the exception and False corresponds to otherwise. |
Methods
Name | Description |
---|---|
Configure(String, Dependency |
Configures NCache for caching Entity Framework query result sets. |
Configure(String, Dependency |
Configures NCache for caching Entity Framework query result sets. |
Configure |
Configures logging for Entity Framework Core provider. By default, the logs are created in NCache's log directory unless specified. |
Is |
Determine whether any of the configured loggers are currently recording log messages at the specified log levels or not. |