EF6 don't use pre-generated views
问题 I've pregenerated views using this instruction: http://msdn.microsoft.com/en-us/library/vstudio/bb896240(v=vs.100).aspx and already have Model.Views.cs file in my project with my context and all entities. The problem is that these views are not used at run-time. ViewsForBaseEntitySets2F2... class never gets initialized and performance is still poor. How to force EF to use pre-generated views? If it must use it by default (looking for EntityViewGenerationAttribute on assembly) then what I have