Reputation: 3945
using entity framework how do I obtain all the records in a table?
using (Entities db = new Entities())
{
IEnumerable<UploadedFile> allSalesUploaded = new List<UploadedFile>();
so instead of = new List, I am looking for all the records in the UploadedFile table? db.?context?
Upvotes: 0
Views: 9338