I have read some articles that state that IEnumerable used to mimic stored procedures or restrict your database. Lost lazy loading ability on the external provider.
Where as IQueryable to give developers more flexibility. Lazy loading is there.
In terms of performance, both consume a significant amount of performance .. so which one is more preferable?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…