I\'m using a third party library which returns a data reader. I would like a simple way and as generic as possible to convert it into a List of objects. For example, say
The simplest Solution :
var dt=new DataTable(); dt.Load(myDataReader); list dr=dt.AsEnumerable().ToList();
Then select them in order to map them to any type.