IDbModelCacheKeyProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework