HistoryContext.CacheKey Property
Gets the key used to locate a model that was previously built for this context. This is used to avoid processing OnModelCreating and calculating the model every time a new context instance is created. By default this property returns the default schema. In most cases you will not need to override this property. However, if your implementation of OnModelCreating contains conditional logic that results in a different model being built for the same database provider and default schema you should override this property and calculate an appropriate key.
Assembly: EntityFramework (in EntityFramework.dll)