Can I use the Entity Framework Model to allow me to create a list off of an existing table (entity)? If so I just can't figure out how to do that?
So for instance if I have a table in my DB called Order and that has been added to Entity Framework can I use the Entity Framework model to generate a List of Objects?
using SQL Server 2008 R2 and Visual Studio 2010
var orderContext = new OrderEntities();
var order = orderContext.Order;
List<order> ordersList = new List<order>();
That would be cool if I could.
Thanks,
S