Changing view generation to use reflection and dynamic types to avoid problems caused by two EF.dll assemblies in the same AppDomain loaded using different loading contexts.
Fixing a bug where view would not be generated if the context was not directly derived from the DbContext type.