How to store data from database into arraylist with entity framework??
I want correct answer ... ENTITY FRAMEWORK ONLY!!!!
Thanks a lot for my viewing my post :-)
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Asp.Net HeinRank #6,010 · 279 reputationPosted May 11, 2015, 10:34 PM EDT
Pankil BhattRank #2,947 · 489 reputationPosted May 11, 2015, 10:32 PM EDT
Always use IEnumerable instead of arrays. Arrays already implement IEnumerable.
Whenever possible avoid nullable types. No selected item should be a NoSelectedItem special class, no items in a list should be an empty enumerable.
When getting data in your view model from a IQueryable result, call ToList() to force execution of the queries in your data layer.
Pankil BhattRank #2,947 · 489 reputationPosted May 11, 2015, 10:34 PM EDT