Lazy Loading and Proxy Creation Enablement

Sep 3, 2015 at 1:57 PM
Edited Sep 3, 2015 at 2:00 PM
I notice that the Ef6 DataContext, by default, disables Lazy Loading and Proxy Creationg in the constructor:
Configuration.LazyLoadingEnabled = false;
Configuration.ProxyCreationEnabled = false;
I have implemented ASP.NET Identity 2 in my application Data Context and would like to enable Lazy Loading to help support custom entities in that framework. I have noticed that I have to enable both Lazy Loading and Proxy Creation to get the Lazy Loading feature to work.

From the URF perspective are there any downsides to re-enabling these properties (I think I understand the potential casting dangers from IEnumerable<> to IQueryable<>) is there anything else I would need to do?