• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Class EFReadThruProviderBase

Inheritance
System.Object
EFReadThruProviderBase
EfResyncProvider
Assembly: Alachisoft.Integrations.EntityFramework.CachingProvider.dll
Syntax
public abstract class EFReadThruProviderBase : IReadThruProvider

Properties

Name Description
AppId

A unique identifier for app-config tag in efcaching.ncconf file. Through this, the provider will read the required configuration on the basis of the ID given.

CacheName

Name of Cache.

Config
DirPath
FileName

Name of File for saving logs.

FilePath

Path of File for saving logs.

LoggingLevel

Determines the log level for the provider.

Methods

Name Description
Dispose()

Releases the resources used by the DbConnection.

GetDbConnetion(IDictionary, String)

Establishes a connection with Database.

Init(IDictionary, String)

Perform tasks like allocating resources or acquiring connections etc.

LoadDataTypeFromSource(String, DistributedDataType)
LoadFromSource(ICollection<String>)

Responsible for loading array of objects from the data source.

LoadFromSource(String)

Responsible for loading the object from the data source.

SetCachingOption(String, ProviderCacheItem)

Sets Caching Options like expiration, Dependency, ResynOption.

Back to top Copyright © 2017 Alachisoft