Can EF automatically (without Includes) load the whole graph if it doesn't have cycles?
            Asked
            
        
        
            Active
            
        
            Viewed 79 times
        
    1
            
            
        - 
                    What's the objection to includes? – Oded Dec 03 '12 at 15:43
 - 
                    Need to write it manually for each entity....or...we can generate the queries with T4...Hum, I'll think about this. – Pavel Voronin Dec 03 '12 at 15:51
 - 
                    checkout http://stackoverflow.com/questions/6042023/entity-framework-4-1-default-eager-loading and http://msdn.microsoft.com/en-US/data/jj574232, as stated by others, there is no way to achieve it. – Jahan Zinedine Dec 03 '12 at 18:20
 
1 Answers
0
            No way to achieve this, either explicitly specify the data to be loaded using Include or allow Lazy Loading to load related entities on demand. 
        Judo
        
- 5,167
 - 3
 - 24
 - 34