// Entity Framework – Simple List using (var db = new BlogContext()) { var posts = db.Posts.ToList(); }