IDbModelCacheKeyProvider Interface

 

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.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public interface IDbModelCacheKeyProvider

NameDescription
System_CAPS_pubpropertyCacheKey

Gets the cached key associated with the provider.