IDbModelCacheKeyProvider Interface

Definition

Implement this interface on your context to use custom logic to calculate the key used to lookup an already created model in the cache. This interface allows you to have a single context type that can be used with different models in the same AppDomain, or multiple context types that use the same model.

public interface IDbModelCacheKeyProvider
type IDbModelCacheKeyProvider = interface
Public Interface IDbModelCacheKeyProvider
Derived

Properties

CacheKey

Gets the cached key associated with the provider.

Applies to