I’d like to know if Entity Framework System.Data.Entity.DbContext gets configured each time it’s instantiated.
Why I got this question?
For example, if you’re doing manual mappings overriding DbContext.OnModelCreating(...) method, it seems that this is going to be called each time a DbContext is instantiated.
Does Entity Framework perform some kind of configuration caching or whatever?
The configured model is cached.
See Code First: Inside DbContext Initialization for more info