csharp entity framework get all records from table
Code Example - csharp entity framework get all records from table
DBContext context = new DBContext();
List<MyTableObject> list = context.[tablename].ToList();